Package com.inrupt.client.accessgrant
Class AccessRequest
java.lang.Object
com.inrupt.client.accessgrant.AccessCredential
com.inrupt.client.accessgrant.AccessRequest
An Access Request abstraction, for use when interacting with Solid resources.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A collection of parameters used for creating access requests.Nested classes/interfaces inherited from class com.inrupt.client.accessgrant.AccessCredential
AccessCredential.CredentialData, AccessCredential.CredentialMetadata
-
Field Summary
Fields inherited from class com.inrupt.client.accessgrant.AccessCredential
REVOCATION_LIST_2020_STATUS, TYPE
-
Constructor Summary
ModifierConstructorDescriptionprotected
AccessRequest
(URI identifier, String credential, AccessCredential.CredentialData data, AccessCredential.CredentialMetadata metadata) Read a verifiable presentation as an AccessRequest. -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessRequest
of
(InputStream serialization) Create an AccessRequest object from a serialized form.static AccessRequest
Create an AccessRequest object from a serialized form.Methods inherited from class com.inrupt.client.accessgrant.AccessCredential
getCreator, getExpiration, getIdentifier, getIssuedAt, getIssuer, getModes, getPurposes, getRecipient, getResources, getStatus, getTypes, serialize
-
Constructor Details
-
AccessRequest
protected AccessRequest(URI identifier, String credential, AccessCredential.CredentialData data, AccessCredential.CredentialMetadata metadata) Read a verifiable presentation as an AccessRequest.- Parameters:
identifier
- the credential identifiercredential
- the serialized form of an Access Requestdata
- the user-managed data associated with the credentialmetadata
- the server-managed data associated with the credential
-
-
Method Details
-
of
Create an AccessRequest object from a serialized form.- Parameters:
serialization
- the serialized access request- Returns:
- a parsed access request
-
of
Create an AccessRequest object from a serialized form.- Parameters:
serialization
- the access request- Returns:
- a parsed access request
-