CookieScope: { domain?: string | null; path?: string | null; secure?: boolean }

Defines the scope of a cookie — the Path, Secure, and Domain attributes that must match when reading or removing a previously set cookie.

IMPORT_PATH: "@daiso-tech/core/http-router/contracts"

Type declaration

  • Optionaldomain?: string | null

    The Domain attribute that was used when the cookie was set.

    null
    
  • Optionalpath?: string | null

    The Path attribute that was used when the cookie was set.

    null
    
  • Optionalsecure?: boolean

    The Secure attribute that was used when the cookie was set.

    false