19declare(strict_types=1);
21require_once __DIR__ .
'/../../soap/lib/nusoap.php';
33 $ret[
'firstname'] =
'first ' .
$ext_uid;
34 $ret[
'lastname'] =
'last ' .
$ext_uid;
42 $ret[
'valid'] =
false;
54 define(
'SERVICE_NAME',
'ILIAS SOAP Dummy Authentication Server');
55 define(
'SERVICE_NAMESPACE',
'urn:ilSoapDummyAuthServer');
56 define(
'SERVICE_STYLE',
'rpc');
57 define(
'SERVICE_USE',
'encoded');
70 $postdata = file_get_contents(
'php://input');
71 $this->
server->service($postdata);
77 $this->
server->configureWSDL(SERVICE_NAME, SERVICE_NAMESPACE);
85 $this->
server->wsdl->addComplexType(
92 [[
'ref' =>
'SOAP-ENC:arrayType',
'wsdl:arrayType' =>
'xsd:int[]']],
97 $this->
server->wsdl->addComplexType(
104 [[
'ref' =>
'SOAP-ENC:arrayType',
'wsdl:arrayType' =>
'xsd:string[]']],
111 'ext_uid' =>
'xsd:string',
112 'soap_pw' =>
'xsd:string',
113 'new_user' =>
'xsd:boolean'
116 'valid' =>
'xsd:boolean',
117 'firstname' =>
'xsd:string',
118 'lastname' =>
'xsd:string',
119 'email' =>
'xsd:string'
122 SERVICE_NAMESPACE .
'#isValidSession',
125 'Dummy Session Validation'
isValidSession(string $ext_uid, string $soap_pw, bool $new_user)
__construct(bool $a_use_wsdl=true)