Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@inrupt/solid-client-access-grants
Advanced tools
Changelog
0.6.0 - 2022-04-05
getAccessGrantAll
supports 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.issueAccessRequest
now generates an access request VC including the resource
owner in the hasConsent
field with the isConsentForDataSubject
predicate. 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.approveAccessRequest
wasn't using the default session from @inrupt/solid-client-authn-browser
to set the ACR access appropriately, resulting in 401 Unauthenticated
errors.getAccessRequestFromRedirectUrl
was 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.Readme
@inrupt/solid-client-access-grants
is a JavaScript library for requesting
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.
It is part of a family open source JavaScript libraries designed to support developers building Solid applications.
This experimental feature is currently only available in ESS.
Our JavaScript Client Libraries use relatively modern JavaScript features that
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. Map
, Set
,
Promise
, Headers
, Array.prototype.includes
, Object.entries
and
String.prototype.endsWith
.
Our JavaScript Client Libraries track Node.js LTS releases, and support 12.x, 14.x, and 16.x.
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
FAQs
A library for managing access grants in Solid
The npm package @inrupt/solid-client-access-grants receives a total of 47 weekly downloads. As such, @inrupt/solid-client-access-grants popularity was classified as not popular.
We found that @inrupt/solid-client-access-grants demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.