Extended JWT integration with Sanic
Project description
🛡 Sanic-JWT-Extended 🛡
☢️ This is README of 1.0.dev version. Click here to checkout current stable version(v0.4.4)
🚀 What is Sanic-JWT-Extended?
Sanic-JWT-Extended is an open source Sanic extension that provides JWT support (comply with RFC standard)
💡 Why 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 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
📚 Documentation
🛠 Developing Sanic-JWT-Extended
Prerequesties
Installaion
$ make env
this will install dependencies with poetry. if poetry not found, will install poetry.
Development
make format
: this will format your code withisort
andblack
make check
: this will lint your code withisort
,black
, andpylint
make clean
: this will remove temporary things.
Commit Convention
<{verb}>({scope}): {summary}
Testing
- TBD
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for Sanic-JWT-Extended-1.0.dev6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dc8bb8d26b179e5d237a613580571a9905f3b596b7e6d28f26c3eccc6f7dd1f |
|
MD5 | 37dab7c1402a2a4add9e9907218cc580 |
|
BLAKE2b-256 | 5c92b7620758d1047af02896fe0b2c0fc0ac3bc252fb3e2d87e957238d0b4285 |
Close
Hashes for Sanic_JWT_Extended-1.0.dev6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daa83efabc6106b45488f284ce12b9337ea860377fbbc89e79a0c0ea9fdc879b |
|
MD5 | e50a6c84ca7ba56dcd78cb79992efc2f |
|
BLAKE2b-256 | 9c4b8efaa77c6c79ee0a11ac7b4e7082614f2c7282ff59455e781edfe1870f6a |