commit | e0d3c0008690b9fa076172d8c31bf0e1d383cd55 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Fri Oct 01 15:36:55 2021 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Oct 14 16:38:10 2021 +0200 |
tree | 391f5f7e6bbebb835206dc83e12903df585605d4 | |
parent | 7feb36177618026a9ed5b2f21c995093b087bd7e [diff] |
MINOR: jwt: JWT tokenizing helper function This helper function splits a JWT under Compact Serialization format (dot-separated base64-url encoded strings) into its different sub strings. Since we do not want to manage more than JWS for now, which can only have at most three subparts, any JWT that has strictly more than two dots is considered invalid.