---
lang: en
title: 'API docs: authorization.authorizationcontext.resource'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/authorization
permalink: /doc/en/lb4/apidocs.authorization.authorizationcontext.resource.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authorization](./authorization.md) &gt; [AuthorizationContext](./authorization.authorizationcontext.md) &gt; [resource](./authorization.authorizationcontext.resource.md)

## AuthorizationContext.resource property

An name for the target resource to be accessed, such as `OrderController.prototype.cancelOrder`

<b>Signature:</b>

```typescript
resource: string;
```

