Crate paseto [] [src]

Re-exports

pub use self::tokens::*;

Modules

errors

Wraps all of our individual errors out as one type, so we return a consistent error type across everything.

pae

Implements "Pre-Authentication Encoding". Which is part of the Pasesto Specification for version 2 of Paseto.

tokens

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

v1

Implementation of paseto version one tokens. This is the underlying implementation for Paseto that doesn't offer any guarntees around ensuring "exp" isn't passed for example.

v2

Implementation of paseto version two tokens. This is the underlying implementation for Paseto that doesn't offer any guarntees around ensuring "exp" isn't passed for example.