Authenticator Authenticator(
)
|
|
mixed authenticate(
$name,
$password
)
|
|
This performs an Authentication check.
This returns
if authentication was correct, otherwise one of the listed Flags will be returned.The currently returned Flags are:
Parameters:
API Tags:
| Return: | the Flag o a Principal is returned |
Redefined in descendants as:
string createHash(
string
$password
)
|
|
Creates a hash to be used as password.
Do not store or query plain text values, always use encrypted data!
Parameters:
API Tags:
| Return: | the hashed password |