Compartilhar via


AccessTokenResult Construtores

Definição

Sobrecargas

AccessTokenResult(AccessTokenResultStatus, AccessToken, String)
Obsoleto.

Inicializa uma nova instância de AccessTokenResult.

AccessTokenResult(AccessTokenResultStatus, AccessToken, String, InteractiveRequestOptions)

Inicializa uma nova instância de AccessTokenResult.

AccessTokenResult(AccessTokenResultStatus, AccessToken, String)

Origem:
AccessTokenResult.cs
Origem:
AccessTokenResult.cs
Origem:
AccessTokenResult.cs
Origem:
AccessTokenResult.cs
Origem:
AccessTokenResult.cs
Origem:
AccessTokenResult.cs

Cuidado

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

Inicializa uma nova instância de 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)

Parâmetros

status
AccessTokenResultStatus

O status do resultado.

token
AccessToken

O AccessToken caso de ter sido bem-sucedido.

redirectUrl
String

O URI de redirecionamento a ser usado para provisionar o token.

Atributos

Aplica-se a

AccessTokenResult(AccessTokenResultStatus, AccessToken, String, InteractiveRequestOptions)

Origem:
AccessTokenResult.cs
Origem:
AccessTokenResult.cs
Origem:
AccessTokenResult.cs

Inicializa uma nova instância de 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)

Parâmetros

status
AccessTokenResultStatus

O status do resultado.

token
AccessToken

O AccessToken caso de ter sido bem-sucedido.

interactiveRequestUrl
String

O URI de redirecionamento a ser usado para provisionar o token com NavigateToLogin(NavigationManager, String, InteractiveRequestOptions).

interactiveRequest
InteractiveRequestOptions

O InteractiveRequestOptions que contém os parâmetros para a autenticação interativa.

Aplica-se a