equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Auth |
16 * @package Zend_Auth |
17 * @subpackage Zend_Auth_Adapter |
17 * @subpackage Zend_Auth_Adapter |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: OpenId.php 24593 2012-01-05 20:35:02Z matthew $ |
20 * @version $Id$ |
21 */ |
21 */ |
22 |
22 |
23 |
23 |
24 /** |
24 /** |
25 * @see Zend_Auth_Adapter_Interface |
25 * @see Zend_Auth_Adapter_Interface |
38 * authentication mechanism |
38 * authentication mechanism |
39 * |
39 * |
40 * @category Zend |
40 * @category Zend |
41 * @package Zend_Auth |
41 * @package Zend_Auth |
42 * @subpackage Zend_Auth_Adapter |
42 * @subpackage Zend_Auth_Adapter |
43 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
43 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
44 * @license http://framework.zend.com/license/new-bsd New BSD License |
44 * @license http://framework.zend.com/license/new-bsd New BSD License |
45 */ |
45 */ |
46 class Zend_Auth_Adapter_OpenId implements Zend_Auth_Adapter_Interface |
46 class Zend_Auth_Adapter_OpenId implements Zend_Auth_Adapter_Interface |
47 { |
47 { |
48 /** |
48 /** |
111 * @param string $returnTo HTTP URL to redirect response from server to |
111 * @param string $returnTo HTTP URL to redirect response from server to |
112 * @param string $root HTTP URL to identify consumer on server |
112 * @param string $root HTTP URL to identify consumer on server |
113 * @param mixed $extensions extension object or array of extensions objects |
113 * @param mixed $extensions extension object or array of extensions objects |
114 * @param Zend_Controller_Response_Abstract $response an optional response |
114 * @param Zend_Controller_Response_Abstract $response an optional response |
115 * object to perform HTTP or HTML form redirection |
115 * object to perform HTTP or HTML form redirection |
116 * @return void |
|
117 */ |
116 */ |
118 public function __construct($id = null, |
117 public function __construct($id = null, |
119 Zend_OpenId_Consumer_Storage $storage = null, |
118 Zend_OpenId_Consumer_Storage $storage = null, |
120 $returnTo = null, |
119 $returnTo = null, |
121 $root = null, |
120 $root = null, |
190 } |
189 } |
191 |
190 |
192 /** |
191 /** |
193 * Sets an optional response object to perform HTTP or HTML form redirection |
192 * Sets an optional response object to perform HTTP or HTML form redirection |
194 * |
193 * |
195 * @param string $root |
194 * @param string $response |
196 * @return Zend_Auth_Adapter_OpenId Provides a fluent interface |
195 * @return Zend_Auth_Adapter_OpenId Provides a fluent interface |
197 */ |
196 */ |
198 public function setResponse($response) |
197 public function setResponse($response) |
199 { |
198 { |
200 $this->_response = $response; |
199 $this->_response = $response; |