class SimpleAuthenticator extends Object implements IAuthenticator

Trivial implementation of IAuthenticator.

Methods

__construct(array $userlist, array $usersRoles = array())

No description

authenticate(array $credentials)

Performs an authentication against e.g. database.

Details

at line 31
__construct(array $userlist, array $usersRoles = array())

No description

Parameters

array $userlist
array $usersRoles

at line 44
IIdentity authenticate(array $credentials)

Performs an authentication against e.g. database.

and returns IIdentity on success or throws AuthenticationException

Parameters

array $credentials

Return Value

IIdentity

Exceptions

AuthenticationException