Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CookieConfigParams

Index

Properties

Optional domain

domain: string

Domain name for the cookie. Passed to the Response cookie as domain

Optional httpOnly

httpOnly: boolean

Flags the cookie to be accessible only by the web server. Passed to the Response cookie as httponly. Defaults to true.

Optional path

path: string

Path for the cookie. Passed to the Response cookie as path

Optional sameSite

sameSite: string

Value of the SameSite Set-Cookie attribute. Passed to the Response cookie as samesite. Defaults to "Lax" but will be adjusted based on {@link AuthorizationParameters.response_type}.

Optional secure

secure: boolean

Marks the cookie to be used over secure channels only. Passed to the Response cookie as secure. Defaults to the protocol of ConfigParams.baseURL.

Optional transient

transient: boolean

Set to true to use a transient cookie (cookie without an explicit expiration). Default is false