Global authentication middleware configuration.
Authentication runs for every path by default. Supply exclusions only for routes that never need a principal, or disable registration to attach authMiddleware at route level yourself.
authMiddleware
0.8.0
Optional
Readonly
Paths that skip passive authentication. Defaults to no exclusions.
Execution priority. Defaults to the authentication band at 300.
Global authentication middleware configuration.
Authentication runs for every path by default. Supply exclusions only for routes that never need a principal, or disable registration to attach
authMiddlewareat route level yourself.Since
0.8.0