The name of this cookie.
The value of this cookie.
Optional
options: Partial<CookieOptions>Cookie options.
Optional
Readonly
domainDefines the host to which the cookie will be sent.
Optional
Readonly
expiresIndicates the maximum lifetime of the cookie.
Readonly
httpForbids JavaScript from accessing the cookie.
Optional
Readonly
maxIndicates the number of seconds until the cookie expires.
Readonly
nameThe name of this cookie.
Readonly
partitionedIndicates that the cookie should be stored using partitioned storage.
Optional
Readonly
pathIndicates the path that must exist in the requested URL for the browser to send the Cookie
header.
Optional
Readonly
sameControls whether or not a cookie is sent with cross-site requests.
Readonly
secureIndicates that the cookie is sent to the server only when a request is made with the https:
scheme (except on
localhost), and therefore, is more resistant
to https://developer.mozilla.org/en-US/docs/Glossary/MitM|man-in-the-middle attacks.
Readonly
valueThe value of this cookie.
A cookie that the server wants to ask the client to set.