Skip to content

Richterrettich/rustwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rustwt

Build Status Documentation Status

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

Implementation of JSON Web Tokens in Rust.

Links

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.1"

License

Apache 2.0

Tests

cargo test