interface IAuthenticator

Performs authentication.

Constants

USERNAME

Credential key

PASSWORD

Credential key

IDENTITY_NOT_FOUND

Exception error code

INVALID_CREDENTIAL

Exception error code

FAILURE

Exception error code

NOT_APPROVED

Exception error code

Methods

authenticate(array $credentials)

Performs an authentication against e.g. database.

Details

at line 32
IIdentity authenticate(array $credentials)

Performs an authentication against e.g. database.

and returns IIdentity on success or throws AuthenticationException

Parameters

array $credentials

Return Value

IIdentity

Exceptions

AuthenticationException