Skip to main content

Extended JWT integration with Flask

Project description

# Flask-JWT-Extended [![Build Status](https://travis-ci.org/vimalloc/flask-jwt-extended.svg?branch=master)](https://travis-ci.org/vimalloc/flask-jwt-extended) [![Coverage Status](https://coveralls.io/repos/github/vimalloc/flask-jwt-extended/badge.svg?branch=master)](https://coveralls.io/github/vimalloc/flask-jwt-extended?branch=master) [![PyPI version](https://badge.fury.io/py/Flask-JWT-Extended.svg)](https://badge.fury.io/py/Flask-JWT-Extended) [![Documentation Status](https://readthedocs.org/projects/flask-jwt-extended/badge/)](http://flask-jwt-extended.readthedocs.io/en/latest/) [![Join the chat at https://gitter.im/flask-jwt-extended/Lobby](https://badges.gitter.im/flask-jwt-extended/Lobby.svg)](https://gitter.im/flask-jwt-extended/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

### 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](https://auth0.com/blog/refresh-tokens-what-are-they-and-when-to-use-them/)

  • 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](http://flask-jwt-extended.readthedocs.io/en/latest/)

### Changelog You can view the changelog [here](https://github.com/vimalloc/flask-jwt-extended/releases). This project follows [semantic versioning](https://semver.org/).

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

Uploaded Source

File details

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

File metadata

  • Download URL: Flask-JWT-Extended-3.19.0.tar.gz
  • Upload date:
  • Size: 30.3 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.19.0.tar.gz
Algorithm Hash digest
SHA256 583a6e363ea51434c4189e35d3832a23949cfa5203d60a8287b6be137a75528d
MD5 79377cddc042aed3e344d94ef782b3ee
BLAKE2b-256 c63895f37d158b93feb9d231f531c0447b2a8df626547cfef7affae4a635e03e

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