SimpleAuthenticator
class SimpleAuthenticator implements Authenticator
Trivial implementation of Authenticator.
Methods
__construct(array $passwords, array $roles = [], array $data = [])
No description
authenticate(string $username, string $password)
Performs an authentication against e.g. database.
bool
verifyPassword(string $password, string $passOrHash)
No description
Details
at line 37
__construct(array $passwords, array $roles = [], array $data = [])
No description
at line 54
IIdentity
authenticate(string $username, string $password)
Performs an authentication against e.g. database.
and returns IIdentity on success or throws AuthenticationException
at line 74
protected bool
verifyPassword(string $password, string $passOrHash)
No description
Traits
SmartObject