semvec/pypi-packages huggingface dataset:
fastapi-jwt-auth-v2 0.1.0
FastAPI extension that provides JWT Auth support
Keywords: python,fastapi,jwt,authentication

<h1 align="left" style="margin-bottom: 20px; font-weight: 500; font-size: 50px; color: black;">
  FastAPI JWT Auth V2
</h1>

![Tests](https://github.com/DanielChico/fastapi-jwt-auth-v2/workflows/Tests/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/DanielChico/fastapi-jwt-auth-v2/badge.svg?branch=master)](https://coveralls.io/github/DanielChico/fastapi-jwt-auth-v2?branch=master)
[![PyPI version](https://badge.fury.io/py/fastapi-jwt-auth-v2.svg)](https://badge.fury.io/py/fastapi-jwt-auth-v2)
[![Downloads](https://static.pepy.tech/personalized-badge/fastapi-jwt-auth-v2?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/fastapi-jwt-auth-v2)

---
<!-- 
**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/DanielChico/fastapi-jwt-auth-v2</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-v2
```

## License
This project is licensed under the terms of the MIT license.