ICredentialIssuerLD.verifyCredentialLD() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Verifies a Verifiable Credential JWT or LDS Format.
Signature:
verifyCredentialLD(args: IVerifyCredentialLDArgs, context: IRequiredContext): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
args | IVerifyCredentialLDArgs | Arguments necessary to verify a VerifiableCredential |
context | IRequiredContext | This reserved param is automatically added and handled by the framework, *do not override* |
Returns:
Promise<boolean>
- a promise that resolves to the boolean true on successful verification or rejects on error
Remarks
Please see Verifiable Credential data model
This API may change without a BREAKING CHANGE notice.