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
Hashes for libre_fastapi_jwt-0.22.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a7bacd0b9d0a9e8ea91c12a1d45d3f6a678aca4a32332ca9427cf8752a1fac7 |
|
MD5 | f1b4800eaa07eb89e6aefecb05278815 |
|
BLAKE2b-256 | f18f835f97dff5e2bb616dc01533515b7bf7b295ce8a5cdc9c674a95f6537e80 |