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 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.
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
File details
Details for the file fastapi_jwt_auth_md-0.5.0.tar.gz
.
File metadata
- Download URL: fastapi_jwt_auth_md-0.5.0.tar.gz
- Upload date:
- Size: 49.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74b434e90873e3aca72f1fc0372b941f5bef21dc06c95bab8afbf3838ed87a6a |
|
MD5 | 0ec2e81ac126e8d8341ced350dc4fd6f |
|
BLAKE2b-256 | 9f6fc2bc516d1d10f051a670b201f3d5cbeb7fdfac0d530dcf076627060a1753 |
File details
Details for the file fastapi_jwt_auth_md-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: fastapi_jwt_auth_md-0.5.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e5d358b50c6dc263c9b4d464f2b5f341cc2ee1da2b06b049f74bb70b453f92c |
|
MD5 | f5d0ec19b6c30b1ea45a1cfd8aeaa7aa |
|
BLAKE2b-256 | d31f237884e85772b4910cb18382c4cf0aef5fed1c8a1451172b6da755fc75bd |