AuthenticationTokenExtensions.UpdateTokenValue Methode

Definition

Überlädt

UpdateTokenValue(AuthenticationProperties, String, String)

Updates den Wert eines Tokens, falls bereits vorhanden.

UpdateTokenValue(AuthenticationProperties, String, String)

UpdateTokenValue(AuthenticationProperties, String, String)

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

tokenName
String
tokenValue
String

Gibt zurück

Gilt für: