Module paseto::tokens [−][src]
Provides a "nice" wrapper around paseto tokens in order to check things such as "Expiration". Issuer, etc.
Re-exports
pub use builder::*; |
Modules
builder |
Enums
PasetoPublicKey |
Wraps the two paseto public key types so we can just have a "validate_public_token" method without splitting the two implementations. |
Functions
validate_local_token |
Validate a local token for V1, or V2. |
validate_public_token |
Validate a public token for V1, or V2. |