CookieOptions

tcmts.server.CookieOptions · #5z35w5jc · type

export interface CookieOptions {
  maxAge?: number;
  path?: string;
  /** default true: not readable by browser scripts */
  httpOnly?: boolean;
  /** default true when served over TLS */
  secure?: boolean;
  sameSite?: "Strict" | "Lax" | "None";
}

used by