QuickBooks/IPP.php
public function authMode($authmode = null, $authuser = null, $authcred = null, $authsign = null, $authkey = null)
	{
		if ($authmode)
		{
			$this->_authmode = $authmode;
			$this->_authuser = $authuser;
			$this->_authcred = $authcred;

			$this->_authsign = $authsign;
			$this->_authkey = $authkey;
		}

		return $this->_authmode;
	}
public function authMode($authmode = null, $authuser = null, $authcred = null, $authsign = null, $authkey = null)
	{
		if ($authmode)
		{
			$this->_authmode = $authmode;
			$this->_authuser = $authuser;
			$this->_authcred = $authcred;

			$this->_authsign = $authsign;
			$this->_authkey = $authkey;
		}

		return $this->_authmode;
	}
Set the authorization mode for HTTP requests (Federated, or OAuth)

@param string $authmode		The new auth mode
@return string				The currently set auth mode