共用方式為


UserManager<TUser>.SupportsUserTwoFactor 屬性

定義

取得旗標,指出支援使用者存放區是否支援兩個要素驗證。

public:
 virtual property bool SupportsUserTwoFactor { bool get(); };
public virtual bool SupportsUserTwoFactor { get; }
member this.SupportsUserTwoFactor : bool
Public Overridable ReadOnly Property SupportsUserTwoFactor As Boolean

屬性值

如果支援使用者存放區支援使用者雙因素驗證,則為 true,否則為 false。

適用於