AuthenticationTokenExtensions.UpdateTokenValue Metoda

Definicja

Przeciążenia

UpdateTokenValue(AuthenticationProperties, String, String)

Aktualizacje wartość tokenu, jeśli już istnieje.

UpdateTokenValue(AuthenticationProperties, String, String)

UpdateTokenValue(AuthenticationProperties, String, String)

Źródło:
TokenExtensions.cs
Źródło:
TokenExtensions.cs

Aktualizacje wartość tokenu, jeśli już istnieje.

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

Element AuthenticationProperties do aktualizacji.

tokenName
String

Nazwa tokenu.

tokenValue
String

Wartość tokenu.

Zwraca

true jeśli token został zaktualizowany, w przeciwnym razie false.

Dotyczy

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

Zwraca

Dotyczy