Skip to main content

OAuth 2.0 client

Project description

This is an OAuth 2.0 client library and WSGI middleware filter.

Releases

0.6.0

  • Clean up of password-based authentication of client by authorization server

  • Removal of redundant MyProxy hooks

0.5.1

New pseudo release to keep in sync with ndg_oauth_server package versioning. No changes from 0.4.0. New ndg_oauth_server 0.5.1 contains enhancements from W van Engen including support for password based authentication for clients. See ndg_oauth_server package for details.

0.4.0

  • Revised examples in ndg.oauth.client.examples. bearer_tok uses bearer token to secure access to a simple html page on a resource server, slcs is an example protecting a short-lived credential service aka Online Certificate Authority. This requires the ContrailOnlineCAClient package and should be used in conjunction with the equivalent example in the ndg_oauth_server example.

  • Revised ndg.oauth.client.lib.oauth2client.Oauth2Client to include support for bearer access token passed in Authorization header to resource server.

Prerequisites

This has been developed and tested for Python 2.6 and 2.7.

Installation

Installation can be performed using easy_install or pip.

Configuration

Examples are contained in the examples/ sub-folder:

bearer_tok/:

This configures a simple test application that uses string based tokens.

slcs/:

Bearer token example protecting a Short-Lived Credential Service or OnlineCA. ContrailOnlineCAService package is needed for this example.

The examples should be used in conjunction with the ndg_oauth_server package.

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

ndg_oauth_client-0.6.0.tar.gz (47.0 kB view details)

Uploaded Source

File details

Details for the file ndg_oauth_client-0.6.0.tar.gz.

File metadata

File hashes

Hashes for ndg_oauth_client-0.6.0.tar.gz
Algorithm Hash digest
SHA256 a3a6c7e86019c4bf1ee5890283dad9f4d2815e60a42edeca66e35842332f5919
MD5 064da0301e16bf85d34e469ea27d26c4
BLAKE2b-256 4f3abce72973b98c6c2a4ed74a0e631f9f751e512cb29aa80bc1cd14e7ab0abb

See more details on using hashes here.

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