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

Uploaded Source

Built Distribution

async_fastapi_jwt_auth-0.6-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: async_fastapi_jwt_auth-0.6.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.12 Darwin/22.4.0

File hashes

Hashes for async_fastapi_jwt_auth-0.6.tar.gz
Algorithm Hash digest
SHA256 d0d02b5375e70d23120d811348c64e048529f62c8c6cbae72d362f7bd9c2f3e0
MD5 3efdfb69e2146c567c89483d8b1aa519
BLAKE2b-256 7272f76837872cfee59d21eccbfb537f297fce1160b18ba123f96e14c93fd6ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_fastapi_jwt_auth-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 01c3117ca3a6efc04db8e0b2c563e83cc95ac4ca53ac0ef91fb20a9bee46c726
MD5 c77d08f5561aeb7f6752ac3fbbaab901
BLAKE2b-256 d6ef55a6dd38680c725bd67cdc434ed9b2c064df605a439927875516885993b3

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