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   string The operation that the requestor performs on the resource.
domain?   string (Optional) The domain (realm/tenant)
object   string The resource that is going to be accessed.
subject   string The requestor that wants to access a resource.