Page Contents
Home > @loopback/authorization > authorize
authorize namespace
Signature:
export declare namespace authorize
Functions
| Function | Description |
|---|---|
|
Shortcut to configure allowed roles | |
|
Allows all | |
|
Allow all but the given roles | |
|
Allow authenticated users | |
|
Shortcut to configure denied roles | |
|
Deny all | |
|
Deny all but the given roles | |
|
Deny unauthenticated users | |
|
Shortcut to specify access scopes | |
|
Skip authorization | |
|
Shortcut to configure voters |