-
Couldn't load subscription status.
- Fork 156
IAuthenticationResult
Santiago Gonzalez edited this page May 20, 2019
·
1 revision
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 expires accountenvironment-
scopesset of permissions which were requested
- Home
- Why use MSAL4J
- Register your app with AAD
- Scenarios
- Client Applications
- Acquiring tokens
- IAuthenticationResult
- Calling a protected API