Optional
domainThe domain attribute of the cookie.
Optional
expirationThe expiration date of the cookie. Can be specified as a number (in days) or a specific Date.
The name of the cookie.
The path attribute of the cookie.
Optional
sameThe SameSite attribute to control cross-site request behavior.
Optional
secureIf true, the cookie will only be transmitted over secure protocols (HTTPS).
Configuration options for setting a cookie.