Microsoft.AspNetCore.Authentication.Cookies Namespace

Classes

BaseCookieContext
ChunkingCookieManager

This handles cookies that are limited by per cookie length. It breaks down long cookies for responses, and reassembles them from requests.

CookieAuthenticationDefaults

Default values related to cookie-based authentication handler

CookieAuthenticationEvents

This default implementation of the ICookieAuthenticationEvents may be used if the application only needs to override a few of the interface methods. This may be used as a base class or may be instantiated directly.

CookieAuthenticationHandler
CookieAuthenticationMiddleware
CookieAuthenticationOptions

Configuration options for CookieAuthenticationOptions.

CookieRedirectContext

Context passed when a Challenge, SignIn, or SignOut causes a redirect in the cookie middleware

CookieSignedInContext

Context object passed to the ICookieAuthenticationEvents method SignedIn.

CookieSigningInContext

Context object passed to the SigningIn(CookieSigningInContext).

CookieSigningOutContext

Context object passed to the SigningOut(CookieSigningOutContext)

CookieValidatePrincipalContext

Context object passed to the CookieAuthenticationEvents ValidatePrincipal method.

PostConfigureCookieAuthenticationOptions

Used to setup defaults for all CookieAuthenticationOptions.

Interfaces

ICookieAuthenticationEvents

Specifies callback methods which the CookieAuthenticationMiddleware invokes to enable developer control over the authentication process. />

ICookieManager

This is used by the CookieAuthenticationMiddleware to process request and response cookies. It is abstracted from the normal cookie APIs to allow for complex operations like chunking.

ITicketStore

This provides an abstract storage mechanic to preserve identity information on the server while only sending a simple identifier key to the client. This is most commonly used to mitigate issues with serializing large identities into cookies.