iya-sts
    Preparing search index...

    Variable verifyJws

    verifyJws: (token: any, key: any, opts: any) => any = verifyJws

    Type Declaration

      • (token: any, key: any, opts: any): any
      • Verifies a compact JWS and checks its claims: the one entry point for "verify a JWT", for every algorithm this service speaks.

        Parameters

        • token: any

          the compact JWS

        • key: any

          the verification key

        • opts: any

          algorithms (the token's own when omitted), and issuer, audience and the clock checks

        Returns any

        the claims

        Error when the signature or a claim check fails