A class representing a Permission Request for a more convenient abstraction.

Properties

Optional conditions that must be met when the requested grant is used.

delegated?: boolean

Whether the requested grant is delegated or not. If true, the requestor will be able to act as the grantor of the permission within the scope of the requested grant.

description?: string

Optional string that communicates what the requested grant would be used for.

id: string

The ID of the permission request, which is the record ID DWN message.

requester: string

The requester for of the permission.

The scope of the allowed access.

Methods