CSRFGenerateOptions

Bun

Symbol

CSRFGenerateOptions

interface CSRFGenerateOptions

  • algorithm?: CSRFAlgorithm

    The algorithm to use for the token.

  • encoding?: 'base64' | 'base64url' | 'hex'

    The encoding of the token.

  • expiresIn?: number

    The number of milliseconds until the token expires. 0 means the token never expires.