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

Uploaded Source

File details

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

File metadata

  • Download URL: requests-jwt-0.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for requests-jwt-0.2.tar.gz
Algorithm Hash digest
SHA256 64fce242cc0b17fe4d1508b633f11767b096ab272726c5321c5812d92db05208
MD5 61d675dd0b65f10bfa46dd80ac103d7e
BLAKE2b-256 2c543bb9d17b890a0e3142d2743de91f85c4fc97e3f5037677d7df8476265d86

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