Sdílet prostřednictvím


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 má být nastaveno.

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 obsahující razítko zabezpečení pro zadanou user.

Platí pro