Skip to main content

IVerifyPresentationLDArgs interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Encapsulates the parameters required to verify a W3C Verifiable Presentation

This API may change without a BREAKING CHANGE notice.

Signature:

export interface IVerifyPresentationLDArgs extends UsingResolutionOptions

Extends: UsingResolutionOptions

Properties

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

(BETA) (Optional) Set this to true if you want the @context URLs to be fetched in case they are not preloaded.

Defaults to false

presentationVerifiablePresentation

(BETA) The json payload of the Credential according to the canonical model

The signer of the Credential is chosen based on the issuer.id property of the credential