FastAPI extension that provides JWT Auth support (secure, easy to use and lightweight)
Project description
FastAPI JWT Auth
Documentation: https://indominusbyte.github.io/fastapi-jwt-auth
Source Code: https://github.com/IndominusByte/fastapi-jwt-auth
Features
FastAPI extension that provides JWT Auth support (secure, easy to use and lightweight), if you were familiar with flask-jwt-extended this extension suitable for you, cause this extension inspired by flask-jwt-extended 😀
- Access tokens and refresh tokens
- Freshness Tokens
- Revoking Tokens
- Support for adding custom claims to JSON Web Tokens
- Storing tokens in cookies and CSRF protection
Installation
The easiest way to start working with this extension with pip
pip install fastapi-jwt-auth
If you want to use asymmetric (public/private) key signing algorithms, include the asymmetric extra requirements.
pip install 'fastapi-jwt-auth[asymmetric]'
License
This project is licensed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fastapi_jwt_auth-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7b2ebc40f69395506f8175ef2f072708c769484c1c130768c18c17ac21d230f |
|
MD5 | a216a7bfb673e97baae83eff33c34163 |
|
BLAKE2b-256 | 09a1572edba17a85522466654fa3687f205c2e4ed9dc28d5d0339ed913e5b63a |