Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.
/ flask-jwt-simple Public archive

A barebones Flask extension for creating and protecting endpoints with JWT

License

Notifications You must be signed in to change notification settings

vimalloc/flask-jwt-simple

Repository files navigation

Flask-JWT-Simple

Build Status Coverage Status PyPI version Documentation Status

When to use Flask-JWT-Simple?

Flask-JWT-Simple adds barebones support for protecting flask endpoints with JSON Web Tokens. It is particularly good for fast prototyping or consuming/producing JWTs that work with other providers and consumers.

When not to use Flask-JWT-Simple?

If you are using JWTs with just your flask application, it may make more sense to use the sister extension Flask-JWT-Extended. It provides several built in features to make working with JSON Web Tokens easier. These include refresh tokens, fresh/unfresh tokens, tokens in cookies, csrf protection when using cookies, and token revoking. The drawback is that extension is a more opinionated on what needs to be in the JWT in order to get all those extra features to work.

Installation

View Installation Instructions

Usage

View the documentation online

Chatting

We are on irc! You can come chat with us in the #flask-jwt-extended channel on freenode.

Testing and Code Coverage

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,4, 3,5, 3,6, and PyPy.

$ tox

Generating Documentation

You can generate a local copy of the documentation. After installing the requirements, go to the docs directory and run:

$ make clean && make html

About

A barebones Flask extension for creating and protecting endpoints with JWT

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages