Optional
findA function, which tries to find a user for the current request.
Optional
onIs invoked, when validationf failes.
Optional
rolesThe available roles to use, or the function that provide it.
Optional
setupA custom function to setup an 'authorize' middleware.
Optional
useA list of custom middlewares to add BEFORE the authorize middleware.
Optional
validatorThe custom validator to use.
Generated using TypeDoc
Options for an 'authorize' decorator or prop.