Enable if unauthorized access should still be possible and the middleware should populate the request with user information.
If anonymous access is allowed, this value will be passed to req.user, defaults to null.
req.user
null
Authorization header name, defaults to Authorization
Authorization
Override the default unauthorized responding behaviour.
Generated using TypeDoc
Enable if unauthorized access should still be possible and the middleware should populate the request with user information.