Class NSimpleAuthenticator
Trivial implementation of IAuthenticator.
-
NObject
-
NSimpleAuthenticator
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 NAuthenticationException
Performs an authentication against e.g. database. and returns IIdentity on
success or throws NAuthenticationException
Returns
Throws
Implementation of
|