共用方式為


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

使用者。

傳回

使用者是否已成功更新。

適用於