iya-sts
    Preparing search index...
    typOf: (token: unknown) => string = ...

    Type Declaration

      • (token: unknown): string
      • Reads the protected header's typ out of a token.

        Parameters

        • token: unknown

          a compact JWS

        Returns string

        the typ, or '' for anything that is not a compact JWS