@inrupt/solid-client-vc / revoke
Module: revoke#
References#
default#
Renames and re-exports revokeVerifiableCredential
Functions#
revokeVerifiableCredential#
▸ revokeVerifiableCredential(issuerEndpoint
, credentialId
, options?
): Promise
<void
>
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#
Name |
Type |
Description |
---|---|---|
|
|
The |
|
|
The identifier of the VC to be revoked. |
|
|
Optional parameter |
|
( |
Returns#
Promise
<void
>
Since
0.1.0
Defined in#
src/revoke/revoke.ts:41