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.3.tar.gz (4.1 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.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: requests-jwt-0.5.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.2

File hashes

Hashes for requests-jwt-0.5.3.tar.gz
Algorithm Hash digest
SHA256 4df3606a22c27b2dc4edad0ae6e83868945ca564f7ca49f82e4fd768fea6f879
MD5 e2b19a89514e934f53657316b52194e6
BLAKE2b-256 96d2353c6a71128effbfd897e7f160faa6629889592e1cb306fc9368a9661830

See more details on using hashes here.

File details

Details for the file requests_jwt-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: requests_jwt-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.2

File hashes

Hashes for requests_jwt-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3937445a36c7cae75c9d5866ae13ac8ec9ed00ff41fb6dfa8073a4473029396c
MD5 e313b792ee3a3428603ed3fcaebf79ba
BLAKE2b-256 5fd95b624a9770b36a29f67f3b4603944be286679dfef1e1a6d5dff8963f0a31

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