Skip to main content

Yet another fork of fast-jwt-auth

Project description

FastAPI JWT Auth

Tests CodeQL PyPI version Downloads


Documentation: https://LibreNZ.github.io/libre-fastapi-jwt

Source Code: https://github.com/LibreNZ/libre-fastapi-jwt


This project was originally based on 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 😀

  • Integrated with the drawing button
  • Access tokens and refresh tokens
  • Freshness Tokens
  • Revoking Tokens
  • Dual Tokens (cookie and headers)
  • 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 libre-fastapi-jwt

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

pip install 'libre-fastapi-jwt[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

libre_fastapi_jwt-0.22.6.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

libre_fastapi_jwt-0.22.6-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file libre_fastapi_jwt-0.22.6.tar.gz.

File metadata

  • Download URL: libre_fastapi_jwt-0.22.6.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for libre_fastapi_jwt-0.22.6.tar.gz
Algorithm Hash digest
SHA256 d07e4930df9a732ac764cfcf4dbdbc700f51a1d60e6f0fc7b4135fbb592da2df
MD5 823adf89b8ac721336b7dcc9eb266a67
BLAKE2b-256 6912ee706bf4c67d85cc489f5f9993601618b0c283e1eaf7f62dc26364bd89c4

See more details on using hashes here.

File details

Details for the file libre_fastapi_jwt-0.22.6-py3-none-any.whl.

File metadata

File hashes

Hashes for libre_fastapi_jwt-0.22.6-py3-none-any.whl
Algorithm Hash digest
SHA256 61c6c011e1fec3e425003962ee7d78ce3b7201f358ac84f04f7091d72337dd24
MD5 5e1d1b95e06a547140f85ba38d750486
BLAKE2b-256 02f52700ca9ff5ea4465b2936306a61ac5df00993c705c034041add8ec7dff2c

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