ILIAS  release_8 Revision v8.24
dummy_client.php File Reference

Go to the source code of this file.

Functions

 showResult (nusoap_client $client, array $data, string $message)
 

Variables

 exit
 
 $server = $_GET["server"] ?: "http://localhost/Services/SOAPAuth/dummy_server.php"
 
 $ext_uid = $_GET["ext_uid"] ?: "testuser"
 
 $soap_pw = $_GET["soap_pw"] ?: "testpw"
 
 $new_user = $_GET["new_user"]
 
 $client = new nusoap_client($server)
 
if($err=$client->getError()) $namespace = "http://testuri.org"
 
 $valid
 

Function Documentation

◆ showResult()

showResult ( nusoap_client  $client,
array  $data,
string  $message 
)

Definition at line 72 of file dummy_client.php.

72 : void
73{
74 if ($client->fault) {
75 echo '<h2>Fault</h2><pre>';
76 print_r($data);
77 echo '</pre>';
78 } else {
79 // Check for errors
80 $err = $client->getError();
81 if ($err) {
82 // Display the error
83 echo '<h2>Error</h2><pre>' . $err . '</pre>';
84 exit;
85 } else {
86 // Display the result
87 echo '<h2>Result ' . $message . '</h2><pre>';
88 print_r($data ?: 'FAILED');
89 echo '</pre>';
90 }
91 }
92}
exit
$client
$message
Definition: xapiexit.php:32

References $client, $data, $message, and exit.

Variable Documentation

◆ $client

◆ $ext_uid

$ext_uid = $_GET["ext_uid"] ?: "testuser"

Definition at line 24 of file dummy_client.php.

Referenced by isValidSession().

◆ $namespace

◆ $new_user

$new_user = $_GET["new_user"]

Definition at line 28 of file dummy_client.php.

Referenced by isValidSession().

◆ $server

$server = $_GET["server"] ?: "http://localhost/Services/SOAPAuth/dummy_server.php"

Definition at line 22 of file dummy_client.php.

Referenced by ilLDAPServer\_getAllServer(), ilAuthUtils\_getMultipleAuthModeOptions(), ilECSObjectSettings\_handleDelete(), ilObjAuthSettingsGUI\authSettingsObject(), ilLTIConsumerResultService\checkSignature(), ilGlobalCacheMetricsCollectedObjective\collectFrom(), ilECSSettingsGUI\communities(), ilLDAPCronSynchronization\deactivateUsers(), ILIAS\FileDelivery\FileDeliveryTypes\PHPChunked\deliver(), ilAuthProviderECS\doAuthentication(), ilECSSettingsGUI\exportMappings(), ilMemcache\getActive(), ilECSEventQueueReader\getAllResourceIds(), ilAuthModeDetermination\getAuthModeSequence(), ilRemoteObjectBase\getFullRemoteLink(), ilMemcache\getInstallationFailureReason(), ilLDAPServer\getServerIds(), ilMathJaxBaseTest\getServerMock(), ilECSServerSettings\getServers(), ilECSObjectSettings\handleContentUpdate(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderCAS\handleLDAPDataSource(), ilECSAppEventListener\handleNewAccountCreation(), ilECSObjectSettings\handlePermissionUpdate(), ilWebDAVRequestHandler\handleRequest(), ilECSObjectSettings\handleSettingsUpdate(), ilECSSettingsGUI\importMappings(), ilObjAuthSettingsGUI\initAuthModeDetermination(), ilECSSettingsGUI\initMappingsForm(), ilPageEditorServerAdapterGUI\invokeServer(), ilLDAPRoleAssignmentRule\isGroupMember(), ilECSServerTableGUI\parse(), ilECSParticipantSettingsGUI\parseAvailableAuthModes(), ilAuthModeDetermination\read(), ilECSSettingsGUI\readAll(), ilLDAPRoleGroupMapping\readDN(), ilECSSettingsGUI\refreshParticipants(), ilMathJax\renderMathJax(), ilCronEcsTaskScheduler\run(), ilECSAppEventListener\sendNotification(), ilAuthProviderECS\setCurrentServer(), ilWebDAVRequestHandler\setPlugins(), ilPlainTextHandler\shortenPHPSessionId(), ilLoggingErrorFileStorage\shortenPHPSessionId(), ilPlainTextHandler\tables(), ilLoggingErrorFileStorage\tables(), ilECSSettingsGUI\updateCommunities(), ilECSSettingsGUI\validateImportTypes(), and ILIAS\LTI\ToolProvider\verifySignature().

◆ $soap_pw

$soap_pw = $_GET["soap_pw"] ?: "testpw"

Definition at line 26 of file dummy_client.php.

Referenced by isValidSession().

◆ $valid

$valid
Initial value:
= $client->call(
'isValidSession',
[
'ns1:ext_uid' => $ext_uid,
'ns1:soap_pw' => $soap_pw,
'ns1:new_user' => $new_user
],
$namespace . "/isValidSession"
)
$soap_pw
$ext_uid
if($err=$client->getError()) $namespace
$new_user

Definition at line 57 of file dummy_client.php.

Referenced by SurveyQuestionGUI\addSelectedPhrase(), ilObjFileBasedLMGUI\afterSave(), ILIAS\Survey\Settings\SettingsFormGUI\checkForm(), ilDclGenericMultiInputGUI\checkInput(), ilOrgUnitMultiLineInputGUI\checkInput(), ilTagInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilSamlIdpMetadataInputGUI\checkInput(), ilDclNumberFieldModel\checkValidity(), ilConditionHandler\cloneDependencies(), SurveyQuestionGUI\confirmSavePhrase(), ilPCSkillsGUI\create(), ilPCLearningHistoryGUI\create(), ilRegistrationSettingsGUI\createCodes(), ilAccountCodesGUI\createCodes(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilExPeerReviewGUI\executeCommand(), ilLPStatusCollectionMobs\getCollectionItems(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentAppraisee(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentRater(), ilObjExerciseSubItemListGUI\getHTML(), ilContainerRenderer\getHTML(), ilAccountCodesTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilUserUtil\getPersonalStartingPoint(), ilUserStartingPointGUI\getRoleStartingPointForm(), ilUserUtil\getStartingPoint(), ilObjectLP\getSupportedObjectTypes(), ilLOUtils\getTestResultLinkForUser(), ilBadge\getValid(), ilUserClipboard\getValidatedContent(), ilExerciseManagementGUI\handleIndividualDeadlineCallsObject(), ilAuthProviderSoap\handleSoapAuth(), ilAdvancedMDRecordGUI\importEditFormPostValues(), ilAdvancedMDRecordGUI\importSearchForm(), ilAccountCodesGUI\initAddCodesForm(), ilObjUserTrackingGUI\initSettingsForm(), ilTaggingClassificationProvider\isActive(), ilObjectLP\isSupportedObjectType(), ilADTExternalLink\isValid(), ilADTFloat\isValid(), ilADTGroup\isValid(), ilADTInteger\isValid(), ilADTInternalLink\isValid(), ilADTLocation\isValid(), ilADTMultiText\isValid(), ilADTText\isValid(), ilMailMailingListAddressType\isValid(), ilClaimingPermissionHelper\isValidContextAndAction(), ilUDFClaimingPlugin\isValidFieldType(), ilMembershipNotifications\isValidMode(), ilAdvancedMDClaimingPlugin\isValidObjType(), ilDBUpdateNewObjectType\isValidRBACOperation(), ilMDEditorGUI\listEducational(), ilMDEditorGUI\listQuickEdit_scorm(), ilExAssignmentEditorGUI\processForm(), ilObjCmiXapiVerificationGUI\render(), ilObjLTIConsumerVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilBookingObjectGUI\save(), ilDclRecordEditGUI\save(), ilObjLinkResourceGUI\save(), ilObjPrivacySecurityGUI\save_privacy(), ilObjLinkResourceGUI\saveAddLink(), ilCronDeleteInactiveUserAccounts\saveCustomSettings(), ilCronDeleteNeverLoggedInUserAccounts\saveCustomSettings(), ilObjUserFolderGUI\saveGeneralSettingsObject(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjLinkResourceGUI\saveLinkList(), ilObjUserFolderGUI\saveLoginnameSettingsObject(), ilObjContentObjectGUI\saveProperties(), ilObjLinkResourceGUI\saveSettings(), ilTable2GUI\setExportFormats(), ILIAS\Survey\Execution\RunSessionRepo\setExternalRaterValidation(), ilPageLayout\setModules(), ilProgressBar\setType(), ilSOAPAuth\testConnection(), NullTransformationTest\testNullTransformation(), ilPRGPermissionsHelper\throwForInvalidOperation(), ilBookingObjectGUI\update(), ilPCSkillsGUI\update(), ilCronManagerGUI\update(), ilObjectActivationGUI\update(), ilADTBasedObjectGUI\updateAction(), ilCustomUserFieldsGUI\updateFields(), ilObjLinkResourceGUI\updateLink(), ilExPeerReviewGUI\updatePeerReviewObject(), ilADTGroupFormBridge\validate(), ilRegistrationSettings\validate(), ilCustomUserFieldsGUI\validateForm(), ilPDFGenerationRequest\validatePathOrUrl(), ilExPeerReview\validatePeerReviewGroups(), ilExSubmission\validatePeerReviews(), ilObjPollGUI\vote(), ILIAS\UI\Implementation\Component\Listing\Workflow\Step\withAvailability(), and ILIAS\UI\Implementation\Component\Listing\Workflow\Step\withStatus().

◆ exit

exit

Definition at line 19 of file dummy_client.php.

Referenced by showResult().