Partager via


AccessTokenResult Constructeurs

Définition

Surcharges

AccessTokenResult(AccessTokenResultStatus, AccessToken, String)
Obsolète.

Initialise une nouvelle instance de AccessTokenResult.

AccessTokenResult(AccessTokenResultStatus, AccessToken, String, InteractiveRequestOptions)

Initialise une nouvelle instance de AccessTokenResult.

AccessTokenResult(AccessTokenResultStatus, AccessToken, String)

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

Attention

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

Initialise une nouvelle instance 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)

Paramètres

status
AccessTokenResultStatus

Status du résultat.

token
AccessToken

Au AccessToken cas où il a réussi.

redirectUrl
String

URI de redirection à atteindre pour l’approvisionnement du jeton.

Attributs

S’applique à

AccessTokenResult(AccessTokenResultStatus, AccessToken, String, InteractiveRequestOptions)

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

Initialise une nouvelle instance 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)

Paramètres

status
AccessTokenResultStatus

Status du résultat.

token
AccessToken

Au AccessToken cas où il a réussi.

interactiveRequestUrl
String

URI de redirection à atteindre pour l’approvisionnement du jeton avec NavigateToLogin(NavigationManager, String, InteractiveRequestOptions).

interactiveRequest
InteractiveRequestOptions

InteractiveRequestOptions contenant les paramètres de l’authentification interactive.

S’applique à