IAuthenticationResult - AzureAD/microsoft-authentication-library-for-java GitHub Wiki
In all of the authentication flows, the methods to acquire tokens return a Future<IAuthenticationResult>.
The AuthenticationResult interface contains the following attributes:
accessTokenfor the Web API access. This is a string, usually a base64 encoded JWT but the client should never look inside the access token. The format isn't guaranteed to remain stable and it can be encrypted for the resource. People writing code depending on access token content on the client is one of the biggest sources of errors when client logic breaks.idTokena token representing the authentication of the user (this is a JWT)expiresOnDatetells the date/time when the token expiresaccountenvironmentscopesset of permissions which were requested