Options
All
  • Public
  • Public/Protected
  • All
Menu

Prudence JavaScript and TypeScript APIs

Index

Type Aliases

Cookie: { domain: string; expires: any; httpOnly: boolean; maxAge: number; name: string; path: string; raw: string; sameSite: string; secure: boolean; unparsed: string[]; value: string }

Type declaration

  • domain: string
  • expires: any
  • httpOnly: boolean
  • maxAge: number
  • name: string
  • path: string
  • raw: string
  • sameSite: string
  • secure: boolean
  • unparsed: string[]
  • value: string
CookieConfig: { domain?: string; expires?: number; httpOnly?: boolean; maxAge?: number; name: string; path?: string; sameSite?: string; secure?: boolean; value: string }

Type declaration

  • Optional domain?: string
  • Optional expires?: number
  • Optional httpOnly?: boolean
  • Optional maxAge?: number
  • name: string
  • Optional path?: string
  • Optional sameSite?: string
  • Optional secure?: boolean
  • value: string

Functions

  • bind(id: string, name?: string): any
  • Parameters

    • id: string
    • Optional name: string

    Returns any

Generated using TypeDoc