AuthenticationOptions.RequireAuthenticatedSignIn 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.
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