Page Contents
Home > @loopback/authorization > AuthorizationRequest
AuthorizationRequest interface
Inspired by https://github.com/casbin/node-casbin
Signature:
export interface AuthorizationRequest
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| [action](/doc/en/lb4/apidocs.authorization.authorizationrequest.action.html) | string | The operation that the requestor performs on the resource. | |
| [domain?](/doc/en/lb4/apidocs.authorization.authorizationrequest.domain.html) | string | _(Optional)_ The domain (realm/tenant) | |
| [object](/doc/en/lb4/apidocs.authorization.authorizationrequest.object.html) | string | The resource that is going to be accessed. | |
| [subject](/doc/en/lb4/apidocs.authorization.authorizationrequest.subject.html) | string | The requestor that wants to access a resource. |