Partilhar via


AuthenticationTokenExtensions.GetTokenValue Método

Definição

Sobrecargas

GetTokenValue(AuthenticationProperties, String)

Retorna o valor de um token.

GetTokenValue(AuthenticationProperties, String)

GetTokenValue(AuthenticationProperties, String)

Origem:
TokenExtensions.cs
Origem:
TokenExtensions.cs
Origem:
TokenExtensions.cs

Retorna o valor de um 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

Parâmetros

tokenName
String

O nome do token.

Retornos

O valor do token.

Aplica-se 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

Parâmetros

tokenName
String

Retornos

Aplica-se a