tokenData)) { #require_once 'Zend/Service/DeveloperGarden/Response/Exception.php'; throw new Zend_Service_DeveloperGarden_Response_Exception('No valid tokenData found.'); } return $this->tokenData; } /** * returns the token format value * * @return string */ public function getTokenFormat() { return $this->tokenFormat; } /** * returns the token encoding * * @return string */ public function getTokenEncoding() { return $this->tokenEncoding; } /** * returns true if the stored token data is valid * * @return boolean */ public function isValid() { /** * @todo implement the true token validation check */ if (!empty($this->securityTokenData)) { return true; } return false; } }