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
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.3.tar.gz
(3.8 kB
view details)
File details
Details for the file requests-jwt-0.3.tar.gz.
File metadata
- Download URL: requests-jwt-0.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc0568d2c9698300f825569be4b10bdf6d1242fddc5c3c354b4132496a88563
|
|
| MD5 |
bdbabee1ccd16f8c4dd157c5fb337d1f
|
|
| BLAKE2b-256 |
ae0440a2040a9c7ffbad2e0a93fa244dab35443d84767bfce4f48a4b1165d66c
|