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
Metadata
Release files for requests-jwt 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| requests-jwt-0.3.tar.gz | 3.8 kB | Details |
Release files / requests-jwt-0.3.tar.gz
| Download URL | requests-jwt-0.3.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffc0568d2c9698300f825569be4b10bdf6d1242fddc5c3c354b4132496a88563
|
|
BLAKE2b-256 checksum How to use checksums |
ae0440a2040a9c7ffbad2e0a93fa244dab35443d84767bfce4f48a4b1165d66c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |