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
getMethodRoles ( $methodName)
void login ( $userId, String $password, String $userid)
void logout ()
Methods
adminMethod (line 65)

method that is protected by authentication. Only "admin" role is authorized. (see getMethodRoles)

  • return: "ok"
  • access: public
adminMethod ()
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
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 ()

Documentation generated on Thu, 24 Mar 2011 16:55:39 +0100 by phpDocumentor 1.4.3