Page Contents

Home > @loopback/authorization > authorize

authorize namespace

Signature:

export declare namespace authorize 

Variables

Variable Description
allow Shortcut to configure allowed roles
allowAll Allows all
allowAllExcept Allow all but the given roles
allowAuthenticated Allow authenticated users
deny Shortcut to configure denied roles
denyAll Deny all
denyAllExcept Deny all but the given roles
denyUnauthenticated Deny unauthenticated users
scope Shortcut to specify access scopes
vote Shortcut to configure voters