Home
last modified time | relevance | path

Searched refs:response (Results 76 – 100 of 925) sorted by relevance

12345678910>>...37

/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Challenge/
H A DDigestMD5Challenge.php22 * The DIGEST-MD5 challenge / response class.
75 $response = $this->generateServerResponse($received, $options);
77 $response = $this->generateClientResponse($received, $options);
79 $this->context->setResponse($response);
97 throw new SaslException('The rspauth value was received before the response was generated.');
115 $response = $this->generateServerChallenge($options);
117 $response = $this->generateServerVerification($received, $options);
120 return $response === null ? null : $this->encoder->encode($response, $this->context);
163 $response
[all...]
/plugin/issuelinks/script/
H A Dadmin_repo.js26 const response = JSON.parse(jqXHR.responseText);
27 window.issuelinksUtil.showAjaxMessages(response);
28 if (typeof response.data !== 'undefined') {
29 data = response.data;
66 .done(function adjustHookDisplay(response) { argument
67 const data = response.data;
68 window.issuelinksUtil.showAjaxMessages(response);
111 const data = response.data;
139 .done(function (response) { argument
140 const data = response.data;
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
H A DIssue220Test.php92 $response = $this->request($request);
94 …sertFalse(strpos($response->body, '<s:exception>PHPUnit_Framework_Error_Warning</s:exception>'), '…
95 …ssertFalse(strpos($response->body, 'Invalid argument supplied for foreach()'), 'Invalid argument s…
97 $this->assertEquals(207, $response->status);
H A DGetEventsByTimerangeTest.php76 $response = $this->request($request);
78 if (strpos($response->body, 'BEGIN:VCALENDAR') === false) {
79 $this->fail('Got no events instead of 1. Output: '.$response->body);
84 $response->body,
85 $start = strpos($response->body, 'BEGIN:VCALENDAR'),
86 strpos($response->body, 'END:VCALENDAR') - $start + 13
/plugin/davcal/vendor/sabre/dav/lib/DAV/
H A DClient.php228 $response = $this->send($request);
230 if ((int)$response->getStatus() >= 400) {
231 throw new Exception('HTTP error: ' . $response->getStatus());
234 $result = $this->parseMultiStatus($response->getBodyAsString());
293 $response = $this->send($request);
295 $dav = $response->getHeader('Dav');
343 'body' => $response->getBodyAsString(),
344 'statusCode' => (int)$response->getStatus(),
345 'headers' => array_change_key_case($response->getHeaders()),
407 foreach ($multistatus->getResponses() as $response) {
[all …]
/plugin/groupmail/
H A Drecaptchalib.php79 $response = '';
87 $response .= fgets($fs, 1160); // One TCP-IP packet
89 $response = explode("\r\n\r\n", $response, 2);
91 return $response;
148 * @param string $response
152 function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array(… argument
165 …if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
172 $response = _recaptcha_http_post (RECAPTCHA_VERIFY_SERVER, "/recaptcha/api/verify",
177 'response' => $response
181 $answers = explode ("\n", $response [1]);
/plugin/recaptcha/lib/
H A Drecaptchalib.php81 $response = '';
89 $response .= fgets($fs, 1160); // One TCP-IP packet
91 $response = explode("\r\n\r\n", $response, 2);
93 return $response;
148 * @param string $response
152 function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array(… argument
165 …if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
172 $response = _recaptcha_http_post (RECAPTCHA_VERIFY_SERVER, "/verify",
177 'response' => $response
181 $answers = explode ("\n", $response [1]);
/plugin/contactmodern/
H A Drecaptchalib.php79 $response = '';
87 $response .= fgets($fs, 1160); // One TCP-IP packet
89 $response = explode("\r\n\r\n", $response, 2);
91 return $response;
148 * @param string $response
152 function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array(… argument
165 …if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
172 $response = _recaptcha_http_post (RECAPTCHA_VERIFY_SERVER, "/recaptcha/api/verify",
177 'response' => $response
181 $answers = explode ("\n", $response [1]);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DHTTPPreferParsingTest.php123 $response = $this->request($request);
125 $body = $response->getBodyAsString();
127 $this->assertEquals(207, $response->getStatus(), $body);
157 $response = $this->request($request);
159 $this->assertEquals(0, strlen($response->body), 'Expected empty body: ' . $response->body);
160 $this->assertEquals(204, $response->status);
179 $response = $this->request($request);
181 $body = $response->getBodyAsString();
183 $this->assertEquals(207, $response->status);
/plugin/elasticsearch/vendor/ruflin/elastica/src/Exception/
H A DResponseException.php28 public function __construct(Request $request, Response $response) argument
31 $this->_response = $response;
32 parent::__construct($response->getErrorMessage());
46 * Returns response object.
64 $response = $this->getResponse();
66 return new ElasticsearchException($response->getStatus(), $response->getErrorMessage());
/plugin/recaptcha2/lib/ReCaptcha/
H A DRequestParameters.php44 private $response; variable in ReCaptcha\\RequestParameters
62 * @param string $response Value from g-captcha-response form field.
66 public function __construct($secret, $response, $remoteIp = null, $version = null) argument
69 $this->response = $response;
81 $params = array('secret' => $this->secret, 'response' => $this->response);
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DTransferStats.php15 private $response; variable in GuzzleHttp\\TransferStats
22 * @param ResponseInterface|null $response Response received (if any)
29 ResponseInterface $response = null, argument
35 $this->response = $response;
56 return $this->response;
66 return $this->response !== null;
/plugin/elasticsearch/vendor/ezimuel/ringphp/src/Client/
H A DMockHandler.php9 * Ring handler that returns a canned response or evaluated function result.
19 * to dynamically create a response.
31 $response = is_callable($this->result)
35 if (is_array($response)) {
36 $response = new CompletedFutureArray($response + [
43 } elseif (!$response instanceof FutureArrayInterface) {
50 return $response;
/plugin/ajaxedit/
H A Dscript.js100 function ajaxedit_checkResponse(response){ argument
101 if(response.error != 0) {
106 jQuery('#ajaxedit__dialog_div').html(response.msg);
108 } else if(response.msg){
112 text: response.msg?response.msg:'gespeichert',
115 delay: response.notifyDelay?response.notifyDelay*1000:2000,
123 if(response.pageid === JSINFO['id']) LASTMOD = response.lastmod; //refresh LASTMOD
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/Factory/
H A DResponseFactory.php36 * For a specific request and result code/diagnostic, get the response object if possible.
43 * Retrieve the expected response type for the request that was given.
47 $response = null;
51 $response = new BindResponse(new LdapResult($resultCode, '', $diagnostic));
53 $response = new SearchResultDone($resultCode, '', $diagnostic);
55 $response = new AddResponse($resultCode, $request->getEntry()->getDn()->toString(), $diagnostic);
57 $response = new CompareResponse($resultCode, $request->getDn()->toString(), $diagnostic);
59 $response = new DeleteResponse($resultCode, $request->getDn()->toString(), $diagnostic);
61 $response = new ModifyDnResponse($resultCode, $request->getDn()->toString(), $diagnostic);
63 $response
[all...]
H A DClientProtocolHandlerFactory.php23 * Retrieves the correct handler for a specific client protocol request / response.
49 * @param Response\ResponseInterface $response
52 public function forResponse(Request\RequestInterface $request, Response\ResponseInterface $response): ResponseHandlerInterface
54 if ($response instanceof Response\SearchResultDone || $response instanceof Response\SearchResultEntry || $response instanceof Response\SearchResultReference) {
56 } elseif ($response instanceof Operation\LdapResult && $response->getResultCode() === ResultCode::REFERRAL) {
60 } elseif ($response instanceof Response\ExtendedResponse) {
51 forResponse(Request\\RequestInterface $request, Response\\ResponseInterface $response) global() argument
/plugin/publish/_test/
H A Dpublish.test.php47 $response = $request->get(array('id' => 'foo'), '/doku.php?id=foo');
49 strpos($response->getContent(), '<div class="approval approved_no">') !== false,
61 $response = $request->get(array(), '/doku.php?id=foo&publish_approve=1');
63 strpos($response->getContent(), '<div class="approval approved_yes">') !== false,
78 $response = $request->get(array(), '/doku.php?id=foo&publish_approve=1');
81 strpos($response->getContent(), '<div class="approval') === false,
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/
H A DBooleanRequestWrapper.php38 $response = $transport->performRequest(
46 $response = $transport->resultOrFuture($response, $endpoint->getOptions());
47 if (!($response instanceof FutureArrayInterface)) {
48 if ($response['status'] === 200) {
55 return $response;
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Xml/Property/
H A DSupportedReportSetTest.php42 …is->assertEquals(207, $this->response->status, 'We expected a multi-status response. Full response…
44 …place("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/", "xmlns\\1=\"urn:DAV\"", $this->response->body);
83 …is->assertEquals(207, $this->response->status, 'We expected a multi-status response. Full response…
85 …place("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/", "xmlns\\1=\"urn:DAV\"", $this->response->body);
90 $data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop');
103 …uals(1, count($data), 'We expected 1 \'x:myreport\' element. Full body: ' . $this->response->body);
106 …1, count($data), 'We expected 1 \'d:anotherreport\' element. Full body: ' . $this->response->body);
/plugin/diagrams/script/
H A DDiagramsEditor.js59 const response = await fetch(DOKU_BASE + 'lib/exe/fetch.php?media=' + mediaid, {
64 if (response.ok) {
66 this.#svg = await response.text();
87 const response = await fetch(url, {
92 if (response.ok) {
94 this.#svg = await response.text();
126 const response = await fetch(uploadUrl, {
132 return response.ok;
156 const response = await fetch(uploadUrl, {
162 return response
[all...]
/plugin/shell/
H A DP0wnyShell.js72 this.userName = response.username ? atob(response.username) : this.userName;
73 this.hostName = response.hostname ? atob(response.hostname) : this.hostName;
74 this.updateCwd(atob(response.cwd));
138 if (response.hasOwnProperty('file')) {
139 this.featureDownload(atob(response.name), response.file)
141 this.insertStdout(atob(response.stdout));
142 this.updateCwd(atob(response.cwd));
223 function (response) { argument
225 this.updateCwd(atob(response.cwd));
268 this.makeRequest("?feature=pwd", {}, function (response) { argument
[all …]
/plugin/badbehaviour/bad-behavior/
H A Dbanned.inc.php24 $response = bb2_get_response($previous_key);
25 header("HTTP/1.1 " . $response['response'] . " Bad Behavior");
26 header("Status: " . $response['response'] . " Bad Behavior");
33 <title>HTTP Error <?php echo $response['response']; ?></title>
36 <h1>Error <?php echo $response['response']; ?></h1>
39 <p><?php echo $response['explanation']; ?></p>
/plugin/davcal/vendor/sabre/http/lib/
H A DSapi.php53 * @param ResponseInterface $response
56 static function sendResponse(ResponseInterface $response) { argument
58 …header('HTTP/' . $response->getHttpVersion() . ' ' . $response->getStatus() . ' ' . $response->get…
59 foreach ($response->getHeaders() as $key => $value) {
71 $body = $response->getBody();
74 $contentLength = $response->getHeader('Content-Length');
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Schedule/
H A DFreeBusyRequestTest.php72 $this->response = new HTTP\ResponseMock();
76 $this->server->httpResponse = $this->response;
85 $this->authPlugin->beforeMethod($this->request, $this->response);
291 $this->plugin->httpPost($this->server->httpRequest, $this->response)
294 $this->assertEquals(200, $this->response->status);
297 ), $this->response->getHeaders());
309 strpos($this->response->body, $string)!==false,
355 $this->plugin->httpPost($this->server->httpRequest, $this->response)
358 $this->assertEquals(200, $this->response->status);
361 ), $this->response->getHeaders());
[all …]
/plugin/twofactoryubiauth/
H A Dhelper.php103 $response = array();
104 $auth = $yubiAuthenticator->verifyCode($this->generateYubiURL($code),$response);
106 if($code != $response["otp"])
113 return $this->checkSignature($response);
172 private function checkSignature($response) { argument
174 $their_hash = $response["h"];
175 unset($response["h"]);
176 ksort($response);
178 foreach ($response as $k => $v) {

12345678910>>...37