Compartir a través de


AccessTokenResult Constructores

Definición

Sobrecargas

AccessTokenResult(AccessTokenResultStatus, AccessToken, String)
Obsoletos.

Inicializa una nueva instancia de la clase AccessTokenResult.

AccessTokenResult(AccessTokenResultStatus, AccessToken, String, InteractiveRequestOptions)

Inicializa una nueva instancia de la clase AccessTokenResult.

AccessTokenResult(AccessTokenResultStatus, AccessToken, String)

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

Precaución

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

Inicializa una nueva instancia de la clase 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

Estado del resultado.

token
AccessToken

En AccessToken caso de que se haya realizado correctamente.

redirectUrl
String

Identificador URI de redireccionamiento al que se va a aprovisionar el token.

Atributos

Se aplica a

AccessTokenResult(AccessTokenResultStatus, AccessToken, String, InteractiveRequestOptions)

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

Inicializa una nueva instancia de la clase 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

Estado del resultado.

token
AccessToken

En AccessToken caso de que se haya realizado correctamente.

interactiveRequestUrl
String

Identificador URI de redireccionamiento al que se va a aprovisionar el token con NavigateToLogin(NavigationManager, String, InteractiveRequestOptions).

interactiveRequest
InteractiveRequestOptions

InteractiveRequestOptions que contiene los parámetros de la autenticación interactiva.

Se aplica a