Access Requests and Grants#
Inrupt’s Enterprise Solid Server (ESS) supports an authorization mechanism based on Access Requests and Grants. With access requests and grants:
An agent sends an access request to the resource owner. In ESS, the access request is serialized as a VC. This request includes the specific access mode (e.g.
Append), the resource(s) to access, etc.
The resource owner decides to deny or grant the access request:
For an approved request, ESS creates an access grant with an approved status.
For a denied request, ESS creates an access grant with a denied status.
In ESS, the access grant is serialized as a VC, and the resource owner can revoke the access grant in the future.
If the requesting agent has an approved access grant, the requesting agent can exchange the access grant for an access token in order to access the resource.
To handle access requests and grants, Inrupt’s Java Client Library
inrupt-client-accessgrantmodule provides an AccessGrantClient to interact with the ESS Access Grant Service
inrupt-client-accessgrantmodule provides an AccessGrantSession that uses access grant(s) to interact with resources.
Create access requests and access grants.
Use Access Grants to access Pod resources.