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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for async_fastapi_jwt_auth-0.6.4.tar.gz
Algorithm Hash digest
SHA256 7dfc4629ccaef1cb53770bf1252888d9d106b7925416a4006d26d43e17f37a89
MD5 7aa9861c39c3b0dcddd7c8764ea9fcea
BLAKE2b-256 6383c8dab935f34422e64adea10495f98e669692dce5c953a3ced1d855ed500d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_fastapi_jwt_auth-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 01d77663853bb9dc0f9bc63a0cf57c506927b3a365a2572fc2c62500d8a11622
MD5 07b22d4a96825898005db69d1c7c0518
BLAKE2b-256 84e1a8e6f2e3c089e186d94c8d00a9271c12a80e5c88e56b8d666898019b4d5d

See more details on using hashes here.

Supported by

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