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

Add Default IssuedAtClaim to PasetoTokenBuilder #9

Closed rrrodzilla closed 2 years ago

rrrodzilla commented 2 years ago

A default token should have its issued at claim set to NOW. A user can update the claim by adding an IssuedAtClaim while building the token.