Another FastAPI JWT Auth
Source Code: https://github.com/delrey1/another-fastapi-jwt-auth/
Background
This was forked from https://github.com/IndominusByte/fastapi-jwt-auth as it is no longer maintained.
This release contains changes related to Pydantic >2 and PyJWT > 2. I used this on my own projects and will be updating it as required. PRs invited.
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 another-fastapi-jwt-auth
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for another-fastapi-jwt-auth 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| another_fastapi_jwt_auth-0.1.7.tar.gz | 11.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| another_fastapi_jwt_auth-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.3 kB
Release files / another_fastapi_jwt_auth-0.1.7.tar.gz
| Download URL | another_fastapi_jwt_auth-0.1.7.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a89d14edc9aeab5eb353b740aeea4bd11656d0b390a9714dee97f8723874f769
|
|
BLAKE2b-256 checksum How to use checksums |
16bea18d457d669399dabb181efdce6bcd73a151e4d03bcee23d6d8a70b64fb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / another_fastapi_jwt_auth-0.1.7-py3-none-any.whl
| Download URL | another_fastapi_jwt_auth-0.1.7-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9083a6728a5e65f52c7cc71f9140b6391f7f8e9e0414fe0195348349b3e4d71
|
|
BLAKE2b-256 checksum How to use checksums |
74d28baa4dee55df3541340a2373be73041d1b8f287083cc5ce85ae48712dd9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|