Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    ndg-oauth-client 0.4.0

    Download button

    No screenshots available
    Downloads: 106  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Philip Kershaw | More programs
    BSD License / FREE
    September 2nd, 2012, 17:36 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    ndg-oauth-client description

    OAuth 2.0 client

    ndg-oauth-client 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.

    ndg.oauth.client.lib.oauth2client:Oauth2Client is a client that calls a specified callable with an access token obtained from a configured OAuth server. ndg.oauth.client.lib.oauth2_myproxy_client:Oauth2MyProxyClient extends this to handle key creation for obtaining X.509 certificates.

    The filter ndg.oauth.client.wsgi.oauth2_client:Oauth2ClientMiddleware uses Oauth2MyProxyClient and sets the obtained access token in the WSGI environ. The token contains the key/certificate pair so that it can be used by other WSGI applications or middleware to authenticate.

    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/:
     This is a more complex and specialised example that issues X.509 certificate- based tokens as part of a Short-lived Credential Service. The corresponding authorisation server available from the ndg.oauth server package requires access to a specially configured MyProxyCA service ( http://grid.ncsa.illinois.edu/myproxy/ca/) configured with a custom PAM to allow issue of credentials. See: http://ndg-security.ceda.ac.uk/browser/trunk/MashMyData/pam_credential_translation

    The examples should be used in conjunction with the ndg.oauth server package.


    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · 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.

      


    TAGS:

    OAuth client | Python library | Python | OAuth | client

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM