Share via


AccessTokenResult Constructors

Definition

Overloads

AccessTokenResult(AccessTokenResultStatus, AccessToken, String)
Obsolete.

Initializes a new instance of AccessTokenResult.

AccessTokenResult(AccessTokenResultStatus, AccessToken, String, InteractiveRequestOptions)

Initializes a new instance of AccessTokenResult.

AccessTokenResult(AccessTokenResultStatus, AccessToken, String)

Source:
AccessTokenResult.cs
Source:
AccessTokenResult.cs
Source:
AccessTokenResult.cs
Source:
AccessTokenResult.cs
Source:
AccessTokenResult.cs
Source:
AccessTokenResult.cs

Caution

Use the AccessTokenResult(AccessTokenResultStatus, AccessToken, string, InteractiveRequestOptions)

Initializes a new instance of AccessTokenResult.

public:
 AccessTokenResult(Microsoft::AspNetCore::Components::WebAssembly::Authentication::AccessTokenResultStatus status, Microsoft::AspNetCore::Components::WebAssembly::Authentication::AccessToken ^ token, System::String ^ redirectUrl);
public AccessTokenResult (Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResultStatus status, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessToken token, string redirectUrl);
[System.Obsolete("Use the AccessTokenResult(AccessTokenResultStatus, AccessToken, string, InteractiveRequestOptions)")]
public AccessTokenResult (Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResultStatus status, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessToken token, string redirectUrl);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResult : Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResultStatus * Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessToken * string -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResult
[<System.Obsolete("Use the AccessTokenResult(AccessTokenResultStatus, AccessToken, string, InteractiveRequestOptions)")>]
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResult : Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResultStatus * Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessToken * string -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResult
Public Sub New (status As AccessTokenResultStatus, token As AccessToken, redirectUrl As String)

Parameters

status
AccessTokenResultStatus

The status of the result.

token
AccessToken

The AccessToken in case it was successful.

redirectUrl
String

The redirect uri to go to for provisioning the token.

Attributes

Applies to

AccessTokenResult(AccessTokenResultStatus, AccessToken, String, InteractiveRequestOptions)

Source:
AccessTokenResult.cs
Source:
AccessTokenResult.cs
Source:
AccessTokenResult.cs

Initializes a new instance of AccessTokenResult.

public AccessTokenResult (Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResultStatus status, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessToken token, string interactiveRequestUrl, Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions interactiveRequest);
public AccessTokenResult (Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResultStatus status, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessToken token, string? interactiveRequestUrl, Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions? interactiveRequest);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResult : Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResultStatus * Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessToken * string * Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccessTokenResult
Public Sub New (status As AccessTokenResultStatus, token As AccessToken, interactiveRequestUrl As String, interactiveRequest As InteractiveRequestOptions)

Parameters

status
AccessTokenResultStatus

The status of the result.

token
AccessToken

The AccessToken in case it was successful.

interactiveRequestUrl
String

The redirect uri to go to for provisioning the token with NavigateToLogin(NavigationManager, String, InteractiveRequestOptions).

interactiveRequest
InteractiveRequestOptions

The InteractiveRequestOptions containing the parameters for the interactive authentication.

Applies to