[−][src]Module paseto::tokens
Provides a "nice" wrapper around paseto tokens in order to check things such as "Expiration". Issuer, etc.
Re-exports
pub use self::builder::*; |
Modules
builder |
Enums
PasetoPublicKey | Wraps the two paseto public key types so we can just have a |
TimeBackend | Specifies which time crate will be used as backend for validating a token's
datetimes, i.e. issued_at. The available backends are |
Functions
validate_local_token | Validate a local token for V1, or V2. |
validate_potential_json_blob | Validates a potential json data blob, returning a JsonValue. |
validate_public_token | Validate a public token for V1, or V2. |