Udostępnij za pośrednictwem


IUserAuthenticatorKeyStore<TUser>.SetAuthenticatorKeyAsync Metoda

Definicja

Ustawia klucz wystawcy uwierzytelniającego dla określonego userelementu .

public:
 System::Threading::Tasks::Task ^ SetAuthenticatorKeyAsync(TUser user, System::String ^ key, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task SetAuthenticatorKeyAsync (TUser user, string key, System.Threading.CancellationToken cancellationToken);
abstract member SetAuthenticatorKeyAsync : 'User * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetAuthenticatorKeyAsync (user As TUser, key As String, cancellationToken As CancellationToken) As Task

Parametry

user
TUser

Użytkownik, którego klucz wystawcy uwierzytelniania powinien zostać ustawiony.

key
String

Klucz wystawcy uwierzytelniania do ustawienia.

cancellationToken
CancellationToken

Używane CancellationToken do propagowania powiadomień, które należy anulować operacji.

Zwraca

Element Task reprezentujący operację asynchroniczną.

Dotyczy