Skip to main content

Extended JWT integration with Sanic

Project description

Sanic-JWT-Extended

Downloads

What is Sanic-JWT-Extended?

Sanic-JWT-Extended is Sanic version of Flask-JWT-Extended. this is stable, but some features of Flask-JWT-Extended is not implemented yet. so this currently WIP.

When to use Flask-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

Installation

pip install sanic-jwt-extended

Usage

View the documentation online

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Sanic-JWT-Extended-0.2.0.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file Sanic-JWT-Extended-0.2.0.tar.gz.

File metadata

  • Download URL: Sanic-JWT-Extended-0.2.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for Sanic-JWT-Extended-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b937e4ed965283ef69e63c8c94fdf8f63cf4156c0f2ef61531c037d3eb49b778
MD5 b1d8d1f256f4475199ce6fdbf6dace88
BLAKE2b-256 d1a1cd77f5402969e31722beec50fc21bd820422ec08f47383ddb73e3b605162

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page