jsonwebtoken/lib.rs
1//! Create and parses JWT (JSON Web Tokens)
2//!
3//! Documentation: [stable](https://docs.rs/jsonwebtoken/)
4#![deny(missing_docs)]
5
6mod algorithms;
7/// Lower level functions, if you want to do something other than JWTs
8pub mod crypto;
9mod decoding;
10mod encoding;
11/// All the errors that can be encountered while encoding/decoding JWTs
12pub mod errors;
13mod header;
14mod pem;
15mod serialization;
16mod validation;
17
18pub use algorithms::Algorithm;
19pub use decoding::{
20 dangerous_insecure_decode_with_validation, dangerous_insecure_decode, dangerous_unsafe_decode, decode, decode_header, DecodingKey,
21 TokenData,
22};
23pub use encoding::{encode, EncodingKey};
24pub use header::Header;
25pub use validation::Validation;