Skip to main content

Async fork of FastAPI extension that provides JWT Auth support (secure, easy to use and lightweight)

Project description

Async fork of FastAPI JWT Auth

Tests Coverage Status PyPI version Downloads


Original lib:

Documentation: https://indominusbyte.github.io/fastapi-jwt-auth

Source Code: https://github.com/IndominusByte/fastapi-jwt-auth

Async fork:

Documentation: https://sijokun.github.io/async-fastapi-jwt-auth

Source Code: https://github.com/sijokun/async-fastapi-jwt-auth/


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 async-fastapi-jwt-auth

If you want to use asymmetric (public/private) key signing algorithms, include the asymmetric extra requirements.

pip install 'async-fastapi-jwt-auth[asymmetric]'

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

async_fastapi_jwt_auth-0.6.2.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

async_fastapi_jwt_auth-0.6.2-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file async_fastapi_jwt_auth-0.6.2.tar.gz.

File metadata

  • Download URL: async_fastapi_jwt_auth-0.6.2.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.7 Linux/6.2.0-1018-azure

File hashes

Hashes for async_fastapi_jwt_auth-0.6.2.tar.gz
Algorithm Hash digest
SHA256 bc3dedfd6909d755436a9794a802f2849dbafe73624471729a2fded1bdf448ba
MD5 0b19d1e894dafd38ea865c5d3dff6a0d
BLAKE2b-256 64c08e941d5c3613bccb4e414736e6969940eb555bbec7b53d2b87722aa4cfe3

See more details on using hashes here.

File details

Details for the file async_fastapi_jwt_auth-0.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for async_fastapi_jwt_auth-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 350c4c6fc1a002a37cde29bcc069d23c77577312f64eb31a76b9d3322eed617f
MD5 77aa500e87b55e8d993835c56497c678
BLAKE2b-256 b0ef13ea4a727c88ed1d36cc255c0774ec42756269289eff2e3cc4b9459986ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page