AuthenticationOptions.RequireAuthenticatedSignIn 屬性

定義

如果為 true,如果嘗試與使用者進行驗證,則 SignIn 應該會擲回。 如果 IsAuthenticated 針對與 HTTP 要求相關聯的 傳回 trueClaimsPrincipal 則會將使用者視為已驗證。

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

屬性值

適用於