Share via


IUserAuthenticatorKeyStore<TUser>.GetAuthenticatorKeyAsync Méthode

Définition

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

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

Paramètres

user
TUser

Utilisateur dont l’empreinte de sécurité doit être définie.

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, contenant l’empreinte de sécurité pour le spécifiéuser.

S’applique à