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.Cookies
System Library
| Author | Microsoft |
| Version | 10.0.1 |
| Tags |
Public Types
Microsoft.​AspNetCore.​Authentication.​Cookies
class ChunkingCookieManager
This handles cookies that are limited by per cookie length. It breaks down long cookies for responses, and reassembles them
from requests.
Default values related to cookie-based authentication handler
Allows subscribing to events raised during cookie authentication.
Implementation for the cookie-based authentication handler.
Configuration options for <see cref="T:Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions" /> .
class CookieSignedInContext
Context object passed to the ICookieAuthenticationEvents method SignedIn.
class CookieSigningInContext
Context object passed to the <see cref="M:Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents.SigningIn(Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext)" /> .
class CookieSigningOutContext
Context object passed to the <see cref="M:Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents.SigningOut(Microsoft.AspNetCore.Authentication.Cookies.CookieSigningOutContext)" />
Context object passed to the CookieAuthenticationEvents OnCheckSlidingExpiration method.
Context object passed to the CookieAuthenticationEvents ValidatePrincipal method.
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.
Used to setup defaults for all <see cref="T:Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions" /> .
Microsoft.​Extensions.​DependencyInjection
class CookieExtensions
Extension methods to configure cookie authentication.