Skip to main content

Extended JWT integration with Flask

Project description

Flask-JWT-Extended

Build Status Coverage Status PyPI version Documentation Status Join the chat at https://gitter.im/flask-jwt-extended/Lobby

Features

Flask-JWT-Extended not only adds support for using JSON Web Tokens (JWT) to Flask for protecting views, but also many helpful (and optional) features built in to make working with JSON Web Tokens easier. These include:

  • Support for adding custom claims to JSON Web Tokens
  • Custom claims validation on received tokens
  • Creating tokens from complex objects or complex object from received tokens
  • Refresh tokens
  • Token freshness and separate view decorators to only allow fresh tokens
  • Token revoking/blacklisting
  • Storing tokens in cookies and CSRF protection

Usage

View the documentation online

Changelog

You can view the changelog here. This project follows semantic versioning.

Chatting

Come chat with the community or ask questions at https://gitter.im/flask-jwt-extended/Lobby.

Local Development

We require 100% code coverage in our unit tests. You can run the tests locally with tox which will print out a code coverage report. Creating a pull request will run the tests against python 2.7, 3.4, 3.5, 3.6, and PyPy.

$ tox

We also require features to be well documented. After installing the requirements, you can generate a local copy of documentation by going to the docs directory and running:

$ make clean && make html

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flask-JWT-Extended-3.18.1.tar.gz (30.2 kB view details)

Uploaded Source

File details

Details for the file Flask-JWT-Extended-3.18.1.tar.gz.

File metadata

  • Download URL: Flask-JWT-Extended-3.18.1.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.2 CPython/3.6.4

File hashes

Hashes for Flask-JWT-Extended-3.18.1.tar.gz
Algorithm Hash digest
SHA256 c942e22aa4d523d6021bf4ce5d37d08d7423a94a756efc31aab13e1f44a82551
MD5 4c7381a8e4b100c9a36bf3367754891e
BLAKE2b-256 37c2efca17b869bf03af431773526c10390da3c63701a2537382607f23964793

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