Extended JWT integration with Quart
Project description
Quart-JWT-Extended
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
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
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 Distributions
Built Distribution
File details
Details for the file Quart_JWT_Extended-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: Quart_JWT_Extended-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 422f04f317a76dc614a55ce01c945534e28a30c4e6e09e746f11f160a618a9f7 |
|
MD5 | b36ab3787da7391bdb277e814b95d0aa |
|
BLAKE2b-256 | 6012e7b37b6dad958470248041f3626ea039337e258cec33ce25e3f316329791 |