{"repo":"magiclen/rocket-jwt-authorization","free":true,"listed":false,"github":"https://github.com/magiclen/rocket-jwt-authorization","clone":"git clone https://github.com/magiclen/rocket-jwt-authorization.git","description":"This crate provides a procedure macro to create request guards used for authorization.","language":"Rust","stars":11,"topics":["rust","rocket","jwt","authentication","authorization"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"jwt-authorization Request Guard for Rocket Framework ==================== Turn a claims struct into a Rocket request guard. #[derive(JWT)] writes the code which pulls a JSON Web Token out of a request, checks its signature, and validates its claims. A route which asks for the struct runs only after all of that has succeeded, so a handler never has to deal with an unauthenticated request. Crates in this repository Crate Description ----- ----------- rocket-jwt-authorization The crate to depend on. It holds the traits, the cookie configuration, and re-exports the derive macro. rocket-jwt-authorization-derive The JWT derive macro on its own. It is pulled in automatically, so there is no reason to depend on it directly. Start with the rocket-jwt-authorization README. It covers the whole jwt attribute and links to a runnable example for each feature. Crates.io https://crates.io/crates/rocket-jwt-authorization Documentation https://docs.rs/rocket-jwt-authorization License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/magiclen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/magiclen/rocket-jwt-authorization/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."}