This package allows for HTTP JSON Web Token (JWT) authentication using the requests library.
Project description
This package allows for HTTP authentication using JSON Web Tokens.
Usage
JWTAuth extends requests AuthBase, so usage is simple:
import requests
from requests_jwt import JWTAuth
auth = JWTAuth('secretT0Ken')
requests.get("http://jwt-protected.com", auth=auth)
More documentation is available at Read the Docs.
Installation
pip install requests_jwt
Requirements
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
requests-jwt-0.2.tar.gz
(2.0 kB
view hashes)