Aracılığıyla paylaş


AuthenticationTokenExtensions.UpdateTokenValue Yöntem

Tanım

Aşırı Yüklemeler

UpdateTokenValue(AuthenticationProperties, String, String)

Zaten varsa belirtecin değerini Güncelleştirmeler.

UpdateTokenValue(AuthenticationProperties, String, String)

UpdateTokenValue(AuthenticationProperties, String, String)

Kaynak:
TokenExtensions.cs
Kaynak:
TokenExtensions.cs
Kaynak:
TokenExtensions.cs

Zaten varsa belirtecin değerini Güncelleştirmeler.

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

Parametreler

properties
AuthenticationProperties

Güncelleştirilecek AuthenticationProperties .

tokenName
String

Belirteç adı.

tokenValue
String

Belirteç değeri.

Döndürülenler

true belirtecin güncelleştirilip güncelleştirilmediğini, aksi takdirde false.

Şunlara uygulanı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

Parametreler

tokenName
String
tokenValue
String

Döndürülenler

Şunlara uygulanır