AuthenticationOptions AuthenticationOptions AuthenticationOptions AuthenticationOptions Class

Definition

public ref class AuthenticationOptions
public class AuthenticationOptions
type AuthenticationOptions = class
Public Class AuthenticationOptions
Inheritance
AuthenticationOptionsAuthenticationOptionsAuthenticationOptionsAuthenticationOptions

Constructors

AuthenticationOptions() AuthenticationOptions() AuthenticationOptions() AuthenticationOptions()

Properties

DefaultAuthenticateScheme DefaultAuthenticateScheme DefaultAuthenticateScheme DefaultAuthenticateScheme

Used as the default scheme by AuthenticateAsync(HttpContext, String).

DefaultChallengeScheme DefaultChallengeScheme DefaultChallengeScheme DefaultChallengeScheme

Used as the default scheme by ChallengeAsync(HttpContext, String, AuthenticationProperties).

DefaultForbidScheme DefaultForbidScheme DefaultForbidScheme DefaultForbidScheme

Used as the default scheme by ForbidAsync(HttpContext, String, AuthenticationProperties).

DefaultScheme DefaultScheme DefaultScheme DefaultScheme

Used as the fallback default scheme for all the other defaults.

DefaultSignInScheme DefaultSignInScheme DefaultSignInScheme DefaultSignInScheme

Used as the default scheme by SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties).

DefaultSignOutScheme DefaultSignOutScheme DefaultSignOutScheme DefaultSignOutScheme

Used as the default scheme by SignOutAsync(HttpContext, String, AuthenticationProperties).

RequireAuthenticatedSignIn RequireAuthenticatedSignIn RequireAuthenticatedSignIn RequireAuthenticatedSignIn

If true, SignIn should throw if attempted with a ClaimsPrincipal.Identity.IsAuthenticated = false.

SchemeMap SchemeMap SchemeMap SchemeMap

Maps schemes by name.

Schemes Schemes Schemes Schemes

Returns the schemes in the order they were added (important for request handling priority)

Methods

AddScheme(String, Action<AuthenticationSchemeBuilder>) AddScheme(String, Action<AuthenticationSchemeBuilder>) AddScheme(String, Action<AuthenticationSchemeBuilder>) AddScheme(String, Action<AuthenticationSchemeBuilder>)

Adds an AuthenticationScheme.

AddScheme<THandler>(String, String) AddScheme<THandler>(String, String) AddScheme<THandler>(String, String) AddScheme<THandler>(String, String)

Adds an AuthenticationScheme.

Applies to