Yet another fork of fast-jwt-auth
Project description
FastAPI JWT Auth
BTW - The project is based on Fastapi-jwt-auth that is no longer maintained.
Documentation: https://LibreNZ.github.io/libre-fastapi-jwt
Source Code: https://github.com/LibreNZ/libre-fastapi-jwt
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 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
libre_fastapi_jwt-0.20.1.tar.gz
(12.6 kB
view hashes)
Built Distribution
Close
Hashes for libre_fastapi_jwt-0.20.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4282daa602d1da97d6303674cb55bc35ea37e71ddfb3d5350b9c4f5fa21e149 |
|
MD5 | 73ef58404a3ae2d05d3a347b8d5b9a45 |
|
BLAKE2b-256 | df93dccea5d950943c5b1a6ed465176d9f2cdc87b8b3d3ac98872db17ce0f713 |