IUserAuthenticatorKeyStore<TUser>.SetAuthenticatorKeyAsync Method

Definition

Sets the authenticator key for the specified user.

public:
 System::Threading::Tasks::Task ^ SetAuthenticatorKeyAsync(TUser user, System::String ^ key, System::Threading::CancellationToken cancellationToken);
public 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
Public Function SetAuthenticatorKeyAsync (user As TUser, key As String, cancellationToken As CancellationToken) As Task

Parameters

user
TUser

The user whose authenticator key should be set.

key
String

The authenticator key to set.

cancellationToken
CancellationToken

The CancellationToken used to propagate notifications that the operation should be canceled.

Returns

The Task that represents the asynchronous operation.

Applies to