Skip to main content

aiohttp middleware for working with JWT

Project description

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Description: ## aiohttp-jwt

[![Updates](https://pyup.io/repos/github/hzlmn/aiohttp-jwt/shield.svg)](https://pyup.io/repos/github/hzlmn/aiohttp-jwt/) [![Python 3](https://pyup.io/repos/github/hzlmn/aiohttp-jwt/python-3-shield.svg)](https://pyup.io/repos/github/hzlmn/aiohttp-jwt/) [![Build Status](https://travis-ci.org/hzlmn/aiohttp-jwt.svg?branch=master)](https://travis-ci.org/hzlmn/aiohttp-jwt) [![codecov](https://codecov.io/gh/hzlmn/aiohttp-jwt/branch/master/graph/badge.svg)](https://codecov.io/gh/hzlmn/aiohttp-jwt)

> The library provides aiohttp middleware and helper utils for working with JSON web tokens.

  • Works on Python3.5+

  • MIT License

  • Latest docs [TBD]()

  • Contributions are highly welcome!

## Requirements

## Install `bash $ pip install aiohttp_jwt `

## Usage - [Basic Example](/example/basic.py) - [Permissions control](/example/permissions.py)

## Credentials

This module inspired by official [auth0/express-jwt](https://github.com/auth0/express-jwt) middleware and [express-jwt-permissions](https://github.com/MichielDeMey/express-jwt-permissions) extension.

## Related packages

For advanced security facilities check [aio-libs/aiohttp_security](https://github.com/aio-libs/aiohttp-security)

### License MIT License

Keywords: asyncio,aiohttp,jwt Platform: UNKNOWN Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3.6

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

aiohttp_jwt-0.0.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiohttp_jwt-0.0.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file aiohttp_jwt-0.0.2.tar.gz.

File metadata

  • Download URL: aiohttp_jwt-0.0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aiohttp_jwt-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5c07cd0973bc4ff725464f73e557a93d540e91407c8dcb2b18aa31dbba05b8c6
MD5 d9c03b5728c1cec4f92bca8fa98bc5f1
BLAKE2b-256 28109f374c7c01ce5b6258e0919f6be407053a29468c95cef6c60fd037fc8421

See more details on using hashes here.

File details

Details for the file aiohttp_jwt-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aiohttp_jwt-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c81d69d84109025b7e66237263f8d5adfa71fb8e3513659a8687fb3094f724bf
MD5 e2b82d8393ccf4b27f400fecc84a357d
BLAKE2b-256 6884bb4f31167d499f47f39e5602e1712f2361e655c0527462386a8edc2597cc

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