Skip to main content

Type Alias: AuthorizationCheck

AuthorizationCheck = object

Defined in: authorizer.ts:16

Properties​

action​

action: string

Defined in: authorizer.ts:17


context?​

optional context?: Record<string, string>

Defined in: authorizer.ts:26


resource?​

optional resource?: string

Defined in: authorizer.ts:19

The resource's identity name.


resources?​

optional resources?: string[]

Defined in: authorizer.ts:21

The resource's other names, such as a path alias.


resourceType?​

optional resourceType?: string

Defined in: authorizer.ts:23

The resource's type, required when its first name is a path alias.


tagBags?​

optional tagBags?: readonly Record<string, string>[]

Defined in: authorizer.ts:25

One bag per tagged node of the resource's chain.