Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CookieAttributes

Cookie attributes.

Hierarchy

  • CookieAttributes

Index

Properties

Properties

domain

domain: string

The domain under which the cookie should be visible. If omitted, the cookie will only be visible where it was created.

expires

expires: Date

The expiration date. If omitted, the cookie will only be valid during the current session.

path

path: string

The path under which the cookie should be visible.

secure

secure: boolean

Whether the cookie requires a secure connection.