Udostępnij za pośrednictwem


IUserAuthenticatorKeyStore<TUser>.GetAuthenticatorKeyAsync Metoda

Definicja

Pobierz klucz uwierzytelniania dla określonego userelementu .

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żytkownik, którego sygnatura zabezpieczeń powinna być ustawiona.

cancellationToken
CancellationToken

Używane CancellationToken do propagacji powiadomień, że operacja powinna zostać anulowana.

Zwraca

Element Task reprezentujący operację asynchroniczną zawierającą sygnaturę zabezpieczeń dla określonego userelementu .

Dotyczy