Interface IAuthenticator (namespace Nette\Security)


Performs authentication.


Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Security/IAuthenticator.php (line 30)
Public Method Summary
IIdentity
authenticate ($credentials)
Performs an authentication against e.g. database.
Constant Summary
int FAILURE 3

line 40

Exception error code
int IDENTITY_NOT_FOUND 1

line 38

Exception error code
int INVALID_CREDENTIAL 2

line 39

Exception error code
string PASSWORD 'password'

line 34

Credential key
string USERNAME 'username'

line 33

Credential key

Method Details

line 51

authenticate

public IIdentity authenticate ($credentials)

Performs an authentication against e.g. database.

and returns IIdentity on success or throws AuthenticationException

Input
$credentials
Output
IIdentity  
Throws
throws AuthenticationException