Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions | Private Attributes
PluggableAuthService.plugins.tests.test_HTTPBasicAuthHelper.FauxHTTPRequest Class Reference

List of all members.

Public Member Functions

def __init__
def get

Private Member Functions

def _authUserPW

Private Attributes

 _name
 _password

Detailed Description

Definition at line 25 of file test_HTTPBasicAuthHelper.py.


Constructor & Destructor Documentation

def PluggableAuthService.plugins.tests.test_HTTPBasicAuthHelper.FauxHTTPRequest.__init__ (   self,
  name = None,
  password = None 
)

Definition at line 27 of file test_HTTPBasicAuthHelper.py.

00027 
00028     def __init__( self, name=None, password=None ):
00029 
00030         self._name = name
00031         self._password = password


Member Function Documentation

Definition at line 32 of file test_HTTPBasicAuthHelper.py.

00032 
00033     def _authUserPW( self ):
00034 
00035         if self._name is None:
00036             return None
00037 
00038         return self._name, self._password

Definition at line 39 of file test_HTTPBasicAuthHelper.py.

00039 
00040     def get(self, name, default=None):
00041         return getattr(self, name, default)

Here is the caller graph for this function:


Member Data Documentation

Definition at line 29 of file test_HTTPBasicAuthHelper.py.

Definition at line 30 of file test_HTTPBasicAuthHelper.py.


The documentation for this class was generated from the following file: