AuthenticationTokenExtensions.UpdateTokenValue Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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
- properties
- AuthenticationProperties
Aktualizace AuthenticationProperties .
- tokenName
- String
Název tokenu.
- tokenValue
- String
Hodnota tokenu.
Návraty
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
- properties
- AuthenticationProperties
- tokenName
- String
- tokenValue
- String