SignInManager<TUser>.IsTwoFactorEnabledAsync(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.
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.