Skip to content

greenape/quart-jwt-extended

 
 

Repository files navigation

Quart-JWT-Extended

Build Status Coverage Status PyPI version Documentation Status

Quart-JWT-Extended is an async fork of the excellent Flask-JWT-Extended for use with Quart

Features

Quart-JWT-Extended not only adds support for using JSON Web Tokens (JWT) to Quart 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.

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 3.7 and 3.8.

$ 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

About

A fork of Flask-JWT-Extended which is async and supports Quart

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%