Skip to main content

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

ParameterTypeDescription
argsIVerifyCredentialLDArgsArguments necessary to verify a VerifiableCredential
contextIRequiredContextThis 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.