@inrupt/solid-client-vc
    Preparing search index...

    Function revokeVerifiableCredential

    • Revoke a given VC from a given issuer. This changes the status of the VC so that subsequent verifications will fail. The issuer is expected to implement the W3C VC Issuer HTTP API, in particular VC status update.

      Parameters

      • issuerEndpoint: string

        The /status endpoint of the holder.

      • credentialId: string

        The identifier of the VC to be revoked.

      • Optionaloptions: {
            fetch: {
                (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
                (input: string | Request | URL, init?: RequestInit): Promise<Response>;
            };
        }

        Optional parameter options.fetch: An alternative fetch function to make the HTTP request, compatible with the browser-native fetch API. This can be typically used for authentication. Note that if it is omitted, and @inrupt/solid-client-authn-browser is in your dependencies, the default session is picked up.

        • fetch: {
              (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
              (input: string | Request | URL, init?: RequestInit): Promise<Response>;
          }

      Returns Promise<void>

      0.1.0