OptionaldomainDomain name for the cookie. Defaults to the domain name of the app.
OptionalencodeA synchronous function used for cookie value encoding. Defaults to encodeURIComponent.
OptionalexpiresExpiry date of the cookie in GMT. If not specified (undefined), creates a session cookie.
OptionalhttpFlags the cookie to be accessible only by the web server.
OptionalmaxConvenient option for setting the expiry time relative to the current time in milliseconds.
OptionalpartitionedMarks the cookie to use partioned storage.
OptionalpathPath for the cookie. Defaults to “/”.
OptionalpriorityValue of the “Priority” Set-Cookie attribute.
OptionalsameValue of the “SameSite” Set-Cookie attribute.
OptionalsecureMarks the cookie to be used with HTTPS only.
OptionalsignedIndicates if the cookie should be signed.
Options passed down into
res.cookieLink
https://expressjs.com/en/api.html#res.cookie