AuthenticationOptions AuthenticationOptions AuthenticationOptions Class

Definition

public class AuthenticationOptions
type AuthenticationOptions = class
Public Class AuthenticationOptions
Inheritance
AuthenticationOptionsAuthenticationOptionsAuthenticationOptions

Constructors

AuthenticationOptions() AuthenticationOptions() AuthenticationOptions()

Properties

DefaultAuthenticateScheme DefaultAuthenticateScheme DefaultAuthenticateScheme

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

DefaultChallengeScheme DefaultChallengeScheme DefaultChallengeScheme

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

DefaultForbidScheme DefaultForbidScheme DefaultForbidScheme

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

DefaultScheme DefaultScheme DefaultScheme

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

DefaultSignInScheme DefaultSignInScheme DefaultSignInScheme

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

DefaultSignOutScheme DefaultSignOutScheme DefaultSignOutScheme

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

SchemeMap SchemeMap SchemeMap

Maps schemes by name.

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>)

Adds an AuthenticationScheme.

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

Adds an AuthenticationScheme.

Applies to