Class AppTokenProviderResult
- Namespace
- Microsoft.Identity.Client.Extensibility
- Assembly
- Microsoft.Identity.Client.dll
Token result from external app token provider
public class AppTokenProviderResult
- Inheritance
-
AppTokenProviderResult
- Inherited Members
Remarks
This is part of an extensibility mechanism designed to be used by Azure SDK in order to enhance managed identity support.
Constructors
AppTokenProviderResult()
public AppTokenProviderResult()
Properties
AccessToken
The actual token, usually in JWT format
public string AccessToken { get; set; }
Property Value
ExpiresInSeconds
Expiration of token
public long ExpiresInSeconds { get; set; }
Property Value
Remarks
Mandatory
RefreshInSeconds
When the token should be refreshed.
public long? RefreshInSeconds { get; set; }
Property Value
- long?
Remarks
If not set, MSAL will set it to half of the expiry time if that time is longer than 2 hours.