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.4.tar.gz (3.9 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.4-py27-none-any.whl (4.2 kB view details)

Uploaded Python 2.7

File details

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

File metadata

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

File hashes

Hashes for requests-jwt-0.4.tar.gz
Algorithm Hash digest
SHA256 3be9bc462339a48f97e495cf26a3649ca0d2a84024f715fa73427604de422a23
MD5 45f23fddc47aad669a9337f2e295d583
BLAKE2b-256 0fa56427719742b48706a46b36c6f63614a33ac6761af191e86b90e99bf2d64c

See more details on using hashes here.

File details

Details for the file requests_jwt-0.4-py27-none-any.whl.

File metadata

File hashes

Hashes for requests_jwt-0.4-py27-none-any.whl
Algorithm Hash digest
SHA256 ccf9486bf57bef58f8b4ed1b57f00b31b67cfa5e23a285717165d0c36b81be39
MD5 6955d0e1fccecf43ac8813a417750cb3
BLAKE2b-256 5a6a5a15a2e7d840949e2560cf46977797c756e01fe303720510f53e7866a864

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