{"repo":"GildedHonour/frank_jwt","free":true,"listed":false,"github":"https://github.com/GildedHonour/frank_jwt","clone":"git clone https://github.com/GildedHonour/frank_jwt.git","description":"JSON Web Token implementation in Rust.","language":"Rust","stars":251,"topics":["rust","jwt","auth0-jwt","cryptography","authentication","jwt-token"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Frank JWT ================================================ Implementation of JSON Web Tokens in Rust. Algorithms and features supported - [x] HS256 - [x] HS384 - [x] HS512 - [x] RS256 - [x] RS384 - [x] RS512 - [x] ES256 - [x] ES384 - [x] ES512 - [x] Sign - [x] Verify - [ ] iss (issuer) check - [ ] sub (subject) check - [ ] aud (audience) check - [x] exp (expiration time) check - [ ] nbf (not before time) check - [ ] iat (issued at) check - [ ] jti (JWT id) check Usage Put this into your Cargo.toml : And this in your crate root: Example Validation Options The ValidationOptions structure allows for control over which checks should be preformed when decoding a JWT. Calling new on this will provide a default set of values. There is also a dangerous function that will return validation options that doesn't perform any checking. The default values are: Perform expiry check Allow 0 leeway for the expiry check. It's worth noting that if the expiry check is requested and an exp claim is not within the JWT the check will fail validation. License Apache 2.0 Tests Contributors TODO","default_branch":null,"files":null,"tree":[],"storefront":"/r/GildedHonour","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GildedHonour/frank_jwt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}