iya-sts
    Preparing search index...

    Variable verifyIdToken

    verifyIdToken: (token: unknown, expect: IdTokenExpectation) => Promise<any> = ...

    Type Declaration

      • (token: unknown, expect: IdTokenExpectation): Promise<any>
      • Verifies a self-issued ID Token (section 11.1). Never throws.

        Parameters

        • token: unknown

          the ID Token

        • expect: IdTokenExpectation

          { clientId, nonce, enrolment? }; enrolment only for a person's own enrolment transaction, which may fetch an unenrolled did:web once and is not held to a pin

        Returns Promise<any>

        { ok, checks, subject, jwk, keyThumbprint, claims, errorCode, reason }