Skip to main content

IVerifyCredentialArgs interface

Encapsulates the parameters required to verify a W3C Verifiable Credential

export interface IVerifyCredentialArgs



The Verifiable Credential object according to the canonical model or the JWT representation.

The signer of the Credential is verified based on the property of the credential or the iss property of the JWT payload respectively


(Optional) When dealing with JSON-LD you also MUST provide the proper contexts. Set this to true ONLY if you want the @context URLs to be fetched in case they are not preloaded. The context definitions SHOULD rather be provided at startup instead of being fetched.

Defaults to false

policies?VerificationPolicies(Optional) Overrides specific aspects of credential verification, where possible.