Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Private Member Functions
PluggableAuthService.tests.test_PluggableAuthService.FauxResponse Class Reference

List of all members.

Public Member Functions

def __init__
def notFoundError
def unauthorized
def exception
def redirect

Public Attributes

 challenger

Private Member Functions

def _unauthorized

Detailed Description

Definition at line 251 of file test_PluggableAuthService.py.


Constructor & Destructor Documentation

Definition at line 253 of file test_PluggableAuthService.py.

00253 
00254     def __init__( self ):
00255         pass


Member Function Documentation

Definition at line 259 of file test_PluggableAuthService.py.

00259 
00260     def _unauthorized(self):
00261         self.challenger = self

Here is the caller graph for this function:

Definition at line 266 of file test_PluggableAuthService.py.

00266 
00267     def exception(self):
00268         self._unauthorized()
00269         return "An error has occurred."

Here is the call graph for this function:

Definition at line 256 of file test_PluggableAuthService.py.

00256 
00257     def notFoundError( self, message ):
00258         raise FauxNotFoundError, message

Definition at line 270 of file test_PluggableAuthService.py.

00270 
00271     def redirect(self, *ignore, **ignored):
00272         pass

Definition at line 262 of file test_PluggableAuthService.py.

00262 
00263     def unauthorized(self):
00264         self._unauthorized()
00265         raise Unauthorized, 'You can not do this!'

Here is the call graph for this function:


Member Data Documentation

Definition at line 260 of file test_PluggableAuthService.py.


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