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 NotBeforeClaim in PasetoTokenParser #12

Closed rrrodzilla closed 2 years ago

rrrodzilla commented 2 years ago

The NotBeforeClaim, if provided should be greater than NOW UTC, else throw a claim validation error.