com.microsoft.aad.msal4j.IAuthenticationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.mail.outlook.auth.connector.provider
Show all versions of com.liferay.mail.outlook.auth.connector.provider
Liferay Mail Outlook Auth Connector Provider
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.aad.msal4j;
import java.io.Serializable;
/**
* Interface representing the results of token acquisition operation.
*/
public interface IAuthenticationResult extends Serializable {
/**
* @return access token
*/
String accessToken();
/**
* @return id token
*/
String idToken();
/**
* @return user account
*/
IAccount account();
/**
* @return tenant profile
*/
ITenantProfile tenantProfile();
/**
* @return environment
*/
String environment();
/**
* @return granted scopes values returned by the service
*/
String scopes();
/**
* @return access token expiration date
*/
java.util.Date expiresOnDate();
}