Class SimpleAuthenticator
Trivial implementation of IAuthenticator.
-
Nette\Object
-
Nette\Security\SimpleAuthenticator
implements
Nette\Security\IAuthenticator
Methods summary
public
|
#
__construct( array $userlist, array $usersRoles = array() )
Parameters
- $userlist
array list of pairs username => password
- $usersRoles
array list of pairs username => role[]
|
public
Nette\Security\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
|