Extended JWT integration with Sanic
Sanic-JWT-Extended (NOW PREPARING 1.0 RELEASE WITH MAJOR CHANGES)
What is Sanic-JWT-Extended?
Sanic-JWT-Extended is port of Flask-JWT-Extended for Sanic.
When to use Sanic-JWT-Extended?
Sanic-JWT-Extended not only adds support for using JSON Web Tokens (JWT) to Sanic 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
- Refresh tokens
- Token freshness and separate view decorators to only allow fresh tokens
- Role-based access control
built-in blacklist support<= WIP
pip install sanic-jwt-extended
You can generate a local copy of the documentation. After installing the requirements,
go to the
docs directory and run:
$ make clean && make html
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for Sanic_JWT_Extended-0.4.4-py3-none-any.whl