Optional domainDomain name for the cookie. Defaults to the domain name of the app.
Optional encodeA synchronous function used for cookie value encoding. Defaults to encodeURIComponent.
Optional expiresExpiry date of the cookie in GMT. If not specified or set to 0, creates a session cookie.
Optional httpFlags the cookie to be accessible only by the web server.
Optional maxConvenient option for setting the expiry time relative to the current time in milliseconds.
Optional partitionedMarks the cookie to use partioned storage.
Optional pathPath for the cookie. Defaults to “/”.
Optional priorityValue of the “Priority” Set-Cookie attribute.
Optional sameValue of the “SameSite” Set-Cookie attribute.
Optional secureMarks the cookie to be used with HTTPS only.
Optional signedIndicates if the cookie should be signed.
Options passed down into
res.cookieLink
https://expressjs.com/en/api.html#res.cookie