Microsoft.AspNetCore.Authentication Namespace

Classes

AuthenticateResult

Contains the result of an Authenticate call

AuthenticationBuilder

Used to configure authentication

AuthenticationFeature

Used to capture path info so redirects can be computed properly within an app.Map().

AuthenticationHandler<TOptions>

Base class for the per-request work performed by most authentication middleware.

AuthenticationHandlerProvider

Implementation of IAuthenticationHandlerProvider.

AuthenticationHttpContextExtensions

Extension methods to expose Authentication on HttpContext.

AuthenticationMiddleware
AuthenticationMiddleware<TOptions>
AuthenticationOptions
AuthenticationProperties

Dictionary used to store state values about the authentication session.

AuthenticationScheme

AuthenticationSchemes assign a name to a specific IAuthenticationHandler handlerType.

AuthenticationSchemeBuilder

Used to build AuthenticationSchemes.

AuthenticationSchemeOptions

Contains the options used by the AuthenticationHandler<TOptions>.

AuthenticationSchemeProvider

Implements IAuthenticationSchemeProvider.

AuthenticationService

Implements IAuthenticationService.

AuthenticationTicket

Contains user identity information as well as additional authentication state.

AuthenticationToken

Name/Value representing an token.

AuthenticationTokenExtensions

Extension methods for storing authentication tokens in AuthenticationProperties.

Base64UrlTextEncoder
BaseContext
BaseContext<TOptions>

Base class used by other context classes.

BaseControlContext
ClaimActionCollectionMapExtensions
ClaimActionCollectionUniqueExtensions
ClaimsTransformationContext
ClaimsTransformationHandler

Handler that applies ClaimsTransformation to authentication

ClaimsTransformationMiddleware
ClaimsTransformer
FailureContext

Provides failure context information to middleware providers.

HandleRequestContext<TOptions>
HandleRequestResult

Contains the result of an Authenticate call

NoopClaimsTransformation

Default claims transformation is a no-op.

PrincipalContext<TOptions>

Base context for authentication events which deal with a ClaimsPrincipal.

PropertiesContext<TOptions>

Base context for authentication events which contain AuthenticationProperties.

PropertiesDataFormat
PropertiesSerializer
RedirectContext<TOptions>

Context passed for redirect events.

RemoteAuthenticationContext<TOptions>

Base context for remote authentication.

RemoteAuthenticationEvents
RemoteAuthenticationHandler<TOptions>
RemoteAuthenticationOptions

Contains the options used by the RemoteAuthenticationHandler<TOptions>.

RemoteFailureContext

Provides failure context information to handler providers.

ResultContext<TOptions>

Base context for events that produce AuthenticateResults.

SecureDataFormat<TData>
SharedAuthenticationOptions
SystemClock

Provides access to the normal system clock with precision in seconds.

TicketDataFormat
TicketReceivedContext

Provides context information to handler providers.

TicketSerializer

Interfaces

IAuthenticationFeature

Used to capture path info so redirects can be computed properly within an app.Map().

IAuthenticationHandler

Created per request to handle authentication for to a particular scheme.

IAuthenticationHandlerProvider

Provides the appropriate IAuthenticationHandler instance for the authenticationScheme and request.

IAuthenticationRequestHandler

Used to determine if a handler wants to participate in request processing.

IAuthenticationSchemeProvider

Responsible for managing what authenticationSchemes are supported.

IAuthenticationService

Used to provide authentication.

IAuthenticationSignInHandler

Used to determine if a handler supports SignIn.

IAuthenticationSignOutHandler

Used to determine if a handler supports SignOut.

IClaimsTransformation

Used by the IAuthenticationService for claims transformation.

IClaimsTransformer

Used for claims transformation.

IDataSerializer<TModel>
IRemoteAuthenticationEvents
ISecureDataFormat<TData>
ISystemClock

Abstracts the system clock to facilitate testing.

Enums

EventResultState