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

Uploaded Source

Built Distribution

fastapi_jwt_auth_md-1.1.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_jwt_auth_md-1.1.0.tar.gz.

File metadata

  • Download URL: fastapi_jwt_auth_md-1.1.0.tar.gz
  • Upload date:
  • Size: 49.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for fastapi_jwt_auth_md-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8ae8f2e65171d3e7aa8bf2d2d72a4cf6bb8b85aa22b4952b2715ebea1d0af12f
MD5 e14365a6f31b105cf44a27f5bb3304d8
BLAKE2b-256 fec0bdc2a23857c2480d483a175b65a0defee30c95b5f1856b8ce356c990a21d

See more details on using hashes here.

File details

Details for the file fastapi_jwt_auth_md-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_jwt_auth_md-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16c352ff6fcae064598cbf965e3e357068d582a94c05a1ef8a9b3ef4c6cf6dd5
MD5 98a266d164c2dca8f51794efdabc0f12
BLAKE2b-256 77116af8e1c51f23a97ab24db5822eeaf4adf51c8b3ec405da7ec2dc65a337a2

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