Skip to main content

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.

https://api.travis-ci.org/tgs/requests-jwt.svg https://coveralls.io/repos/tgs/requests-jwt/badge.png

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)

Uploaded Source

Built Distribution

requests_jwt-0.6.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

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

Hashes for requests-jwt-0.6.0.tar.gz
Algorithm Hash digest
SHA256 07822cb11b980f209050a3ae46a61d7961b94818e3cfc26d21c82d967c99fac4
MD5 dea85a1085653315aff4925e1efd7ae3
BLAKE2b-256 264035dbd81b8234f69c92f57d0f2c971338a9e04dd3b956c04856f1b86e65dc

See more details on using hashes here.

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

Hashes for requests_jwt-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b8190d822b9134eb7f2ee229af0a5a309a1c169e4a5c969e4d2a7dd434678be
MD5 81d5667d21dcea9fe9408a0a98f4b90e
BLAKE2b-256 94a7d88be0ee9380a44d9857297cb0b60f0712cb8e77f8cbb3739824be64473a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page