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 WebSocket authorization
- 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.
Metadata
Release files for fastapi-jwt-auth 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastapi-jwt-auth-0.5.0.tar.gz | 40.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastapi_jwt_auth-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.2 kB
Release files / fastapi-jwt-auth-0.5.0.tar.gz
| Download URL | fastapi-jwt-auth-0.5.0.tar.gz |
|---|---|
| Size | 40.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d98068a9e828fe5909a1f338efabc3bb53149f11a9d2d395ab9d90fbb486b375
|
|
BLAKE2b-256 checksum How to use checksums |
8792cce264b1a065e9f498358669abb6806a1c4e1c3c32e3f5e2c4060281932b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|
Release files / fastapi_jwt_auth-0.5.0-py3-none-any.whl
| Download URL | fastapi_jwt_auth-0.5.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43110a227e36f93b99257a1c79e66df8ed3d4c893291db8f9db2686192011f17
|
|
BLAKE2b-256 checksum How to use checksums |
1490fb0ab938d2536d12b26abbb5cb404d1039d317351adb31cb06f4c2263b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|