Share via


SignInManager<TUser>.IsTwoFactorEnabledAsync(TUser) Method

Definition

Check if the user has two factor enabled.

public virtual System.Threading.Tasks.Task<bool> IsTwoFactorEnabledAsync (TUser user);
abstract member IsTwoFactorEnabledAsync : 'User -> System.Threading.Tasks.Task<bool>
override this.IsTwoFactorEnabledAsync : 'User -> System.Threading.Tasks.Task<bool>
Public Overridable Function IsTwoFactorEnabledAsync (user As TUser) As Task(Of Boolean)

Parameters

user
TUser

Returns

The task object representing the asynchronous operation containing true if the user has two factor enabled.

Applies to