iya-sts
    Preparing search index...

    Variable readStatusListJwtPayload

    readStatusListJwtPayload: (
        header: any,
        claims: any,
        opts?: { maxOutputLength?: number; now?: number },
    ) => any = ...

    Type Declaration

      • (
            header: any,
            claims: any,
            opts?: { maxOutputLength?: number; now?: number },
        ): any
      • Reads a verified Status List Token JWT's header and claims (section 5.1).

        Parameters

        • header: any

          the verified header

        • claims: any

          the verified claims

        • Optionalopts: { maxOutputLength?: number; now?: number }

          now and maxOutputLength

        Returns any

        { sub, iat, exp, ttl, bits, bytes, ... }

        Error when it is expired or malformed