Skip to main content

OAuth 2.0 client

Project description

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.0
-----
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.0 contains enhancements from W
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.5.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

ndg_oauth_client-0.5.0-py2.7.egg (88.5 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for ndg_oauth_client-0.5.0.tar.gz
Algorithm Hash digest
SHA256 fb662e734701b56b2044dda8c522bef9b7e36967b6f473f010e1a57f6c9cbe9d
MD5 2f5e048db04482a44dec6e94f8c2b301
BLAKE2b-256 ec3d1eb1fa53ab45b4aab47b24d0c4d32701a3e5dff5ebf7951be88d841a88a8

See more details on using hashes here.

File details

Details for the file ndg_oauth_client-0.5.0-py2.7.egg.

File metadata

File hashes

Hashes for ndg_oauth_client-0.5.0-py2.7.egg
Algorithm Hash digest
SHA256 0115f9863565cb9409e26082fac90758e7a40b497e7e67b6a0361962f0fc6ede
MD5 8ac7bf66c0330dc19952b3af621e5277
BLAKE2b-256 2be5f827d78a23bc8a4fb6f7c831e5ac1ca4f80a94ddf3c56cf7a65eea3be19c

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