Crates.io | paseto |
lib.rs | paseto |
version | 2.0.2+1.0.3 |
source | src |
created_at | 2018-03-09 19:58:32.400478 |
updated_at | 2021-06-25 17:39:48.855687 |
description | An alternative token format to JWT |
homepage | |
repository | https://github.com/instructure/paseto |
max_upload_size | |
id | 54710 |
size | 107,965 |
Paseto is everything you love about JOSE (JWT, JWE, JWS) without any of the many design deficits that plague the JOSE standards. This is directly adapted from the reference implemenation made by paragon-ie, which can be found: HERE.
NOTE: The license of the original paseto implementation is ISC which is functionally equivelant to MIT, but located: HERE
Paseto (Platform-Agnostic SEcurity TOkens) is a specification and reference implementation for secure stateless tokens. You can find a lot of info about the motivation + benefits of using paseto inside the original paseto repo: HERE.
Simply add this crate to your Cargo.toml
file:
[dependencies]
paseto = "2.0.2+1.0.3"
The examples/
directory covers the following use cases: