Share via


AuthenticationOptions Class

Definition

Base Options for all authentication middleware.

public ref class AuthenticationOptions abstract
public abstract class AuthenticationOptions
type AuthenticationOptions = class
Public MustInherit Class AuthenticationOptions
Inheritance
AuthenticationOptions
Derived

Constructors

AuthenticationOptions()

Properties

AuthenticationScheme

The AuthenticationScheme in the options corresponds to the logical name for a particular authentication scheme. A different value may be assigned in order to use the same authentication middleware type more than once in a pipeline.

AutomaticAuthenticate

If true the authentication middleware alter the request user coming in. If false the authentication middleware will only provide identity when explicitly indicated by the AuthenticationScheme.

AutomaticChallenge

If true the authentication middleware should handle automatic challenge. If false the authentication middleware will only alter responses when explicitly indicated by the AuthenticationScheme.

ClaimsIssuer

Gets or sets the issuer that should be used for any claims that are created

Description

Additional information about the authentication type which is made available to the application.

SystemClock

For testing purposes only.

Applies to