QuickBooks/IPP/Federator.php
public function checkOAuth($token, $encryption_key, $user, $tenant)
	{
		/*
		if ($arr = $this->loadOAuth($token, $encryption_key, $user, $tenant))
		{
			return true;
		}
		*/
		
		if (!$this->_driver)
		{
			return false;
		}
		
		if ($arr = $this->_driver->oauthLoad($encryption_key, $user, $tenant))
		{
			return true;
		}
		
		return false;
	}
public function checkOAuth($token, $encryption_key, $user, $tenant)
	{
		/*
		if ($arr = $this->loadOAuth($token, $encryption_key, $user, $tenant))
		{
			return true;
		}
		*/
		
		if (!$this->_driver)
		{
			return false;
		}
		
		if ($arr = $this->_driver->oauthLoad($encryption_key, $user, $tenant))
		{
			return true;
		}
		
		return false;
	}
Check if an OAuth token auth/realm psuedonym for the given user

@param string $token					Your Intuit application token
@param string $encryption_key		Your internal encryption key
@param string $user					The username or user ID from within your app
@param string $tenant				The tenant ID from within your app
@return boolean						TRUE if OAuth credentials exist, FALSE if they do not