One of the resources from the Access Grant.
The Verifiable Credential proving that the requestor has been granted access to the target resource.
Optional
options: FetchOptionsAdditional fetch options, allowing you to override the
fetch()
implementation
A Promise resolving to a WHATWG Fetch compatible function matching
the standard signature. The obtained fetch function will override any
provided Authentication
header with authentication information obtained
thanks to the provided VC.
Builds a WHATWG Fetch compatible function issuing authenticated requests based on an Access Grant VC. The obtained fetch function authentication will only be valid for the resources included in the Access Grant.
Note that providing an authenticated
fetch
as an option is mandatory for the resulting fetch to be valid. The input fetch should be authenticated to the requestor's Solid-OIDC provider.