IdentityUser<TKey>.TwoFactorEnabled Property
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.
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; }
[Microsoft.AspNetCore.Identity.PersonalData]
public virtual bool TwoFactorEnabled { get; set; }
member this.TwoFactorEnabled : bool with get, set
[<Microsoft.AspNetCore.Identity.PersonalData>]
member this.TwoFactorEnabled : bool with get, set
Public Overridable Property TwoFactorEnabled As Boolean
Property Value
True if 2fa is enabled, otherwise false.
- Attributes