@inrupt/solid-client-access-grants / interfaces
Required parameters to request access to one or more Resources.
requestor: WebID of the Agent requesting access to the given Resources.
requestorInboxUrl: (Optional.) URL that an access grant receipt may be posted to.
resourceOwner: WebID of an Agent controlling access to the given Resources.
resources: Array of URLs of the Resources to which access is requested.
purpose: (Optional.) URL representing what the requested access will be used for.
issuanceDate: (Optional, set to the current time if left out.) Point in time from which the access should be granted.
expirationDate: (Optional.) Point in time until when the access is needed.