Compartir a través de


AuthenticationTokenExtensions.UpdateTokenValue Método

Definición

Sobrecargas

UpdateTokenValue(AuthenticationProperties, String, String)

Novedades el valor de un token si ya está presente.

UpdateTokenValue(AuthenticationProperties, String, String)

UpdateTokenValue(AuthenticationProperties, String, String)

Source:
TokenExtensions.cs
Source:
TokenExtensions.cs
Source:
TokenExtensions.cs

Novedades el valor de un token si ya está presente.

public:
[System::Runtime::CompilerServices::Extension]
 static bool UpdateTokenValue(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ tokenName, System::String ^ tokenValue);
public static bool UpdateTokenValue (this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName, string tokenValue);
static member UpdateTokenValue : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string * string -> bool
<Extension()>
Public Function UpdateTokenValue (properties As AuthenticationProperties, tokenName As String, tokenValue As String) As Boolean

Parámetros

properties
AuthenticationProperties

AuthenticationProperties que se va a actualizar.

tokenName
String

Nombre del token.

tokenValue
String

Valor del token.

Devoluciones

true si el token se actualizó; de lo contrario false, .

Se aplica a

UpdateTokenValue(AuthenticationProperties, String, String)

public:
[System::Runtime::CompilerServices::Extension]
 static bool UpdateTokenValue(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, System::String ^ tokenName, System::String ^ tokenValue);
public static bool UpdateTokenValue (this Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, string tokenName, string tokenValue);
static member UpdateTokenValue : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string * string -> bool
<Extension()>
Public Function UpdateTokenValue (properties As AuthenticationProperties, tokenName As String, tokenValue As String) As Boolean

Parámetros

tokenName
String
tokenValue
String

Devoluciones

Se aplica a