Share via


MsalAccessToken Constructor

Definition

public MsalAccessToken (Azure.Core.TokenCredential tokenCredential, Azure.Core.TokenRequestContext tokenRequestContext, string token, DateTimeOffset expiresOn, string tenantId, string userId = default, string homeAccountId = default);
new Microsoft.Azure.PowerShell.Authenticators.MsalAccessToken : Azure.Core.TokenCredential * Azure.Core.TokenRequestContext * string * DateTimeOffset * string * string * string -> Microsoft.Azure.PowerShell.Authenticators.MsalAccessToken
Public Sub New (tokenCredential As TokenCredential, tokenRequestContext As TokenRequestContext, token As String, expiresOn As DateTimeOffset, tenantId As String, Optional userId As String = Nothing, Optional homeAccountId As String = Nothing)

Parameters

tokenCredential
TokenCredential
tokenRequestContext
TokenRequestContext
token
String
expiresOn
DateTimeOffset
tenantId
String
userId
String
homeAccountId
String

Applies to