Link

Note

This is documentation for pre 1.0 version. 1.0 release does not support backward compatibility to 0.x version.

Visit legacy version(v0.4.4)


Provides extended JWT support that comply with RFC 7519

Sanic-JWT-Extended not only adds support for using JWT to Sanic for protecting views, but also many helpful (and optional) features built in to make working with JWT easier.

  • Support for adding public claims with namespacing
  • Support for adding private claims
  • Refresh tokens
  • Token freshness and separate view decorators to only allow fresh tokens
  • Access control
  • blacklist support with some built-in blacklist
  • Provides Token object for easier jwt manifulation

Installation

$ pip install sanic-jwt-extended --pre
$ poetry add sanic-jwt-extended --git https://github.com/NovemberOscar/Sanic-JWT-Extended.git
$ pipenv install sanic-jwt-extended --pre

About the project

Sanic-JWT-Extended is © 2018-2019 by Seonghyeon Kim

License

Sanic-JWT-Extended is distributed by an MIT license.

Contribution

When contributing to this repository, please first discuss the change you wish to make via issue. Read more about becoming a contributor in our GitHub repo.

Thank you to the contributors of Sanic-JWT-Extended!

  • NovemberOscar
  • sjquant
  • DeDuHaNcHiK