Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AuthenticateOpts

Authentication options for middleware

Hierarchy

  • AuthenticateOpts

Index

Properties

Properties

cookie

cookie: string | false

Retrieving the token from the name of cookie, instead of from HTTP header (Authorization), Default: false

passthrough

passthrough: boolean | RedirectURL | passthroughCallback
  • false (Default): throw error
  • true: always yield next, even if no valid Authorization header was found, and ignore value of JwtOptions.debug
  • : redirect and without yield next

Generated using TypeDoc