DelegatedAuthorizationOptions
Defined in: src/authorization/delegated.ts:16
Options for delegatedAuthorization.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
Action extends string |
string |
Resource |
unknown |
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
authorize |
(input) => boolean | Promise<boolean> |
Decide whether the AuthorizeInput is permitted. Return true to allow. May be synchronous or asynchronous. |
src/authorization/delegated.ts:21 |