Cotal TypeScript packages
    Preparing search index...

    Function verifyDmReaderProof

    • Verify a dm-reader proof (#4189): the same pinned issuer and keys as every IdP proof, the dedicated audience, purpose exactly DM_READER_PURPOSE, and non-empty string actor, lifecycle and space claims. Matching those claims to the request is the exchange's job.

      Parameters

      • token: string
      • idp: IdpConfig
      • audience: string

      Returns Promise<DmReaderProof>