iya-sts
    Preparing search index...
    verifyRequest: (req: any, opts: any) => Promise<any> = ...

    Type Declaration

      • (req: any, opts: any): Promise<any>
      • Verifies a request's attestation and its proof of possession, once per request however many times it is asked.

        Parameters

        • req: any

          the request

        • opts: any

          method (what the client declared, or anything else to accept either proof), clientId and issuer, the audience a PoP must name

        Returns Promise<any>

        a promise of { ok: true, method, alg, jti, jkt }, or { ok: false, errorCode, ... }