fastapi-another-jwt-auth-0.1.8
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fastapi-another-jwt-auth-0.1.8 |
| نام | fastapi-another-jwt-auth |
| نسخه کتابخانه | 0.1.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mariusz Masztalerczuk |
| ایمیل نویسنده | mariusz@masztalerczuk.com |
| آدرس صفحه اصلی | https://github.com/GlitchCorp/fastapi-another-jwt-auth |
| آدرس اینترنتی | https://pypi.org/project/fastapi-another-jwt-auth/ |
| مجوز | MIT |
<h1 align="left" style="margin-bottom: 20px; font-weight: 500; font-size: 50px; color: black;">
FastAPI Another JWT Auth
</h1>

[](https://coveralls.io/github/GlitchCorp/fastapi-another-jwt-auth?branch=master)
[](https://badge.fury.io/py/fastapi-another-jwt-auth)
[](https://pepy.tech/project/fastapi-another-jwt-auth)
---
<h2> The project is based on <a href="https://pypi.org/project/fastapi-jwt-auth/" target="_blank">Fastapi-jwt-auth</a> that is no longer maintained. </h2>
**Documentation**: <a href="https://GlitchCorp.github.io/fastapi-another-jwt-auth" target="_blank">https://GlitchCorp.github.io/fastapi-another-jwt-auth</a>
**Source Code**: <a href="https://github.com/GlitchCorp/fastapi-another-jwt-auth" target="_blank">https://github.com/GlitchCorp/fastapi-another-jwt-auth</a>
---
## 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
```bash
pip install fastapi-another-jwt-auth
```
If you want to use asymmetric (public/private) key signing algorithms, include the <b>asymmetric</b> extra requirements.
```bash
pip install 'fastapi-another-jwt-auth[asymmetric]'
```
## License
This project is licensed under the terms of the MIT license.
نیازمندی
| مقدار | نام |
|---|---|
| >=2.4.0,<3.0.0 | PyJWT |
| >=0.65.3 | fastapi |
| >=39.0.2,<41.0.0 | cryptography |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl fastapi-another-jwt-auth-0.1.8:
pip install fastapi-another-jwt-auth-0.1.8.whl
نصب پکیج tar.gz fastapi-another-jwt-auth-0.1.8:
pip install fastapi-another-jwt-auth-0.1.8.tar.gz