AuthenticationTokenExtensions.UpdateTokenValue Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
- properties
- AuthenticationProperties
- tokenName
- String
- tokenValue
- String
Döndürülenler
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin