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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for another_fastapi_jwt_auth-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a89d14edc9aeab5eb353b740aeea4bd11656d0b390a9714dee97f8723874f769
MD5 9e778cb31e0d0ebe70e1db0c37fd47c3
BLAKE2b-256 16bea18d457d669399dabb181efdce6bcd73a151e4d03bcee23d6d8a70b64fb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for another_fastapi_jwt_auth-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a9083a6728a5e65f52c7cc71f9140b6391f7f8e9e0414fe0195348349b3e4d71
MD5 e3857b504ae61aa7764ba5f858fc8fa9
BLAKE2b-256 74d28baa4dee55df3541340a2373be73041d1b8f287083cc5ce85ae48712dd9b

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