CookieSameSite Enum

The same-site flag of a cookie (https://httpwg.org/http-extensions/draft-ietf-httpbis-rfc6265bis.html#name-the-samesite-attribute), when it is not "Default", and the CookieSameSite enumeration of the Cookie Store API (https://cookiestore.spec.whatwg.org/#enumdef-cookiesamesite).

public enum CookieSameSite

Fields

NameValueDescription
Strict0The cookie is only sent with the same-site requests (SameSite=Strict).
Lax1The cookie is sent with the same-site requests and the cross-site top-level navigations with a safe method (SameSite=Lax).
None2The cookie is sent with the cross-site requests (SameSite=None).