From 06f945f27840b53e57795dadbc38e76f7e11ab1c Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 24 Feb 2014 16:42:14 +0100 Subject: init --- .../Zend/Gdata/App/CaptchaRequiredException.php | 94 ++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 zend/library/Zend/Gdata/App/CaptchaRequiredException.php (limited to 'zend/library/Zend/Gdata/App/CaptchaRequiredException.php') diff --git a/zend/library/Zend/Gdata/App/CaptchaRequiredException.php b/zend/library/Zend/Gdata/App/CaptchaRequiredException.php new file mode 100644 index 0000000..b09e668 --- /dev/null +++ b/zend/library/Zend/Gdata/App/CaptchaRequiredException.php @@ -0,0 +1,94 @@ +captchaToken = $captchaToken; + $this->captchaUrl = Zend_Gdata_App_CaptchaRequiredException::ACCOUNTS_URL . $captchaUrl; + parent::__construct('CAPTCHA challenge issued by server'); + } + + /** + * Retrieves the token identifier as provided by the server. + * + * @return string + */ + public function getCaptchaToken() { + return $this->captchaToken; + } + + /** + * Retrieves the URL CAPTCHA image as provided by the server. + * + * @return string + */ + public function getCaptchaUrl() { + return $this->captchaUrl; + } + +} -- cgit v1.2.3