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

Uploaded Source

Built Distribution

fastapi_jwt_auth-0.4.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fastapi-jwt-auth-0.4.0.tar.gz
Algorithm Hash digest
SHA256 bdb2d00b3469d5424e22d5901720695d5b8d1f084b82bc03cbd0fd73a8b7bd90
MD5 a8d54c8b0f706fe358ce5e650ad0c5bf
BLAKE2b-256 54a85b36b5467099f764012a94459142ee5ce245372c9bc53e25c3de4e75cdab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_jwt_auth-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edec6d475f5e8aea267ce269f143e2f41de805a7919ee071ff512be6e3248d51
MD5 61d7424cdf24b787f82eef7d5bd5e7fc
BLAKE2b-256 bcea623b8a8bdf0e987916218ddfb9a1e5e4ac4356bbf1574590fe3b95bf5759

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