iya-sts
    Preparing search index...

    Variable verify

    verify: (token: unknown, ctx: MdocContext) => Promise<any> = ...

    Type Declaration

      • (token: unknown, ctx: MdocContext): Promise<any>
      • Verifies one mdoc presentation: a base64url DeviceResponse.

        Parameters

        • token: unknown

          the presentation from the vp_token

        • ctx: MdocContext

          the request's values (see MdocContext)

        Returns Promise<any>

        { ok, checks, claims, disclosed, extraDisclosed, doctype, issuerCertificatePem, anchorCertificatePem, statusReference }