IUserAuthenticatorKeyStore<TUser>.GetAuthenticatorKeyAsync Metoda

Definice

Získejte ověřovací klíč pro zadaný 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)

Parametry

user
TUser

Uživatel, jehož bezpečnostní razítko by mělo být nastaveno.

cancellationToken
CancellationToken

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

Návraty

Task<String>

Představuje Task asynchronní operaci, která obsahuje bezpečnostní razítko pro zadaný user.

Platí pro