Optional
findA default function, which tries to find a user for the current request.
Optional
onIs invoked, when validationf failes.
Optional
setupA custom, global function to setup an 'authorize' middleware.
Optional
useA list of custom middlewares to add BEFORE the authorize middleware.
Optional
validatorThe default validator.
Generated using TypeDoc
Describes the object for 'authorize' prop of 'IControllersOptions' interface.