[][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 "validate_public_token" method without splitting the two implementations.

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.