SimpleAuthenticator
class SimpleAuthenticator implements IAuthenticator
Trivial implementation of IAuthenticator.
Methods
__construct(array $userlist, array $usersRoles = [], array $usersData = [])
No description
authenticate(array $credentials)
Performs an authentication against e.g. database.
Details
at line 37
__construct(array $userlist, array $usersRoles = [], array $usersData = [])
No description
at line 50
IIdentity
authenticate(array $credentials)
Performs an authentication against e.g. database.
and returns IIdentity on success or throws AuthenticationException
Traits
Strict class for better experience.