Share via


AccessTokenResult Class

Definition

Represents the result of trying to provision an access token.

public ref class AccessTokenResult
public class AccessTokenResult
type AccessTokenResult = class
Public Class AccessTokenResult
Inheritance
AccessTokenResult

Constructors

AccessTokenResult(AccessTokenResultStatus, AccessToken, String, InteractiveRequestOptions)

Initializes a new instance of AccessTokenResult.

AccessTokenResult(AccessTokenResultStatus, AccessToken, String)
Obsolete.

Initializes a new instance of AccessTokenResult.

Properties

InteractionOptions

Gets the InteractiveRequestOptions to use if Status is RequiresRedirect.

InteractiveRequestUrl

Gets the URL to call NavigateToLogin(NavigationManager, String, InteractiveRequestOptions) if Status is RequiresRedirect.

RedirectUrl
Obsolete.

Gets the URL to redirect to if Status is RequiresRedirect.

Status

Gets the status of the current operation. See AccessTokenResultStatus for a list of statuses.

Methods

TryGetToken(AccessToken)

Determines whether the token request was successful and makes the AccessToken available for use when it is.

Applies to