Page Contents
Home > @loopback/authorization > authorize
authorize namespace
Signature:
export declare namespace authorize
Functions
| Function | Description |
|---|---|
| [allow(roles)](/doc/en/lb4/apidocs.authorization.authorize.allow.html) | Shortcut to configure allowed roles |
| [allowAll()](/doc/en/lb4/apidocs.authorization.authorize.allowall.html) | Allows all |
| [allowAllExcept(roles)](/doc/en/lb4/apidocs.authorization.authorize.allowallexcept.html) | Allow all but the given roles |
| [allowAuthenticated()](/doc/en/lb4/apidocs.authorization.authorize.allowauthenticated.html) | Allow authenticated users |
| [deny(roles)](/doc/en/lb4/apidocs.authorization.authorize.deny.html) | Shortcut to configure denied roles |
| [denyAll()](/doc/en/lb4/apidocs.authorization.authorize.denyall.html) | Deny all |
| [denyAllExcept(roles)](/doc/en/lb4/apidocs.authorization.authorize.denyallexcept.html) | Deny all but the given roles |
| [denyUnauthenticated()](/doc/en/lb4/apidocs.authorization.authorize.denyunauthenticated.html) | Deny unauthenticated users |
| [scope(scopes)](/doc/en/lb4/apidocs.authorization.authorize.scope.html) | Shortcut to specify access scopes |
| [skip()](/doc/en/lb4/apidocs.authorization.authorize.skip.html) | Skip authorization |
| [vote(voters)](/doc/en/lb4/apidocs.authorization.authorize.vote.html) | Shortcut to configure voters |