Skip to main content

ICredentialVerifier.verifyPresentation() method

Verifies a Verifiable Presentation JWT or LDS Format.

Signature:

verifyPresentation(args: IVerifyPresentationArgs, context: VerifierAgentContext): Promise<IVerifyResult>;

Parameters

ParameterTypeDescription
argsIVerifyPresentationArgsArguments necessary to verify a VerifiableCredential
contextVerifierAgentContextThis reserved param is automatically added and handled by the framework, *do not override*

Returns:

Promise<IVerifyResult>

  • a promise that resolves to an object containing a verified boolean property and an optional error for details

Remarks

Please see Verifiable Credential data model