rrrodzilla / rusty_paseto

A type-driven, ergonomic RUST implementation of the PASETO protocol for secure stateless tokens.
https://crates.io/crates/rusty_paseto
MIT License
68 stars 8 forks source link

Validate ExpirationClaim in PasetoTokenParser #11

Closed rrrodzilla closed 2 years ago

rrrodzilla commented 2 years ago

An expiration claim, if provided, should be later than NOW UTC, else fail validation with an err.