IUserTwoFactorStore<TUser, TKey>.GetTwoFactorEnabledAsync Method (TUser)
Returns whether two factor authentication is enabled for the user.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
Task<bool> GetTwoFactorEnabledAsync(
TUser user
)
Task<bool>^ GetTwoFactorEnabledAsync(
TUser user
)
abstract GetTwoFactorEnabledAsync :
user:'TUser -> Task<bool>
Function GetTwoFactorEnabledAsync (
user As TUser
) As Task(Of Boolean)
Parameters
user
Type: TUserThe user to check.
Return Value
Type: System.Threading.Tasks.Task<Boolean>
The task object representing the asynchronous operation.
See Also
IUserTwoFactorStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top