Share via


UserManager<TUser>.GetAuthenticatorKeyAsync(TUser) Method

Definition

Returns the authenticator key for the user.

public:
 virtual System::Threading::Tasks::Task<System::String ^> ^ GetAuthenticatorKeyAsync(TUser user);
public virtual System.Threading.Tasks.Task<string> GetAuthenticatorKeyAsync (TUser user);
public virtual System.Threading.Tasks.Task<string?> GetAuthenticatorKeyAsync (TUser user);
abstract member GetAuthenticatorKeyAsync : 'User -> System.Threading.Tasks.Task<string>
override this.GetAuthenticatorKeyAsync : 'User -> System.Threading.Tasks.Task<string>
Public Overridable Function GetAuthenticatorKeyAsync (user As TUser) As Task(Of String)

Parameters

user
TUser

The user.

Returns

The authenticator key

Applies to