Methods
constructor
__construct()
function the authentication plugin uses to get accepted roles for each function
Here login and logout are not protected, however
_getMethodRoles(\<String> $methodName) : \<array>
Parameters
$methodName
\<String>
Returns
\<array>
function to create a new user to authenticate with AMFPHP
createUser(string $firstName, string $lastName, string $userName, string $password, int $userRoleId) : \stdClass
Parameters
$firstName
string
$lastName
string
$userName
string
$password
string
$userRoleId
int
Exceptions
Returns
function to delete an AMFPHP authentication user
deleteUser(int $id)
get users
getUsers() : array
function to update an existing AMFPHP authentication user
updateUser(string $firstName, string $lastName, string $userName, string $password, int $userRoleId, int $id) : \type
Parameters
$firstName
string
$lastName
string
$userName
string
$password
string
$userRoleId
int
$id
int
Exceptions
Returns
\type
Properties
$adminOnlyMethods : array
$protectedMethods : array