UserManager<TUser>.ResetAuthenticatorKeyAsync(TUser) 方法

定义

重置用户的验证器密钥。

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ ResetAuthenticatorKeyAsync(TUser user);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> ResetAuthenticatorKeyAsync (TUser user);
abstract member ResetAuthenticatorKeyAsync : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.ResetAuthenticatorKeyAsync : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Overridable Function ResetAuthenticatorKeyAsync (user As TUser) As Task(Of IdentityResult)

参数

user
TUser

用户。

返回

用户是否已成功更新。

适用于