目录

CookieSameSite

The SameSite policy applied to a cookie.

type CookieSameSite =
  'unspecified' |
  'noRestriction' |
  'lax' |
  'strict';

Types 

'unspecified' 

The cookie carries no SameSite attribute.

'noRestriction' 

The cookie is sent with cross-site requests. Such a cookie must also be secure.

'lax' 

The cookie is sent with top-level navigations to the site.

'strict' 

The cookie is sent only with same-site requests.