{"repo":"Yaxian/rocket-jwt","free":true,"listed":false,"github":"https://github.com/Yaxian/rocket-jwt","clone":"git clone https://github.com/Yaxian/rocket-jwt.git","description":"jwt authorization for rocket","language":"Rust","stars":14,"topics":["rocket","jwt"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"rocket-jwt jwt authorization for rocket@0.5. rocket@0.4 see v0.4. Important token should startsWith Bearer . see #8 Cookie: auth=Bearer MY JWT TOKEN or /api/endpoint?jwt=Bearer%20MY JWT TOKEN or Authorization: Bearer MY JWT TOKEN API attribute type description default --------- ------ ----------------------------------- --------------------- String jwt secret key, required exp Int token expire after seconds 2592000 (one month) leeway Int token expire leeway in seconds 60 (one minute) cookie String get token from cookie key, optional query String get token from query key, optional Run example 1. get jwt token 2. use jwt token License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/Yaxian","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Yaxian/rocket-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."}