Closed LuisOsta closed 2 years ago
I saw https://github.com/Keats/jsonwebtoken/issues/239. But why not have it also not care if its absent/present if validate_exp
is set to false?
But why not have it also not care if its absent/present if validate_exp is set to false?
Presence/absence and validation are two different things. You might want to enforce having an exp
field but not want to validate it with the crate because you're not using the standard timestamp for example.
This is the way that I'm using the
jsonwebtoken
library where theClaims
struct is