AngularTS
    Preparing search index...

    Interface CookieOptions

    interface CookieOptions {
        domain?: string;
        expires?: string | number | Date;
        path?: string;
        samesite?: "Lax" | "Strict" | "None";
        secure?: boolean;
    }
    Index

    Properties

    domain?: string

    Domain scope for the cookie.

    expires?: string | number | Date

    Expiration date, date string, or timestamp. Omit for a session cookie.

    path?: string

    URL path scope for the cookie.

    samesite?: "Lax" | "Strict" | "None"

    SameSite policy applied by the browser.

    secure?: boolean

    Restrict the cookie to HTTPS connections.