Package com.inrupt.client.accessgrant
Class AccessDenial
java.lang.Object
com.inrupt.client.accessgrant.AccessCredential
com.inrupt.client.accessgrant.AccessDenial
An Access Denial abstraction, for use when interacting with Solid resources.
-
Nested Class Summary
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
AccessDenial
(URI identifier, String credential, AccessCredential.CredentialData data, AccessCredential.CredentialMetadata metadata) Read a verifiable presentation as an AccessDenial. -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessDenial
of
(InputStream serialization) Create an AccessDenial object from a serialized form.static AccessDenial
Create an AccessDenial 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
-
AccessDenial
protected AccessDenial(URI identifier, String credential, AccessCredential.CredentialData data, AccessCredential.CredentialMetadata metadata) Read a verifiable presentation as an AccessDenial.- Parameters:
identifier
- the credential identifiercredential
- the serialized form of an Access Denialdata
- the user-managed data associated with the credentialmetadata
- the server-managed data associated with the credential
-
-
Method Details
-
of
Create an AccessDenial object from a serialized form.- Parameters:
serialization
- the serialized access denial- Returns:
- a parsed access denial
-
of
Create an AccessDenial object from a serialized form.- Parameters:
serialization
- the serialized access denial- Returns:
- a parsed access denial
-