Class AccessDenial

java.lang.Object
com.inrupt.client.accessgrant.AccessCredential
com.inrupt.client.accessgrant.AccessDenial

public class AccessDenial extends AccessCredential
An Access Denial abstraction, for use when interacting with Solid resources.
  • 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 identifier
      credential - the serialized form of an Access Denial
      data - the user-managed data associated with the credential
      metadata - the server-managed data associated with the credential
  • Method Details

    • of

      public static AccessDenial of(String serialization)
      Create an AccessDenial object from a serialized form.
      Parameters:
      serialization - the serialized access denial
      Returns:
      a parsed access denial
    • of

      public static AccessDenial of(InputStream serialization)
      Create an AccessDenial object from a serialized form.
      Parameters:
      serialization - the serialized access denial
      Returns:
      a parsed access denial