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 |
string
|
USERNAME
|
'username' |
#
Credential key |
string
|
PASSWORD
|
'password' |
|
integer
|
IDENTITY_NOT_FOUND
|
1 |
#
Exception error code |
integer
|
INVALID_CREDENTIAL
|
2 |
|
integer
|
FAILURE
|
3 |
|
integer
|
NOT_APPROVED
|
4 |