Interface IAuthenticator
Performs authentication.
Direct known implementers
NSimpleAuthenticator
public
|
#
authenticate( array $credentials )
Performs an authentication against e.g. database. and returns IIdentity on success or throws NAuthenticationException |
integer |
USERNAME
|
0 |
#
Credential key |
integer |
PASSWORD
|
1 |
#
Credential key |
integer |
IDENTITY_NOT_FOUND
|
1 |
#
Exception error code |
integer |
INVALID_CREDENTIAL
|
2 |
#
Exception error code |
integer |
FAILURE
|
3 |
#
Exception error code |
integer |
NOT_APPROVED
|
4 |
#
Exception error code |