GeneratedNickname
GeneratedNickname
Currently needed: ``` c++ const auto obj = jwt::decode(enc_str, jwt::params::algorithms({jwt::alg_to_str(jwt::algorithm::HS256), jwt::alg_to_str(jwt::algorithm::HS512)}), jwt::params::secret(key)); ``` Expected: ``` c++ const auto obj = jwt::decode(enc_str, jwt::params::algorithms({jwt::algorithm::HS256, jwt::algorithm::HS512}), jwt::params::secret(key)); ```
`jwt_object::three_parts` tries to read part three with negative length. Expected: Some kind of invalid_format error. Reproduction: ``` c++ jwt::decode("eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJtdl9jbGFpbSI6WyJmaXJzdCIsInNlY29uZCJdfQ.", jwt::params::algorithms({alg_to_str(jwt::algorithm::NONE)}), jwt::params::verify(false)); ```
The method add_claim has an overload for system_time_t, but get_claim_value does not. One would expect symmetry in that regard. ``` obj.add_claim(jwt::registered_claims::issued_at, chrono::system_clock::now()); auto iat = obj.payload().get_claim_value(jwt::registered_claims::issued_at); // Does not compile....
Would be nice to have this as filter / sorting column.
Usecase: exclude a set of runs from the statistics, e.g. `-training`