Back to index

plone3  3.1.7
Classes | Functions | Variables
plone.openid.plugins.oid Namespace Reference

Classes

class  OpenIdPlugin

Functions

def addOpenIdPlugin

Variables

tuple manage_addOpenIdPlugin
tuple logger = logging.getLogger("PluggableAuthService")

Function Documentation

def plone.openid.plugins.oid.addOpenIdPlugin (   self,
  id,
  title = '',
  REQUEST = None 
)
Add a OpenID plugin to a Pluggable Authentication Service.

Definition at line 21 of file oid.py.

00021 
00022 def addOpenIdPlugin(self, id, title='', REQUEST=None):
00023     """Add a OpenID plugin to a Pluggable Authentication Service.
00024     """
00025     p=OpenIdPlugin(id, title)
00026     self._setObject(p.getId(), p)
00027 
00028     if REQUEST is not None:
00029         REQUEST["RESPONSE"].redirect("%s/manage_workspace"
00030                 "?manage_tabs_message=OpenID+plugin+added." %
00031                 self.absolute_url())
00032 

Here is the caller graph for this function:


Variable Documentation

tuple plone.openid.plugins.oid.logger = logging.getLogger("PluggableAuthService")

Definition at line 19 of file oid.py.

Initial value:
00001 PageTemplateFile("../www/openidAdd", globals(), 
00002                 __name__="manage_addOpenIdPlugin")

Definition at line 16 of file oid.py.