AuthenticationTokenExtensions.UpdateTokenValue Metoda

Definice

Přetížení

UpdateTokenValue(AuthenticationProperties, String, String)

Aktualizace hodnotu tokenu, pokud už existuje.

UpdateTokenValue(AuthenticationProperties, String, String)

UpdateTokenValue(AuthenticationProperties, String, String)

Aktualizace hodnotu tokenu, pokud už existuje.

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

Parametry

tokenName
String

Název tokenu.

tokenValue
String

Hodnota tokenu.

Návraty

Boolean

true pokud byl token aktualizován, jinak false.

Platí pro

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

Parametry

tokenName
String
tokenValue
String

Návraty

Boolean

Platí pro