ordercloud-javascript-sdk
    Preparing search index...

    Interface CookieOptions

    interface CookieOptions {
        domain?: string;
        path?: string;
        prefix?: string;
        samesite?: "lax" | "none" | "strict";
        secure?: boolean;
    }
    Index
    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?: "lax" | "none" | "strict"

    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)