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 |
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 |