AuthenticationTokenExtensions.UpdateTokenValue Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
UpdateTokenValue(AuthenticationProperties, String, String) |
Updates den Wert eines Tokens, falls bereits vorhanden. |
UpdateTokenValue(AuthenticationProperties, String, String) |
UpdateTokenValue(AuthenticationProperties, String, String)
- Quelle:
- TokenExtensions.cs
- Quelle:
- TokenExtensions.cs
Updates den Wert eines Tokens, falls bereits vorhanden.
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
Parameter
- properties
- AuthenticationProperties
Die zu aktualisierende AuthenticationProperties.
- tokenName
- String
Der Tokenname.
- tokenValue
- String
Der Tokenwert.
Gibt zurück
true
, wenn das Token aktualisiert wurde, andernfalls false
.
Gilt für:
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
Parameter
- properties
- AuthenticationProperties
- tokenName
- String
- tokenValue
- String
Gibt zurück
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für