@inrupt/solid-client-vc
    Preparing search index...

    Function isValidVerifiablePresentation

    • Verify that a VP is valid and content has not ben tampered with.

      Parameters

      • verificationEndpoint: string | null

        The verification endpoint

      • verifiablePresentation: VerifiablePresentation | ParsedVerifiablePresentation | MinimalPresentation

        The VP to verify

      • options: Partial<{ challenge: string; domain: string; fetch: typeof __type }> = {}

        Additional options

        • options.fetch: An alternative fetch function to make the HTTP request, compatible with the browser-native fetch API. This can be typically used for authentication.
        • options.domain: Pass a domain
        • options.challenge: Pass a challenge

      Returns Promise<{ checks: string[]; errors: string[]; warnings: string[] }>

      a JSON-shaped validation report structured accoring to the VP Verifier API.

      0.6.0