Condividi tramite


AuthenticationTokenExtensions.UpdateTokenValue Metodo

Definizione

Overload

UpdateTokenValue(AuthenticationProperties, String, String)

Aggiornamenti il valore di un token, se già presente.

UpdateTokenValue(AuthenticationProperties, String, String)

UpdateTokenValue(AuthenticationProperties, String, String)

Origine:
TokenExtensions.cs
Origine:
TokenExtensions.cs
Origine:
TokenExtensions.cs

Aggiornamenti il valore di un token, se già presente.

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

Parametri

properties
AuthenticationProperties

Oggetto AuthenticationProperties da aggiornare.

tokenName
String

Nome del token.

tokenValue
String

Valore del token.

Restituisce

true se il token è stato aggiornato; in caso contrario false, .

Si applica a

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

Parametri

tokenName
String
tokenValue
String

Restituisce

Si applica a