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
Chcete-li AuthenticationProperties aktualizovat.
- 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
Návraty
Platí pro
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro