IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>.TwoFactorEnabled Property

Definition

Gets or sets a flag indicating if two factor authentication is enabled for this user.

public:
 virtual property bool TwoFactorEnabled { bool get(); void set(bool value); };
public virtual bool TwoFactorEnabled { get; set; }
member this.TwoFactorEnabled : bool with get, set
Public Overridable Property TwoFactorEnabled As Boolean

Property Value

True if 2fa is enabled, otherwise false.

Applies to