Skip to main content
This is an OAuth 2.0 client library and WSGI middleware filter.

It supports simple string-based bearer token and a custom extension to enable
the use of X.509 certificates as tokens. The latter has been added to enable
a SLCS (Short-lived Credential Service) to issue delegated X.509-based
credentials using OAuth.

Releases
========
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.

Release files for ndg-oauth-client 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ndg-oauth-client 0.5.1
File Size Uploaded
ndg_oauth_client-0.5.1.tar.gz 18.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ndg-oauth-client 0.5.1
File Interpreter ABI Platform
ndg_oauth_client-0.5.1-py2.7.egg Legacy Egg format - - Details

Total release size: 106.4 kB

Release files / ndg_oauth_client-0.5.1.tar.gz

Download URL ndg_oauth_client-0.5.1.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
75931eddf2541d7358ec2244f18981b9a6d1f4f0848bb4cddb0600c2dd40b132
BLAKE2b-256 checksum
How to use checksums
c655d85fa3190d74727f4e5716bd73321ce04c63402c45739f73d47f261bd405
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ndg_oauth_client-0.5.1-py2.7.egg

Download URL ndg_oauth_client-0.5.1-py2.7.egg
Size 88.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
8a9b7588734cb85fe72cd54e34214b5f710d0b6dcb00f517931cc6adce38e7ab
BLAKE2b-256 checksum
How to use checksums
5db1a86d558ff0da0326f52e18066979f438f574268ca86b425ea366c1b45364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.6.0

1 release file

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.0

3 release files

0.3.1

3 release files

0.3.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page