Frank JWT
Implementation of JSON Web Tokens in Rust. It supports HS256, 384 and 512 signature algorithms.
Usage
Put this in your Cargo.toml
:
[]
= "*"
And this in your crate root:
extern crate frank_jwt;
use Header;
use Payload;
use encode;
use decode;
use Algorithm;
Example
let mut payload = new;
payload.insert;
payload.insert;
payload.insert;
let secret = "secret123";
let header = new;
let jwt = encode;
License
Apache 2.0
Tests
cargo test
I'm available for hire
I'm a freelance developer and looking forward to new challenges.
My email: me [/at] gildedhonour.com
Website: www.gildedhonour.com, my CV can be found there.