ICredentialVerifier.verifyCredential() method
Verifies a Verifiable Credential JWT, LDS Format or EIP712.
Signature:
verifyCredential(args: IVerifyCredentialArgs, context: VerifierAgentContext): Promise<IVerifyResult>;
Parameters
Parameter | Type | Description |
---|---|---|
args | IVerifyCredentialArgs | 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