---
lang: en
title: 'API docs: authorization.authorize'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.authorization.authorize.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authorization](./authorization.md) &gt; [authorize](./authorization.authorize.md)

## authorize namespace

<b>Signature:</b>

```typescript
export declare namespace authorize 
```

## Variables

|  Variable | Description |
|  --- | --- |
|  [allow](./authorization.authorize.allow.md) | Shortcut to configure allowed roles |
|  [allowAll](./authorization.authorize.allowall.md) | Allows all |
|  [allowAllExcept](./authorization.authorize.allowallexcept.md) | Allow all but the given roles |
|  [allowAuthenticated](./authorization.authorize.allowauthenticated.md) | Allow authenticated users |
|  [deny](./authorization.authorize.deny.md) | Shortcut to configure denied roles |
|  [denyAll](./authorization.authorize.denyall.md) | Deny all |
|  [denyAllExcept](./authorization.authorize.denyallexcept.md) | Deny all but the given roles |
|  [denyUnauthenticated](./authorization.authorize.denyunauthenticated.md) | Deny unauthenticated users |
|  [scope](./authorization.authorize.scope.md) | Shortcut to specify access scopes |
|  [vote](./authorization.authorize.vote.md) | Shortcut to configure voters |


