@inrupt/solid-client-access-grants
    Preparing search index...

    Function denyAccessRequest

    • Deny an access request. The content of the denied access request is provided as a Verifiable Credential.

      Parameters

      • vc: string | URL | VerifiableCredential | DatasetWithId

        The Verifiable Credential representing the Access Request. If not conform to an Access Request, the function will throw.

      • options: AccessBaseOptions & {
            customFields?: Set<CustomField>;
            returnLegacyJsonld: false;
        }

        Optional properties to customise the access denial behaviour.

      Returns Promise<DatasetWithId>

      A Verifiable Credential representing the denied access.

      0.0.1

    • Deny an access request. The content of the denied access request is provided as a Verifiable Credential.

      Parameters

      • vc: string | URL | VerifiableCredential | DatasetWithId

        The Verifiable Credential representing the Access Request. If not conform to an Access Request, the function will throw.

      • Optionaloptions: AccessBaseOptions & { returnLegacyJsonld?: true }

        Optional properties to customise the access denial behaviour.

      Returns Promise<AccessGrant>

      A Verifiable Credential representing the denied access.

      0.0.1

      Deprecated in favour of setting returnLegacyJsonld: false. This will be the default value in future versions of this library.

    • Deny an access request. The content of the denied access request is provided as a Verifiable Credential.

      Parameters

      • vc: string | URL | VerifiableCredential | DatasetWithId

        The Verifiable Credential representing the Access Request. If not conform to an Access Request, the function will throw.

      • Optionaloptions: AccessBaseOptions & {
            customFields?: Set<CustomField>;
            returnLegacyJsonld?: boolean;
        }

        Optional properties to customise the access denial behaviour.

      Returns Promise<DatasetWithId>

      A Verifiable Credential representing the denied access.

      0.0.1