ICredentialVerifier.verifyPresentation() method
Verifies a Verifiable Presentation JWT or LDS Format.
Signature:
verifyPresentation(args: IVerifyPresentationArgs, context: VerifierAgentContext): Promise<IVerifyResult>;
Parameters
Parameter | Type | Description |
---|---|---|
args | IVerifyPresentationArgs | Arguments necessary to verify a VerifiableCredential |
context | VerifierAgentContext | This 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 optionalerror
for details
Remarks
Please see Verifiable Credential data model