MsalAccessToken Constructor
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.
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