Skip to main content

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

Project description

FastAPI JWT Auth

Tests Coverage Status PyPI version Downloads


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

Source Code: https://github.com/IndominusByte/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 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 fastapi-jwt-auth

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

pip install '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

fastapi-jwt-auth-0.3.0.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

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

fastapi_jwt_auth-0.3.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file fastapi-jwt-auth-0.3.0.tar.gz.

File metadata

  • Download URL: fastapi-jwt-auth-0.3.0.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.24.0

File hashes

Hashes for fastapi-jwt-auth-0.3.0.tar.gz
Algorithm Hash digest
SHA256 02a3a7ec6427dd5bc4a79175269cb12fdc182888882d9d0917a0513f7fb59277
MD5 10777cc25dba5994c2d34a906067f7f4
BLAKE2b-256 4c3fb89f636c374cf46b9684eb283fc57f4f944c1a455452135db44c41aef6b9

See more details on using hashes here.

File details

Details for the file fastapi_jwt_auth-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_jwt_auth-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7b2ebc40f69395506f8175ef2f072708c769484c1c130768c18c17ac21d230f
MD5 a216a7bfb673e97baae83eff33c34163
BLAKE2b-256 09a1572edba17a85522466654fa3687f205c2e4ed9dc28d5d0339ed913e5b63a

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