Reference

CookieOptions

Configures attributes used when serializing a Set-Cookie header.

Signature

interface CookieOptions

Members

domain?: string
expires?: Date
httpOnly?: boolean
maxAge?: number
path?: string
sameSite?: "Strict" | "Lax" | "None"
secure?: boolean