Interface CookieOptions

Hierarchy

  • CookieOptions

Properties

domain?: string

The cookie will be available only for this domain and its sub-domains

path?: string

defines which paths on the domain the cookie will be accessible on defaults to '/' which means it is available on all paths in the domain

prefix?: string

prefix for all cookies set by ordercloud

samesite?: "none" | "strict" | "lax"

Defines protocol for how cookies should be sent in first or third party contexts https://adzerk.com/blog/chrome-samesite/

secure?: boolean

If true, then the cookie will only be available through a secured connection (generally https)

Generated using TypeDoc