A fork of the original fastapi-jwt-auth compatible with Pydantic 2.* versions
Project description
FastAPI JWT Auth
Documentation: https://indominusbyte.github.io/fastapi-jwt-auth
Source Code: https://github.com/jean-ek/fastapi-jwt-authV2
Original Legacy Library: https://github.com/IndominusByte/fastapi-jwt-auth
Notes:
This is a modified version of the original fastapi-jwt-auth library to add compatibility with pydantic versions 2.*
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 😀
- Compatible with pydantic 2.* versions
- 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-compat
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-compat-1.0.1.tar.gz
.
File metadata
- Download URL: fastapi-jwt-auth-compat-1.0.1.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c71d58f8d46a417a71f01ea1d85a6dcac4b6107421e10d343c5d79d374fe56c |
|
MD5 | fd4bd44a8e909618054de0fdb37af856 |
|
BLAKE2b-256 | d092a298552f3eca7fa7d200016885c6a511a7f7add0e00131cf0a97f6180269 |
File details
Details for the file fastapi_jwt_auth_compat-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: fastapi_jwt_auth_compat-1.0.1-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b631c82eef1ba401779197fa0d961f82e68a1b89b39c1a598ed1069da2cb20e0 |
|
MD5 | ddf539965afe956edff45cb011047c3d |
|
BLAKE2b-256 | 6aa5dac15af93db07fb1c56be9c736d6587cee4a4efdc49d8596a2852f28ea87 |