lithium\security\auth\adapter\Http::check()
Called by the Auth class to run an authentication check against the HTTP data using the
credentials in a data container (a Request object), and returns an array of user
information on success, or false on failure.
Parameters
-
object
$requestA env container which wraps the authentication credentials used by HTTP (usually a
Requestobject). See the documentation for this class for further details. -
array
$optionsAdditional configuration options. Not currently implemented in this adapter.
Returns
arrayReturns an array containing user information on success, or false on failure.
Source
public function check($request, array $options = []) {
$method = "_{$this->_config['method']}";
return $this->{$method}($request);
}