AuthenticationResult Class
Definition
Contains the results of one token acquisition operation.
[System.Runtime.Serialization.DataContract]
public sealed class AuthenticationResult
type AuthenticationResult = class
Public NotInheritable Class AuthenticationResult
- Inheritance
-
AuthenticationResult
- Attributes
Properties
AccessToken |
Gets the Access Token requested. |
AccessTokenType |
Gets the type of the Access Token returned. |
Authority |
Gets the authority that has issued the token. |
ExpiresOn |
Gets the point in time in which the Access Token returned in the AccessToken property ceases to be valid. This value is calculated based on current UTC time measured locally and the value expiresIn received from the service. |
ExtendedLifeTimeToken |
Gives information to the developer whether token returned is during normal or extended lifetime. |
IdToken |
Gets the entire Id Token if returned by the service or null if no Id Token is returned. |
TenantId |
Gets an identifier for the tenant the token was acquired from. This property will be null if tenant information is not returned by the service. |
UserInfo |
Gets user information including user Id. Some elements in UserInfo might be null if not returned by the service. |
Methods
CreateAuthorizationHeader() |
Creates authorization header from authentication result. |