MsalAccessToken Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an access token obtained from Entra ID using MSAL (Microsoft Authentication Library). Holds the access token, metadata about the user and tenant, and the context needed to renew the token.
public class MsalAccessToken : Microsoft.Azure.Commands.Common.Authentication.IAccessToken, Microsoft.Azure.Commands.Common.Authentication.IClaimsChallengeProcessor
type MsalAccessToken = class
interface IAccessToken
interface IExtensibleModel
interface IClaimsChallengeProcessor
Public Class MsalAccessToken
Implements IAccessToken, IClaimsChallengeProcessor
- Inheritance
-
MsalAccessToken
- Implements
Constructors
MsalAccessToken(TokenCredential, TokenRequestContext, String, DateTimeOffset, String, String, String) |
Properties
AccessToken | |
ExpiresOn | |
ExtendedProperties | |
HomeAccountId | |
LoginType | |
TenantId | |
UserId |
Methods
AuthorizeRequest(Action<String,String>) | |
OnClaimsChallenageAsync(HttpRequestMessage, String, CancellationToken) |
Receives a claims challenge from the server and processes it to obtain a new access token. Then updates the request with the new access token. |