Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

Microsoft.AspNetCore.Authentication

System Library

Author Microsoft
Version 10.0.1
Tags

Public Types

Microsoft.​AspNetCore.​Authentication

Provides access denied failure context information to handler providers.
Used to configure authentication
Extension methods for <see cref="T:Microsoft.AspNetCore.Authentication.IAuthenticationConfigurationProvider" />
class AuthenticationHandler<​TOptions>
An opinionated abstraction for implementing <see cref="T:Microsoft.AspNetCore.Authentication.IAuthenticationHandler" /> .
Middleware that performs authentication.
Contains the options used by the <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationHandler`1" /> .
Allows encoding and decoding base-64 url encoded text.
class BaseContext<​TOptions>
Base class used by other context classes.
class HandleRequestContext<​TOptions>
Base context type for handling authentication request.
Contains the result of an Authenticate call
interface IDataSerializer<​TModel>
Contract for serialzing authentication data.
interface ISecureDataFormat<​TData>
A contract for securing data.
interface ISystemClock
Abstracts the system clock to facilitate testing.
Authentication extensions to <see cref="T:System.Text.Json.JsonDocument" /> .
PolicySchemes are used to redirect authentication methods to another scheme.
Contains the options used by the <see cref="T:Microsoft.AspNetCore.Authentication.PolicySchemeHandler" /> .
class PrincipalContext<​TOptions>
Base context for authentication events which deal with a ClaimsPrincipal.
class PropertiesContext<​TOptions>
Base context for authentication events which contain <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationProperties" /> .
A <see cref="T:Microsoft.AspNetCore.Authentication.SecureDataFormat`1" /> instance to secure <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationProperties" /> .
A <see cref="T:Microsoft.AspNetCore.Authentication.IDataSerializer`1" /> for <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationProperties" /> .
class RedirectContext<​TOptions>
Context passed for redirect events.
class RemoteAuthenticationContext<​TOptions>
Base context for remote authentication.
Allows subscribing to events raised during remote authentication.
class RemoteAuthenticationHandler<​TOptions>
An opinionated abstraction for an <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationHandler`1" /> that performs authentication using a separately hosted provider.
Contains the options used by the <see cref="T:Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1" /> .
Provides failure context information to handler providers.
A cookie builder that sets <see cref="P:Microsoft.AspNetCore.Http.CookieOptions.Path" /> to the request path base.
class ResultContext<​TOptions>
Base context for events that produce AuthenticateResults.
class SecureDataFormat<​TData>
An implementation for <see cref="T:Microsoft.AspNetCore.Authentication.ISecureDataFormat`1" /> .
class SignInAuthenticationHandler<​TOptions>
Adds support for SignInAsync
class SignOutAuthenticationHandler<​TOptions>
Adds support for SignOutAsync
class SystemClock
Provides access to the normal system clock with precision in seconds.
A <see cref="T:Microsoft.AspNetCore.Authentication.SecureDataFormat`1" /> instance to secure <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationTicket" /> .
Provides context information to handler providers.
Serializes and deserializes <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationTicket" /> instances.

Microsoft.​AspNetCore.​Builder

Extension methods to add authentication capabilities to an HTTP application pipeline.

Microsoft.​Extensions.​DependencyInjection

Extension methods for setting up authentication services in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> .