IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>.TwoFactorEnabled 属性

定义

获取或设置一个标志,指示是否为此用户启用了双重身份验证。

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

属性值

如果启用了 2fa,则为 True,否则为 false。

适用于