Skip to content

Use JSON Web Tokens (JWT) for authentication with Requests

License

Notifications You must be signed in to change notification settings

robinhughes/requests-jwt

 
 

Repository files navigation

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://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

About

Use JSON Web Tokens (JWT) for authentication with Requests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%