MINOR: jwt: jwt_header_query and jwt_payload_query converters
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 1 Oct 2021 13:36:57 +0000 (15:36 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 14 Oct 2021 14:38:13 +0000 (16:38 +0200)
commit0a72f5ee7c2a61bdb379436461269315c776b50a
tree20aa801f354e2318947af0dba48be964b89459d8
parent864089e0a603c733c88256ba14051e974bcff456
MINOR: jwt: jwt_header_query and jwt_payload_query converters

Those converters allow to extract a JSON value out of a JSON Web Token's
header part or payload part (the two first dot-separated base64url
encoded parts of a JWS in the Compact Serialization format).
They act as a json_query call on the corresponding decoded subpart when
given parameters, and they return the decoded JSON subpart when no
parameter is given.
doc/configuration.txt
src/jwt.c
src/sample.c