Skip to main content

No project description provided

Project description

FastAPI Another JWT Auth

Tests Coverage Status PyPI version Downloads


The project is based on Fastapi-jwt-auth that is no longer maintained.

Documentation: https://GlitchCorp.github.io/fastapi-another-jwt-auth

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

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

pip install 'fastapi-another-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_another_jwt_auth-0.1.7.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

fastapi_another_jwt_auth-0.1.7-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_another_jwt_auth-0.1.7.tar.gz.

File metadata

  • Download URL: fastapi_another_jwt_auth-0.1.7.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/6.1.6-arch1-1

File hashes

Hashes for fastapi_another_jwt_auth-0.1.7.tar.gz
Algorithm Hash digest
SHA256 83ed024bb359eea7908aaf2fde4799e3cfa7dd0d39a251cc5ef96f4496eaf746
MD5 798e6b58c8929aff06a7b28b77df3080
BLAKE2b-256 ffe55cd3c1c04772481f0c9d1c8d03dbc3c889ec7508966760c7c3c22c8b6884

See more details on using hashes here.

File details

Details for the file fastapi_another_jwt_auth-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_another_jwt_auth-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cfbff597ff8e2a24d55019d3ada42df9c3c2ee6d1ce99e090331fa12acf680c4
MD5 f80fa9a1e7e68c35bafa88371322d673
BLAKE2b-256 d366be2fea203cbeb41959edea0ef3b9f01da2e19f47959f5d0467b5c2242e65

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