/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/authentication/src/Authenticator
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/authentication/src/Authenticator/Result.php (3280B)
_status = $status;
$this->_data = $data;
$this->_errors = $messages;
}
/**
* Returns whether the result represents a successful authentication attempt.
*
* @return bool
*/
public function isValid(): bool
{
return $this->_status === ResultInterface::SUCCESS;
}
/**
* Get the result status for this authentication attempt.
*
* @return string
*/
public function getStatus(): string
{
return $this->_status;
}
/**
* Returns the identity data used in the authentication attempt.
*
* @return \ArrayAccess|array|null
*/
public function getData()
{
return $this->_data;
}
/**
* Returns an array of string reasons why the authentication attempt was unsuccessful.
*
* If authentication was successful, this method returns an empty array.
*
* @return array
*/
public function getErrors(): array
{
return $this->_errors;
}
}