iya-sts
    Preparing search index...

    Variable verifyAnswer

    verifyAnswer: (record: any, rawVpToken: unknown, ctx: any) => Promise<any> = ...

    Type Declaration

      • (record: any, rawVpToken: unknown, ctx: any): Promise<any>
      • Verifies one answer: the vp_token read for its query, the presentation checked in its format, the issuer certificate's revocation and the credential's status.

        Parameters

        • record: any

          the transaction

        • rawVpToken: unknown

          the vp_token

        • ctx: any

          aud, the audience the answer must name

        Returns Promise<any>

        { shapeOk: true, verified, presentation, format, id }, or a shape refusal