Async fork of FastAPI extension that provides JWT Auth support (secure, easy to use and lightweight)
Project description
Async fork of FastAPI JWT Auth
Original lib:
Documentation: https://indominusbyte.github.io/fastapi-jwt-auth
Source Code: https://github.com/IndominusByte/fastapi-jwt-auth
Async fork:
Documentation: https://sijokun.github.io/async-fastapi-jwt-auth
Source Code: https://github.com/sijokun/async-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 async-fastapi-jwt-auth
If you want to use asymmetric (public/private) key signing algorithms, include the asymmetric extra requirements.
pip install 'async-fastapi-jwt-auth[asymmetric]'
License
This project is licensed under the terms of the MIT license.
Project details
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 async_fastapi_jwt_auth-0.6.1.tar.gz
.
File metadata
- Download URL: async_fastapi_jwt_auth-0.6.1.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.4 Linux/5.15.0-1042-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbbcc753e6ffc31e2f79b51b53106b4832783c42318df31ae431efef92556c71 |
|
MD5 | a60b42cce22599e319fc1ab0f8eb2580 |
|
BLAKE2b-256 | 1960f00799e5cc08765879b0c7d8721fd29febb6c366921759bf85987e43def3 |
File details
Details for the file async_fastapi_jwt_auth-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: async_fastapi_jwt_auth-0.6.1-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.4 Linux/5.15.0-1042-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4269bbd8bb239035644f29b78f834c657d582a7f415f3f6de43071fd4d7adab4 |
|
MD5 | b8875e9ef2b5857943f6b5db899dc32b |
|
BLAKE2b-256 | f36a0d59ff25344eb37c7aad0d291ee52f49727c6671b6407de59c59653e204e |