Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JwtEggConfig

Hierarchy

  • JwtEggConfig

Index

Properties

Optional agent

agent: undefined | false | true

Switch for agent, Default: false.

Optional appMiddlewareIndex

appMiddlewareIndex: undefined | number

The position of config.appMiddleware[] to add. Default: 0 (first)

Optional appWork

appWork: undefined | false | true

Switch for app works, Default: true.

client

client: JwtOptions

enable

enable: boolean

Switch of middleware works for egg.js, Default: false

Optional ignore

match and ignore are exclusive exists Caution: '/' will match all, /^/$/ matches only root !

Optional match

match and ignore are exclusive exists Default: undefined for matching all routings Caution: '/' will match all, /^/$/ matches only root !

see

https://github.com/eggjs/egg-path-matching

Generated using TypeDoc