*/ abstract class Mage_Api2_Model_Auth_Adapter_Abstract { /** * Process request and figure out an API user type and its identifier * * Returns stdClass object with two properties: type and id * * @param Mage_Api2_Model_Request $request * @return stdClass */ abstract public function getUserParams(Mage_Api2_Model_Request $request); /** * Check if request contains authentication info for adapter * * @param Mage_Api2_Model_Request $request * @return boolean */ abstract public function isApplicableToRequest(Mage_Api2_Model_Request $request); }