Authentication
class Authentication implements AuthenticationInterface (View source)
The Authentication class.
Constants
SUCCESS |
|
INVALID_CREDENTIAL |
|
EMPTY_CREDENTIAL |
|
USER_NOT_FOUND |
|
INVALID_USERNAME |
|
INVALID_PASSWORD |
|
Methods
__construct(array $methods = array())
Authentication constructor.
bool|Credential
getMethod(string $name)
getMethod
$this
removeMethod(string $name)
removeMethod
integer[]
getResults()
Method to get property Results
getCredential()
Method to get property Credential
Details
at line line 58
__construct(array $methods = array())
Authentication constructor.
at line line 70
bool|Credential
authenticate(Credential $credential)
authenticate
at line line 101
AuthenticationInterface
addMethod(string $name, MethodInterface $method)
addMethod
at line line 115
MethodInterface
getMethod(string $name)
getMethod
at line line 132
$this
removeMethod(string $name)
removeMethod
at line line 147
integer[]
getResults()
Method to get property Results
at line line 157
Credential
getCredential()
Method to get property Credential