Skip to main content

IVerifyPresentationArgs interface

Encapsulates the parameters required to verify a W3C Verifiable Presentation

Signature:

export interface IVerifyPresentationArgs

Properties

PropertyModifiersTypeDescription
challenge?string(Optional) Optional (only for JWT) string challenge parameter to verify the verifiable presentation against
domain?string(Optional) Optional (only for JWT) string domain parameter to verify the verifiable presentation against
fetchRemoteContexts?boolean

(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.
presentationW3CVerifiablePresentation

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

The signer of the Presentation is verified based on the holder property of the presentation or the iss property of the JWT payload respectively