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
Installation
pip install sanic-jwt-extended
Usage
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
Metadata
Release files for sanic-jwt-extended 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Sanic-JWT-Extended-0.4.4.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Sanic_JWT_Extended-0.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.7 kB
Release files / Sanic-JWT-Extended-0.4.4.tar.gz
| Download URL | Sanic-JWT-Extended-0.4.4.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfea0be4e4e4f51c19687af56553dee1d0434725c07c46a6b381213932f361af
|
|
BLAKE2b-256 checksum How to use checksums |
bec79e73625a4804bb0cc90e7c75626922651631f0c4b5db9486ab4b591b84b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.5 Linux/5.0.0-1023-azure
|
Release files / Sanic_JWT_Extended-0.4.4-py3-none-any.whl
| Download URL | Sanic_JWT_Extended-0.4.4-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3509240d9d41850b3eccc37891dbbd7af05fdf9685f75ff844179d8aa335181
|
|
BLAKE2b-256 checksum How to use checksums |
124d7a8150735dbe6b75949281498ca8f7b85a725be7f8bab6cefff81d84c6cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.5 Linux/5.0.0-1023-azure
|