Yet another fork of fast-jwt-auth
Project description
FastAPI JWT Auth
Documentation: https://LibreNZ.github.io/libre-fastapi-jwt
Source Code: https://github.com/LibreNZ/libre-fastapi-jwt
This project was originally based on 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 😀
- Integrated with the button
- Access tokens and refresh tokens
- Freshness Tokens
- Revoking Tokens
- Dual Tokens (cookie and headers)
- 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 libre-fastapi-jwt
If you want to use asymmetric (public/private) key signing algorithms, include the asymmetric extra requirements.
pip install 'libre-fastapi-jwt[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 libre_fastapi_jwt-0.22.5.tar.gz
.
File metadata
- Download URL: libre_fastapi_jwt-0.22.5.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89a143c66c013e2a0a198109522e41bbd0276aeb381240928bef24cbe0d30e3b |
|
MD5 | c8f103c8505eb7619c96ef2d0eaf8abc |
|
BLAKE2b-256 | a01d455166ad6d6507cff6667f9248d500fe193c351775c03d169dffc6b8fd09 |
File details
Details for the file libre_fastapi_jwt-0.22.5-py3-none-any.whl
.
File metadata
- Download URL: libre_fastapi_jwt-0.22.5-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2fb0b08923d3948f62ee3003e446bf0891a77162d9b56e33d3fba06177698e6 |
|
MD5 | d7c1f9b9e4a680c3ec55c4f4a3610dd8 |
|
BLAKE2b-256 | 294ec202bc5e6f567f316c97aecfc06dc5e0d8fd6c1d2be51dde0ef95465dd97 |