iya-sts
    Preparing search index...

    Variable verifyKeyAttestation

    verifyKeyAttestation: (
        token: string,
        opts: { expRequired?: boolean; proofJwk?: any },
    ) => any = ...

    Type Declaration

      • (token: string, opts: { expRequired?: boolean; proofJwk?: any }): any
      • Verifies one key attestation and answers what it attests.

        Parameters

        • token: string

          the key attestation JWT

        • opts: { expRequired?: boolean; proofJwk?: any }

          proofJwk, the key a jwt proof was signed with, which must be attested; expRequired, for that proof type

        Returns any

        what it attests

        Error, with the reason, when it does not verify