AuthenticationTokenExtensions.GetTokenValue Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
GetTokenValue(AuthenticationProperties, String) |
Devuelve el valor de un token. |
GetTokenValue(AuthenticationProperties, String) |
GetTokenValue(AuthenticationProperties, String)
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
Devuelve el valor de 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
Parámetros
- properties
- AuthenticationProperties
Propiedades AuthenticationProperties .
- tokenName
- String
Nombre del token.
Devoluciones
Valor del token.
Se aplica 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
- properties
- AuthenticationProperties
- tokenName
- String