A library for managing access grants in Solid
0.6.0 - 2022-04-05
getAccessGrantAllsupports a new option,
includeExpired. By default, only grants that are still valid are returned by the VC provider. If set to true, grants that have expired will also be included in the response.
issueAccessRequestnow generates an access request VC including the resource owner in the
hasConsentfield with the
isConsentForDataSubjectpredicate. This will enable resource owners to dereference access requests IRIs to their resources.
getAccessGrant), only accepted Grants were supported. Support for denied Grant has now been added.
approveAccessRequestwasn't using the default session from
@inrupt/solid-client-authn-browserto set the ACR access appropriately, resulting in
getAccessRequestFromRedirectUrlwas deserializing the received VC expecting an URL-encoded value, instead of a base64-encoded value, which is how it is serialized when redirecting the user to the VC management app.
and managing access given to an agent for a resource. These access grants are
represented by Verifiable Credentials, signed by an Issuer associated to the Pod
server where the resources are hosted.
This experimental feature is currently only available in ESS.
will work in all commonly-used browsers, except Internet Explorer. If you need
support for Internet Explorer, it is recommended to pass them through a tool
like Babel, and to add polyfills for e.g.
For the latest stable version of solid-client-access-grants:
npm install @inrupt/solid-client-access-grants
If you have questions about working with Solid or just want to share what you’re working on, visit the Solid forum. The Solid forum is a good place to meet the rest of the community.
See the release notes.
MIT © Inrupt