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.
Append |
Context for OnAppendCookie that allows changes to the cookie prior to being appended. |
Cookie |
Initializes a new instance of CookiePolicyMiddleware. |
Delete |
Context for OnDeleteCookie that allows changes to the cookie prior to being deleted. |
Http |
Describes the HttpOnly behavior for cookies. |
For more information about controlling cookies with ASP.NET Core, see Cookie policy middleware.