async-fastapi-jwt-auth-0.5.1
توضیحات
Async fork of FastAPI extension that provides JWT Auth support (secure, easy to use and lightweight)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | async-fastapi-jwt-auth-0.5.1 |
| نام | async-fastapi-jwt-auth |
| نسخه کتابخانه | 0.5.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Yan Khachko & Nyoman Pradipta Dewantara <a@slnk.icu> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/async-fastapi-jwt-auth/ |
| مجوز | - |
<h1 align="left" style="margin-bottom: 20px; font-weight: 500; font-size: 50px; color: black;">
Async fork of FastAPI JWT Auth
</h1>

[](https://coveralls.io/github/sijokun/async-fastapi-jwt-auth?branch=master)
[](https://badge.fury.io/py/async-fastapi-jwt-auth)
[](https://pepy.tech/project/async-fastapi-jwt-auth)
---
Original lib:
**Documentation**: <a href="https://indominusbyte.github.io/fastapi-jwt-auth" target="_blank">https://indominusbyte.github.io/fastapi-jwt-auth</a>
**Source Code**: <a href="https://github.com/IndominusByte/fastapi-jwt-auth" target="_blank">https://github.com/IndominusByte/fastapi-jwt-auth</a>
Async fork:
**Documentation**: <a href="https://sijokun.github.io/async-fastapi-jwt-auth" target="_blank">https://sijokun.github.io/async-fastapi-jwt-auth</a>
**Source Code**: <a href="https://github.com/sijokun/async-fastapi-jwt-auth" target="_blank">https://github.com/sijokun/async-fastapi-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 async-fastapi-jwt-auth
```
If you want to use asymmetric (public/private) key signing algorithms, include the <b>asymmetric</b> extra requirements.
```bash
pip install 'async-fastapi-jwt-auth[asymmetric]'
```
## License
This project is licensed under the terms of the MIT license.
نیازمندی
| مقدار | نام |
|---|---|
| - | fastapi>=0.73.0 |
| - | PyJWT>=2.3.0 |
| - | cryptography>=2.6,<4.0.0 |
| - | cryptography>=2.6,<4.0.0 |
| - | uvicorn>=0.17.3 |
| - | mkdocs>=1.1.2,<2.0.0 |
| - | mkdocs-material>=5.5.0,<6.0.0 |
| - | markdown-include>=0.5.1,<0.6.0 |
| - | pytest>=6.2.5 |
| - | pytest-cov>=3.0.0 |
| - | coveralls==3.3.1 |
| - | pytest-asyncio>=0.17.2 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl async-fastapi-jwt-auth-0.5.1:
pip install async-fastapi-jwt-auth-0.5.1.whl
نصب پکیج tar.gz async-fastapi-jwt-auth-0.5.1:
pip install async-fastapi-jwt-auth-0.5.1.tar.gz