This package allows for HTTP JSON Web Token (JWT) authentication using the requests library.
Project description
This package is not actively maintained and has never had a security audit.
requests-jwt
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.6.0.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file requests-jwt-0.6.0.tar.gz
.
File metadata
- Download URL: requests-jwt-0.6.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07822cb11b980f209050a3ae46a61d7961b94818e3cfc26d21c82d967c99fac4 |
|
MD5 | dea85a1085653315aff4925e1efd7ae3 |
|
BLAKE2b-256 | 264035dbd81b8234f69c92f57d0f2c971338a9e04dd3b956c04856f1b86e65dc |
File details
Details for the file requests_jwt-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: requests_jwt-0.6.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b8190d822b9134eb7f2ee229af0a5a309a1c169e4a5c969e4d2a7dd434678be |
|
MD5 | 81d5667d21dcea9fe9408a0a98f4b90e |
|
BLAKE2b-256 | 94a7d88be0ee9380a44d9857297cb0b60f0712cb8e77f8cbb3739824be64473a |