---
lang: en
title: 'API docs: authorization.authorize'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/authorization
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 |
|  [skip](./authorization.authorize.skip.md) | Skip authorization |
|  [vote](./authorization.authorize.vote.md) | Shortcut to configure voters |


