Class SimpleAuthenticator
Trivial implementation of IAuthenticator.
-
Object
-
SimpleAuthenticator
implements
IAuthenticator
Methods summary
public
|
#
__construct( array $userlist )
Parameters
- $userlist
array list of pairs username => password
|
public
IIdentity
|
#
authenticate( array $credentials )
Performs an authentication against e.g. database. and returns IIdentity on
success or throws AuthenticationException
Performs an authentication against e.g. database. and returns IIdentity on
success or throws AuthenticationException
Returns
Throws
Implementation of
|