UserManager<TUser>.ResetAuthenticatorKeyAsync(TUser) UserManager<TUser>.ResetAuthenticatorKeyAsync(TUser) UserManager<TUser>.ResetAuthenticatorKeyAsync(TUser) Method

Definition

Resets the authenticator key for the 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)

Parameters

user
TUser TUser TUser

The user.

Returns

Whether the user was successfully updated.

Applies to