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