source: TI12-security/trunk/python/Tests/openid-provider/op/op/lib/ @ 4081

Subversion URL:
Revision 4081, 397 bytes checked in by pjkersha, 11 years ago (diff)

First working version of an OpenID Provider as opposed to a Relying Party as avail. with AuthKit?. The code is taken from the HTTPServer example in the Python OpenID package and refactored into WSGI middleware.

  • - WSGI middleware package
  • Tests/openid-provider/op: pylons project test harness for the above

TODO: integrate into AuthKit? and Beaker Session Middleware as required.

1"""The application's Globals object"""
2from pylons import config
4class Globals(object):
5    """Globals acts as a container for objects available throughout the
6    life of the application
7    """
9    def __init__(self):
10        """One instance of Globals is created during application
11        initialization and is available during requests via the 'g'
12        variable
13        """
14        pass
Note: See TracBrowser for help on using the repository browser.