AcquireTokenResult Constructor

Definition

Constructor.

public AcquireTokenResult (string accessToken, DateTimeOffset expiresOn, string tenantId, string idToken, System.Collections.Generic.IEnumerable<string> scopes, Guid correlationId, string tokenType);
new Microsoft.Identity.Abstractions.AcquireTokenResult : string * DateTimeOffset * string * string * seq<string> * Guid * string -> Microsoft.Identity.Abstractions.AcquireTokenResult
Public Sub New (accessToken As String, expiresOn As DateTimeOffset, tenantId As String, idToken As String, scopes As IEnumerable(Of String), correlationId As Guid, tokenType As String)

Parameters

accessToken
String

Access token.

expiresOn
DateTimeOffset

Expiration date/time.

tenantId
String

Tenant for which the token was acquired.

idToken
String

ID Token, in the case of a token for a user.

scopes
IEnumerable<String>

Scopes granted by the IdP.

correlationId
Guid

Correlation ID of the token acquisition.

tokenType
String

Token type of the access token (Bearer or Pop).

Applies to