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

[](https://coveralls.io/github/IndominusByte/fastapi-jwt-auth?branch=master)
[](https://badge.fury.io/py/fastapi-jwt-auth)
[](https://pepy.tech/project/fastapi-jwt-auth)
---
**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>
---
## 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-jwt-auth
```
If you want to use asymmetric (public/private) key signing algorithms, include the <b>asymmetric</b> extra requirements.
```bash
pip install 'fastapi-jwt-auth[asymmetric]'
```
## License
This project is licensed under the terms of the MIT license.
نیازمندی
| مقدار | نام |
|---|---|
| - | fastapi>=0.61.0 |
| - | PyJWT>=1.7.1,<2.0.0 |
| - | cryptography>=2.6,<4.0.0 |
| - | cryptography>=2.6,<4.0.0 |
| - | uvicorn>=0.11.5,<0.12.0 |
| - | 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.0.1 |
| - | pytest-cov==2.10.0 |
| - | coveralls==2.1.2 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl fastapi-jwt-auth-0.5.0:
pip install fastapi-jwt-auth-0.5.0.whl
نصب پکیج tar.gz fastapi-jwt-auth-0.5.0:
pip install fastapi-jwt-auth-0.5.0.tar.gz