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
- of pairs username => password
- $usersRoles
- 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
|