iya-sts
    Preparing search index...

    Variable decodeJws

    decodeJws: (token: any, options: any) => any = decodeJws

    Type Declaration

      • (token: any, options: any): any
      • Reads a compact JWS WITHOUT verifying it, for the places that must look at a token before choosing how to treat it. Strict base64url, as the verifier's, so a token this reads and the verifier refuses cannot exist. Nothing read here is evidence of anything.

        Parameters

        • token: any

          the compact JWS

        • options: any

          complete: true for the header and signature as well

        Returns any

        the claims, or { header, payload, signature }; null where it is not a compact JWS with JSON in it