AuthenticationTokenExtensions.GetTokenValue Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
GetTokenValue(AuthenticationProperties, String) |
Retourne la valeur d’un jeton. |
GetTokenValue(AuthenticationProperties, String) |
GetTokenValue(AuthenticationProperties, String)
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
Retourne la valeur d’un jeton.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ GetTokenValue(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ tokenName);
public static string GetTokenValue (this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName);
public static string? GetTokenValue (this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName);
static member GetTokenValue : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string -> string
<Extension()>
Public Function GetTokenValue (properties As AuthenticationProperties, tokenName As String) As String
Paramètres
- properties
- AuthenticationProperties
Propriétés AuthenticationProperties .
- tokenName
- String
Nom du jeton.
Retours
Valeur du jeton.
S’applique à
GetTokenValue(AuthenticationProperties, String)
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ GetTokenValue(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, System::String ^ tokenName);
public static string GetTokenValue (this Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, string tokenName);
static member GetTokenValue : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string -> string
<Extension()>
Public Function GetTokenValue (properties As AuthenticationProperties, tokenName As String) As String
Paramètres
- properties
- AuthenticationProperties
- tokenName
- String