QuickBooks/Driver.php
final public function authLogin($username, $password, &$company_file, &$wait_before_next_update, &$min_run_every_n_seconds, $override = false)
	{
		$hookdata = array(
			'username' => $username, 
			'password' => $password, 
			'override' => $override, 
			);
		$err = '';
		$this->_callHook(QUICKBOOKS_DRIVER_HOOK_AUTHLOGIN, null, $err, $hookdata);
		
		return $this->_authLogin($username, $password, $company_file, $wait_before_next_update, $min_run_every_n_seconds, $override);
	}
final public function authLogin($username, $password, &$company_file, &$wait_before_next_update, &$min_run_every_n_seconds, $override = false)
	{
		$hookdata = array(
			'username' => $username, 
			'password' => $password, 
			'override' => $override, 
			);
		$err = '';
		$this->_callHook(QUICKBOOKS_DRIVER_HOOK_AUTHLOGIN, null, $err, $hookdata);
		
		return $this->_authLogin($username, $password, $company_file, $wait_before_next_update, $min_run_every_n_seconds, $override);
	}
Establish a session for a user (log that user in)

The QuickBooks Web Connector will pass a username and password to the
SOAP server. There is a SOAP ->authenticate() method which logs the user
in.

@param string $username		The username for the QuickBooks Web Connector user
@param string $password		The password for the QuickBooks Web Connector user
@param boolean $override		If set to TRUE, a correct password will not be required
@return string				The ticket for the login session