Skip to main content

Another iteration of fastapi-jwt-auth

Project description

Another FastAPI JWT Auth


Source Code: https://github.com/delrey1/another-fastapi-jwt-auth/


Background

This was forked from https://github.com/IndominusByte/fastapi-jwt-auth as it is no longer maintained.

This release contains changes related to Pydantic >2 and PyJWT > 2. I used this on my own projects and will be updating it as required. PRs invited.

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 another-fastapi-jwt-auth

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

another_fastapi_jwt_auth-0.1.1.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

another_fastapi_jwt_auth-0.1.1-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file another_fastapi_jwt_auth-0.1.1.tar.gz.

File metadata

File hashes

Hashes for another_fastapi_jwt_auth-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b39ed7c1da064e6b72f68d7eb60f5b49c2dbbca440f8cdf50c288377368d2972
MD5 1bc03f345e8968ef3b6c865f16aae361
BLAKE2b-256 a689ef9270a783ba766571403e9c9a71b2e5d42a91694bd22d988bad26853a5b

See more details on using hashes here.

File details

Details for the file another_fastapi_jwt_auth-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for another_fastapi_jwt_auth-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1b696076819a1ea09992fc4144946f4b9e8387068e7b4c5700a1977ce057e48
MD5 11963ff91e3cc65e2b2e7957254f4062
BLAKE2b-256 b9531049c8db0f15ba287135b3f64b4c79a073b9b93e9e5d89ce854154aab114

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