public function isApplicableToRequest(Mage_Api2_Model_Request $request)
    {
        // This auth adapter is for frontend use only
        if (Mage::app()->getStore()->isAdmin()) {
            return false;
        }

        // Ensure frontend sessions are initialized using the proper cookie name
        $this->getHelper()->getCoreSession();

        // We are only applicable if the customer is logged in already
        return $this->getHelper()->getCustomerSession()->isLoggedIn();
    }
public function isApplicableToRequest(Mage_Api2_Model_Request $request)
    {
        // This auth adapter is for frontend use only
        if (Mage::app()->getStore()->isAdmin()) {
            return false;
        }

        // Ensure frontend sessions are initialized using the proper cookie name
        $this->getHelper()->getCoreSession();

        // We are only applicable if the customer is logged in already
        return $this->getHelper()->getCustomerSession()->isLoggedIn();
    }
public function isApplicableToRequest ( Mage_Api2_Model_Request $ request ) { // This auth adapter is for frontend use only if ( Mage :: app ( ) -> getStore ( ) -> isAdmin ( ) ) { return false ; } // Ensure frontend sessions are initialized using the proper cookie name $ this -> getHelper ( ) -> getCoreSession ( ) ; // We are only applicable if the customer is logged in already return $ this -> getHelper ( ) -> getCustomerSession ( ) -> isLoggedIn ( ) ; }
Check if request contains authentication info for adapter

@param Mage_Api2_Model_Request $request

@return boolean
Check if request contains authentication info for adapter