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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

Supported by

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