Module paseto::tokens

source ·
Expand description

Provides a “nice” wrapper around paseto tokens in order to check things such as “Expiration”. Issuer, etc.

Re-exports

pub use self::builder::*;

Modules

Enums

Wraps the two paseto public key types so we can just have a “validate_public_token” method without splitting the two implementations.

Functions

Validate a local token for V1, or V2.
Validate a public token for V1, or V2.