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.5.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

requests_jwt-0.5.1-py2.py3-none-any.whl (1.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file requests-jwt-0.5.1.tar.gz.

File metadata

  • Download URL: requests-jwt-0.5.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.4.3

File hashes

Hashes for requests-jwt-0.5.1.tar.gz
Algorithm Hash digest
SHA256 02a89bf755e76169c88a6c314b47cc2c5e5688d090a842485ca05c6957246353
MD5 f37bd16c1aeaefcfcde3f921c072d2e1
BLAKE2b-256 0b8142442a97b5f9b2144c56cc1a7b0b8cd7067966274f0a5cfa9a2e8b7891c2

See more details on using hashes here.

File details

Details for the file requests_jwt-0.5.1-py2.py3-none-any.whl.

File metadata

  • Download URL: requests_jwt-0.5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.4.3

File hashes

Hashes for requests_jwt-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fc2428d8b6473bbeb75adfe615b9c45222cf8e96cd310f9649ded8c39f33fa1a
MD5 885db3acdbbd8106c1f4e3df47197df7
BLAKE2b-256 e6860d63b3a9be717aa2b15badf559fc739a6e2d31916c8adc96f77eef50c806

See more details on using hashes here.

Supported by

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