iya-sts
    Preparing search index...

    Variable verifyRequest

    verifyRequest: (req: any, body: any, descriptor: any, options: any) => any = ...

    Type Declaration

      • (req: any, body: any, descriptor: any, options: any): any
      • Verifies a request's proof of possession of a key, synchronously.

        The replay cache is consulted in this process; the keys it remembered are returned for spendProof().

        Parameters

        • req: any

          the request

        • body: any

          what readBody() read

        • descriptor: any

          the key's descriptor

        • options: any

          accessToken the request is bound to, rotation (the new key's descriptor, both keys proved) and mtlsTrust (pki or pinned)

        Returns any

        the outcome with its method, or a refusal