UserManager<TUser>.ResetAuthenticatorKeyAsync(TUser) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resets the authenticator key for the user.
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)
Parameters
- user
- TUser
The user.
Returns
Whether the user was successfully updated.