/requests-jwt

Use JSON Web Tokens (JWT) for authentication with Requests

Primary LanguagePythonOtherNOASSERTION

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.

image

image

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