Extended JWT integration with Flask
Project description
Flask-JWT-Extended
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
Changelog
You can view the changelog here. This project follows semantic versioning.
Chatting
Come chat with the community or ask questions at https://discord.gg/EJBsbFd
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.5, 3.6, 3.7, 3.8 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
File details
Details for the file Flask-JWT-Extended-3.25.0.tar.gz
.
File metadata
- Download URL: Flask-JWT-Extended-3.25.0.tar.gz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2e4dba91661e4697b30269106386c2b29e416a00d9ff66b26c462edddc10078 |
|
MD5 | 57fcbbeb17428a1e00c3530469c2ef76 |
|
BLAKE2b-256 | 1e2d95770fa9a11ec3842d29599113657d58649c8cc7f7ff66bb997739fa9e6f |