iya-sts
    Preparing search index...

    Variable verifyCompactJws

    verifyCompactJws: (
        token: any,
        key: any,
        opts: any,
    ) => { claims: any; header: any } = verifyCompactJws

    Type Declaration

      • (token: any, key: any, opts: any): { claims: any; header: any }
      • Verifies a compact JWS's signature, without the claim checks.

        Parameters

        • token: any

          the compact JWS

        • key: any

          the verification key

        • opts: any

          algorithms, and emptyPayload for a detached payload

        Returns { claims: any; header: any }

        { header, claims }

        Error when it does not verify or the payload is not JSON