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.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.
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.
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.1.tar.gz
(18.0 kB
view details)
Built Distribution
ndg_oauth_client-0.5.1-py2.7.egg
(88.5 kB
view details)
File details
Details for the file ndg_oauth_client-0.5.1.tar.gz
.
File metadata
- Download URL: ndg_oauth_client-0.5.1.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
75931eddf2541d7358ec2244f18981b9a6d1f4f0848bb4cddb0600c2dd40b132
|
|
MD5 |
dbe4a712c0ece921ebefabd74198becc
|
|
BLAKE2b-256 |
c655d85fa3190d74727f4e5716bd73321ce04c63402c45739f73d47f261bd405
|
File details
Details for the file ndg_oauth_client-0.5.1-py2.7.egg
.
File metadata
- Download URL: ndg_oauth_client-0.5.1-py2.7.egg
- Upload date:
- Size: 88.5 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8a9b7588734cb85fe72cd54e34214b5f710d0b6dcb00f517931cc6adce38e7ab
|
|
MD5 |
07b93ca1408f609927107dd7b731cf40
|
|
BLAKE2b-256 |
5db1a86d558ff0da0326f52e18066979f438f574268ca86b425ea366c1b45364
|