| Line 12... |
Line 12... |
| 12 |
* the PHP License and are unable to obtain it through the web, please
|
12 |
* the PHP License and are unable to obtain it through the web, please
|
| 13 |
* send a note to license@php.net so we can mail you a copy immediately.
|
13 |
* send a note to license@php.net so we can mail you a copy immediately.
|
| 14 |
*
|
14 |
*
|
| 15 |
* @category Authentication
|
15 |
* @category Authentication
|
| 16 |
* @package Auth
|
16 |
* @package Auth
|
| 17 |
* @author Bruno Pedro <bpedro@co.sapo.pt>
|
17 |
* @author Bruno Pedro <bpedro@co.sapo.pt>
|
| 18 |
* @author Adam Ashley <aashley@php.net>
|
18 |
* @author Adam Ashley <aashley@php.net>
|
| 19 |
* @copyright 2001-2006 The PHP Group
|
19 |
* @copyright 2001-2006 The PHP Group
|
| 20 |
* @license http://www.php.net/license/3_01.txt PHP License 3.01
|
20 |
* @license http://www.php.net/license/3_01.txt PHP License 3.01
|
| 21 |
* @version CVS: $Id: SOAP.php,v 1.2 2006-12-14 15:04:28 jp_milcent Exp $
|
21 |
* @version CVS: $Id: SOAP.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
|
| 22 |
* @link http://pear.php.net/package/Auth
|
22 |
* @link http://pear.php.net/package/Auth
|
| 23 |
* @since File available since Release 1.2.0
|
23 |
* @since File available since Release 1.2.0
|
| 24 |
*/
|
24 |
*/
|
| Line 25... |
Line 25... |
| 25 |
|
25 |
|
| Line 81... |
Line 81... |
| 81 |
* @package Auth
|
81 |
* @package Auth
|
| 82 |
* @author Bruno Pedro <bpedro@co.sapo.pt>
|
82 |
* @author Bruno Pedro <bpedro@co.sapo.pt>
|
| 83 |
* @author Adam Ashley <aashley@php.net>
|
83 |
* @author Adam Ashley <aashley@php.net>
|
| 84 |
* @copyright 2001-2006 The PHP Group
|
84 |
* @copyright 2001-2006 The PHP Group
|
| 85 |
* @license http://www.php.net/license/3_01.txt PHP License 3.01
|
85 |
* @license http://www.php.net/license/3_01.txt PHP License 3.01
|
| 86 |
* @version Release: 1.4.3 File: $Revision: 1.2 $
|
86 |
* @version Release: 1.5.4 File: $Revision: 1.3 $
|
| 87 |
* @link http://pear.php.net/package/Auth
|
87 |
* @link http://pear.php.net/package/Auth
|
| 88 |
* @since Class available since Release 1.2.0
|
88 |
* @since Class available since Release 1.2.0
|
| 89 |
*/
|
89 |
*/
|
| 90 |
class Auth_Container_SOAP extends Auth_Container
|
90 |
class Auth_Container_SOAP extends Auth_Container
|
| 91 |
{
|
91 |
{
|
| Line 168... |
Line 168... |
| 168 |
* @param string Password
|
168 |
* @param string Password
|
| 169 |
* @return mixed Returns the SOAP response or false if something went wrong
|
169 |
* @return mixed Returns the SOAP response or false if something went wrong
|
| 170 |
*/
|
170 |
*/
|
| 171 |
function fetchData($username, $password)
|
171 |
function fetchData($username, $password)
|
| 172 |
{
|
172 |
{
|
| - |
|
173 |
$this->log('Auth_Container_SOAP::fetchData() called.', AUTH_LOG_DEBUG);
|
| 173 |
// check if all required options are set
|
174 |
// check if all required options are set
|
| 174 |
if (array_intersect($this->_requiredOptions, array_keys($this->_options)) != $this->_requiredOptions) {
|
175 |
if (array_intersect($this->_requiredOptions, array_keys($this->_options)) != $this->_requiredOptions) {
|
| 175 |
return false;
|
176 |
return false;
|
| 176 |
} else {
|
177 |
} else {
|
| 177 |
// create a SOAP client and set encoding
|
178 |
// create a SOAP client and set encoding
|