Back to index

plone3  3.1.7
Classes | Functions | Variables
PluggableAuthService.plugins.ChallengeProtocolChooser Namespace Reference

Classes

class  IChallengeProtocolChooserPlugin
class  ChallengeProtocolChooser

Functions

def registerRequestType
def listRequestTypesLabels
def addChallengeProtocolChooserPlugin

Variables

tuple _request_types = ()
dictionary _request_type_bmap = {}
tuple manage_addChallengeProtocolChooserForm

Function Documentation

def PluggableAuthService.plugins.ChallengeProtocolChooser.addChallengeProtocolChooserPlugin (   dispatcher,
  id,
  title = None,
  mapping = None,
  REQUEST = None 
)
Add a ChallengeProtocolChooserPlugin to a Pluggable Auth Service. 

Definition at line 68 of file ChallengeProtocolChooser.py.

00068 
00069                                        mapping=None, REQUEST=None ):
00070     """ Add a ChallengeProtocolChooserPlugin to a Pluggable Auth Service. """
00071 
00072     cpc = ChallengeProtocolChooser(id, title=title, mapping=mapping)
00073     dispatcher._setObject(cpc.getId(), cpc)
00074 
00075     if REQUEST is not None:
00076         REQUEST['RESPONSE'].redirect(
00077                                 '%s/manage_workspace'
00078                                 '?manage_tabs_message='
00079                                 'ChallengeProtocolChooser+added.'
00080                             % dispatcher.absolute_url())
00081 

Definition at line 61 of file ChallengeProtocolChooser.py.

00061 
00062 def listRequestTypesLabels():
00063     return _request_type_bmap.values()

Here is the caller graph for this function:

Definition at line 54 of file ChallengeProtocolChooser.py.

00054 
00055 def registerRequestType(label, iface):
00056     global _request_types
00057     registry = list(_request_types)
00058     registry.append((label, iface))
00059     _request_types = tuple(registry)
00060     _request_type_bmap[iface] = label

Here is the caller graph for this function:


Variable Documentation

Definition at line 52 of file ChallengeProtocolChooser.py.

Definition at line 51 of file ChallengeProtocolChooser.py.

Initial value:
00001 PageTemplateFile(
00002     'www/cpcAdd', globals(), __name__='manage_addChallengeProtocolChooserForm' )

Definition at line 64 of file ChallengeProtocolChooser.py.