@loopback/docs
Version:
Documentation for LoopBack 4
24 lines (16 loc) • 778 B
Markdown
lang: en
title: 'API docs: authorization.authorize.deny'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/authorization
permalink: /doc/en/lb4/apidocs.authorization.authorize.deny.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/authorization](./authorization.md) > [authorize](./authorization.authorize.md) > [deny](./authorization.authorize.deny.md)
## authorize.deny variable
Shortcut to configure denied roles
<b>Signature:</b>
```typescript
deny: (...roles: string[]) => (target: any, method?: string | undefined, methodDescriptor?: TypedPropertyDescriptor<any> | undefined) => any
```