CredentialPlugin.verifyPresentation() method
Verifies a Verifiable Presentation JWT or LDS Format.
Signature:
verifyPresentation(args: IVerifyPresentationArgs, context: VerifierAgentContext): Promise<IVerifyResult>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
args |
Arguments necessary to verify a VerifiableCredential | |
|
context |
This reserved param is automatically added and handled by the framework, *do not override* |
Promise<IVerifyResult>
- a promise that resolves to an object containing a
verifiedboolean property and an optionalerrorfor details
Remarks
Please see Verifiable Credential data model