OptionaldomainThe domain attribute of the cookie.
OptionalexpirationThe 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.
OptionalsameThe SameSite attribute to control cross-site request behavior.
OptionalsecureIf true, the cookie will only be transmitted over secure protocols (HTTPS).
Configuration options for setting a cookie.