Skip to main content

This package allows for HTTP JSON Web Token (JWT) authentication using the requests library.

Project description

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

Uploaded Source

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

Hashes for requests-jwt-0.3.tar.gz
Algorithm Hash digest
SHA256 ffc0568d2c9698300f825569be4b10bdf6d1242fddc5c3c354b4132496a88563
MD5 bdbabee1ccd16f8c4dd157c5fb337d1f
BLAKE2b-256 ae0440a2040a9c7ffbad2e0a93fa244dab35443d84767bfce4f48a4b1165d66c

See more details on using hashes here.

Supported by

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