flask-jwt-extended

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

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者vimalloc/flask-jwt-extended
主編程語言Python
編程語言Python (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2016-09-13 20:57:28
推送於2024-12-30 16:42:14
最后一次提交
發布數93
最新版本名稱4.7.1 (發布於 )
第一版名稱0.0.2 (發布於 )
用户参与
星數1.6k
關注者數28
派生數244
提交數674
已啟用問題?
問題數393
打開的問題數14
拉請求數144
打開的拉請求數2
關閉的拉請求數31
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?