lithium\security\auth\adapter\Http::check()

public method

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 $request

    A env container which wraps the authentication credentials used by HTTP (usually a Request object). See the documentation for this class for further details.

  • array $options

    Additional configuration options. Not currently implemented in this adapter.

Returns

array

Returns 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);
	}