iya-sts
    Preparing search index...
    wantsJwt: (acceptHeader: unknown) => boolean = ...

    Type Declaration

      • (acceptHeader: unknown): boolean
      • Tells whether a request's Accept header asked for a JWT introspection response.

        Only an explicit, non-zero naming of the media type counts, at a quality at least that of application/json; no header, a wildcard Accept or application/json alone keeps the RFC 7662 JSON answer.

        Parameters

        • acceptHeader: unknown

          the request's Accept header

        Returns boolean

        true when a JWT response is to be sent