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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: async_fastapi_jwt_auth-0.6.6.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.9 Linux/6.5.0-1025-azure

File hashes

Hashes for async_fastapi_jwt_auth-0.6.6.tar.gz
Algorithm Hash digest
SHA256 1b88f2f6d1bfc060b66a3dd73c0b34556bdcf538c9ab5b45618b3dc5b3b5644f
MD5 1f87f3fce01817e6ef734e5150e96117
BLAKE2b-256 e2b67802de3fd9aeee2d3c46182c3f6ac5a0321e77b78c64431bb51f488c8342

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_fastapi_jwt_auth-0.6.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fd050738ecf473e043bc30cfcf74d1389e84b7b16bad4b6515673e6ce947f871
MD5 0dba12658436cb2a77b544f04868d711
BLAKE2b-256 3945468ec393a5979a8063505b75f701df85e992cd1353f03463ad84f10808e3

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