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.4.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for requests_jwt-0.4-py27-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf9486bf57bef58f8b4ed1b57f00b31b67cfa5e23a285717165d0c36b81be39 |
|
MD5 | 6955d0e1fccecf43ac8813a417750cb3 |
|
BLAKE2b-256 | 5a6a5a15a2e7d840949e2560cf46977797c756e01fe303720510f53e7866a864 |