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_Http |
17 * @subpackage Zend_Auth_Adapter_Http |
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: Http.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 |
33 * Implements a pretty good chunk of RFC 2617. |
33 * Implements a pretty good chunk of RFC 2617. |
34 * |
34 * |
35 * @category Zend |
35 * @category Zend |
36 * @package Zend_Auth |
36 * @package Zend_Auth |
37 * @subpackage Zend_Auth_Adapter_Http |
37 * @subpackage Zend_Auth_Adapter_Http |
38 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
38 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
39 * @license http://framework.zend.com/license/new-bsd New BSD License |
39 * @license http://framework.zend.com/license/new-bsd New BSD License |
40 * @todo Support auth-int |
40 * @todo Support auth-int |
41 * @todo Track nonces, nonce-count, opaque for replay protection and stale support |
41 * @todo Track nonces, nonce-count, opaque for replay protection and stale support |
42 * @todo Support Authentication-Info header |
42 * @todo Support Authentication-Info header |
43 */ |
43 */ |
161 * 'nonce_timeout' => <int> |
161 * 'nonce_timeout' => <int> |
162 * 'use_opaque' => <bool> Whether to send the opaque value in the header |
162 * 'use_opaque' => <bool> Whether to send the opaque value in the header |
163 * 'alogrithm' => <string> See $_supportedAlgos. Default: MD5 |
163 * 'alogrithm' => <string> See $_supportedAlgos. Default: MD5 |
164 * 'proxy_auth' => <bool> Whether to do authentication as a Proxy |
164 * 'proxy_auth' => <bool> Whether to do authentication as a Proxy |
165 * @throws Zend_Auth_Adapter_Exception |
165 * @throws Zend_Auth_Adapter_Exception |
166 * @return void |
|
167 */ |
166 */ |
168 public function __construct(array $config) |
167 public function __construct(array $config) |
169 { |
168 { |
170 if (!extension_loaded('hash')) { |
169 if (!extension_loaded('hash')) { |
171 /** |
170 /** |