Share via


AuthenticationOptions.RequireAuthenticatedSignIn Property

Definition

If true, SignIn should throw if attempted with a user is not authenticated. A user is considered authenticated if IsAuthenticated returns true for the ClaimsPrincipal associated with the HTTP request.

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

Property Value

Applies to