Skip to content

Commit e780f2e

Browse files
committed
SameSite. Closes #3318
1 parent c4f5e8a commit e780f2e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

API.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1861,6 +1861,10 @@ across multiple requests. Registers a cookie definitions where:
18611861
deleted when the browser is closed).
18621862
- `isSecure` - sets the 'Secure' flag. Defaults to `false`.
18631863
- `isHttpOnly` - sets the 'HttpOnly' flag. Defaults to `false`.
1864+
- `isSameSite` - sets the 'SameSite' flag where the value must be one of:
1865+
- `false` - no flag (this is the default value).
1866+
- `'Strict'` - sets the value to `'Strict'`,
1867+
- `'Lax'` - sets the value to `'Lax'`,
18641868
- `path` - the path scope. Defaults to `null` (no path).
18651869
- `domain` - the domain scope. Defaults to `null` (no domain).
18661870
- `autoValue` - if present and the cookie was not received from the client or explicitly set by

npm-shrinkwrap.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)