flask-jwt-extended

An open source Flask extension that provides JWT support (with batteries included)!

Github stars Tracking Chart

Flask-JWT-Extended

Build Status
Coverage Status
PyPI version
Documentation Status

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://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

Main metrics

Overview
Name With Ownervimalloc/flask-jwt-extended
Primary LanguagePython
Program languagePython (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2016-09-13 20:57:28
Pushed At2024-12-30 16:42:14
Last Commit At
Release Count93
Last Release Name4.7.1 (Posted on )
First Release Name0.0.2 (Posted on )
用户参与
Stargazers Count1.6k
Watchers Count28
Fork Count244
Commits Count674
Has Issues Enabled
Issues Count393
Issue Open Count14
Pull Requests Count144
Pull Requests Open Count2
Pull Requests Close Count31
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private