rustwt 1.0.0

Implementation of JSON JWT
Documentation

Rustwt

Build Status

This is a hard fork of https://github.com/GildedHonour/frank_jwt

Implementation of JSON Web Tokens in Rust.

Algorithms and features supported

  • HS256
  • HS384
  • HS512
  • RS256
  • RS384
  • RS512
  • ES256
  • ES384
  • ES512
  • Sign
  • Verify
  • iss (issuer) check
  • sub (subject) check
  • aud (audience) check
  • exp (expiration time) check
  • nbf (not before time) check
  • iat (issued at) check
  • jti (JWT ID) check

Usage

Put this into your Cargo.toml:

[dependencies]
rustwt = "1.0.0"

License

Apache 2.0

Tests

cargo test