Beta
Private
constructorPrivate
_connectedThe DID to use as the author and default target for the underlying revocation
Private
_messageThe DWN RecordsWrite
message, along with encodedData that represents the revocation
Private
_permissionsThe PermissionsAPI used to interact with the underlying revocation
Private
agentThe agent to use for this instantiation of the grant revocation
The author of the underlying revocation message
The raw RecordsWrite
DWN message with encoded data that was used to instantiate this grant revocation
Beta
Send the current grant revocation to a remote DWN by specifying their DID If no DID is specified, the target is assumed to be the owner (connectedDID).
Optional
target: stringthe optional DID to send the grant revocation to, if none is set it is sent to the connectedDid
the status of the send grant revocation request
Static
parseparses the grant revocation given am agent, connectedDid and data encoded records write message
The
PermissionGrantRevocation
class encapsulates a permissions protocolgrant/revocation
record, providing a more developer-friendly interface for working with Decentralized Web Node (DWN) records.Methods are provided to manage the grant revocation's lifecycle, including writing to remote DWNs.