No description
Find a file
2017-02-17 12:59:55 -05:00
examples De-dupe some test code 2017-02-17 12:54:50 -05:00
src De-dupe some test code 2017-02-17 12:54:50 -05:00
.gitignore Initial re-factor 2017-02-13 18:40:07 -05:00
.travis.yml Add Travis 2017-02-15 15:34:38 -05:00
Cargo.toml Update version 2017-02-17 12:55:07 -05:00
LICENSE Fix license, use more generic test names 2017-02-14 13:45:24 -05:00
README.md Slight format tweak 2017-02-17 12:59:55 -05:00

Medallion

Build Status Crates.io Status Documentation License

A JWT library for rust using serde, serde_json and openssl.

Documentation

Usage

The library provides a Token type that wraps a header and claims. The claims can be any type that implements the Component trait, which is automatically implemented for types that implement the Sized, and must have the attribute #[derive(Serialize, Deserialize). Header can be any type that implements Component and Header. Header ensures that the required algorithm is available for signing and verification. HS256, HS384, HS512, RS256, RS384, and RS512 are supported. See the examples.

This library was originally forked from @mikkyang's rust-jwt.