Microsoft.AspNetCore.Authentication.Cookies Namespace¶
-
namespace
Microsoft.AspNetCore.Authentication.
Cookies
¶ Interfaces
- interface
ICookieAuthenticationEvents
- Specifies callback methods which the
Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware
invokes to enable developer control over the authentication process. /> - interface
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.
- interface
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.
Classes
- class
BaseCookieContext
- class
ChunkingCookieManager
- This handles cookies that are limited by per cookie length. It breaks down long cookies for responses, and reassembles them from requests.
- class
CookieAuthenticationDefaults
- Default values related to cookie-based authentication middleware
- class
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.
- class
CookieAuthenticationMiddleware
- class
CookieRedirectContext
- Context passed when a Challenge, SignIn, or SignOut causes a redirect in the cookie middleware
- class
CookieSignedInContext
- Context object passed to the ICookieAuthenticationEvents method SignedIn.
- class
CookieSigningInContext
- Context object passed to the ICookieAuthenticationEvents method SigningIn.
- class
CookieSigningOutContext
- Context object passed to the ICookieAuthenticationEvents method SigningOut
- class
CookieValidatePrincipalContext
- Context object passed to the ICookieAuthenticationProvider method ValidatePrincipal.
- interface