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

Implement Paseto Token Parser #3

Closed rrrodzilla closed 2 years ago

rrrodzilla commented 2 years ago

The generic parser handles decrypting the paseto structure (claims, etc) but does not enforce paseto logic such as validating expiration claim and other time related claims. The Paseto Token Parser should wrap the generic parser with the custom paseto logic.