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.
enum Microsoft.​AspNetCore.​Http.​SameSiteMode
Assembly: Microsoft.AspNetCore.Http.Features
Used to set the SameSite field on response cookies to indicate if those cookies should be included by the client on future "same-site" or "cross-site" requests. RFC Draft: <see href="https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.1" />
Values
Unspecified
No SameSite field will be set, the client should follow its default cookie policy.
None
Indicates the client should disable same-site restrictions.
Lax
Indicates the client should send the cookie with "same-site" requests, and with "cross-site" top-level navigations.
Strict
Indicates the client should only send the cookie with "same-site" requests.