Class AuthenticationService

Description

a simple authentication service, used for testing the AmfphpAuthentication plugin

  • author: Ariel Sommeria-klein

Located in /Tests/TestData/Services/AuthenticationService.php (line 23)


	
			
Method Summary
void login ( $userId, String $password, String $userid)
void logout ()
_getMethodRoles ( $methodName)
Methods
adminMethod (line 65)

method that is protected by authentication. Only 'admin' role is authorized. (see _getMethodRoles)

  • return: 'ok'
  • access: public
adminMethod ()
login (line 31)

test login function

  • access: public
void login ( $userId, String $password, String $userid)
  • String $userid
  • String $password
  • $userId
logout (line 43)

test logout function

  • access: public
void logout ()
_getMethodRoles (line 53)

function the authentication plugin uses to get accepted roles for each function

Here login and logout are not protected, however

  • access: public
_getMethodRoles ( $methodName)
  • $methodName

Documentation generated on Mon, 23 Jan 2012 17:22:04 -0300 by phpDocumentor 1.4.3