Microsoft.AspNetCore.CookiePolicy Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains types that are used to control the behavior of cookies.
Classes
AppendCookieContext |
Context for OnAppendCookie that allows changes to the cookie prior to being appended. |
CookiePolicyMiddleware |
Initializes a new instance of CookiePolicyMiddleware. |
DeleteCookieContext |
Context for OnDeleteCookie that allows changes to the cookie prior to being deleted. |
Enums
HttpOnlyPolicy |
Describes the HttpOnly behavior for cookies. |
Remarks
For more information about controlling cookies with ASP.NET Core, see Cookie policy middleware.