IAuthenticator
interface IAuthenticator
Performs authentication.
Constants
| USERNAME |
Credential key |
| PASSWORD |
Credential key |
| IDENTITY_NOT_FOUND |
Exception error code |
| INVALID_CREDENTIAL |
Exception error code |
| FAILURE |
Exception error code |
| NOT_APPROVED |
Exception error code |
Methods
authenticate(array $credentials)
Performs an authentication against e.g. database.
Details
at line 35
IIdentity
authenticate(array $credentials)
Performs an authentication against e.g. database.
and returns IIdentity on success or throws AuthenticationException