UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.SetAuthenticatorKeyAsync Méthode

Définition

Définit la clé d’authentificateur pour le spécifié user.

public:
 virtual System::Threading::Tasks::Task ^ SetAuthenticatorKeyAsync(TUser user, System::String ^ key, System::Threading::CancellationToken cancellationToken);
public virtual 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
override this.SetAuthenticatorKeyAsync : 'User * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetAuthenticatorKeyAsync (user As TUser, key As String, cancellationToken As CancellationToken) As Task

Paramètres

user
TUser

Utilisateur dont la clé d’authentificateur doit être définie.

key
String

Clé d’authentificateur à définir.

cancellationToken
CancellationToken

CancellationToken utilisé pour propager les notifications indiquant que l’opération doit être annulée.

Retours

Task qui représente l’opération asynchrone.

Implémente

S’applique à