Condividi tramite


AuthenticationTokenExtensions.GetTokenValue Metodo

Definizione

Overload

GetTokenValue(AuthenticationProperties, String)

Restituisce il valore di un token.

GetTokenValue(AuthenticationProperties, String)

GetTokenValue(AuthenticationProperties, String)

Origine:
TokenExtensions.cs
Origine:
TokenExtensions.cs

Restituisce il valore di un token.

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

Parametri

tokenName
String

Nome del token.

Restituisce

Valore del token.

Si applica a

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

Parametri

tokenName
String

Restituisce

Si applica a