UserManager<TUser>.GetAuthenticatorKeyAsync(TUser) 方法

定义

返回用户的验证器密钥。

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)

参数

user
TUser

用户。

返回

验证器密钥

适用于