Sdílet prostřednictvím


IUserAuthenticatorKeyStore<TUser>.SetAuthenticatorKeyAsync Metoda

Definice

Nastaví ověřovací klíč pro zadaný user.

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živatel, jehož ověřovací klíč by měl být nastaven.

key
String

Ověřovací klíč, který se má nastavit.

cancellationToken
CancellationToken

Slouží CancellationToken k šíření oznámení, že operace by měla být zrušena.

Návraty

Jedná se Task o asynchronní operaci.

Platí pro