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.5.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

async_fastapi_jwt_auth-0.5.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: async_fastapi_jwt_auth-0.5.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for async_fastapi_jwt_auth-0.5.1.tar.gz
Algorithm Hash digest
SHA256 e8914c6484fcc700c2d6d3ba8a4da6b4e85ac68ff080b7a69a16b1e4910ce319
MD5 8131a16c7d0b5473257b791f4f6f581d
BLAKE2b-256 971c03845297ea15655a4e4d06e8a27d45b2a7209f44194dd80a4618edaaa1a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: async_fastapi_jwt_auth-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for async_fastapi_jwt_auth-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1aecec7daf882041513a537888d0bc65e63bcb84a0692ea4011cdda2bde63210
MD5 66834a19fc479ed41ee4bdf5a698f286
BLAKE2b-256 aa695aaa22b1564996a9a81f9d9cd504f5d12812555c908b4bcc59209d935f87

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