Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 539) sorted by relevance

12345678910>>...22

/plugin/emoji/emojione/
H A DEmojione.php20 protected static $client = null; variable in Emojione\\Emojione
29 $client = static::getClient();
32 static::updateConfig($client);
34 if ( ! method_exists($client, $method) )
50 if ( static::$client === null )
55 return static::$client;
61 * @param ClientInterface $client The Client
67 static::loadConfig($client);
69 static::$client = $client;
77 * @param ClientInterface $client The Client
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DClientTest.php14 $client = new ClientMock(array(
32 $client = new ClientMock([
45 $client = new ClientMock([
59 $client = new ClientMock([
73 $client = new ClientMock([
87 $client = new ClientMock([
98 $client = new ClientMock([
109 $client = new ClientMock([
148 $client = new ClientMock([
159 $client = new ClientMock([
[all …]
/plugin/pureldap/_test/
H A DADClient.test.php
/plugin/davcal/vendor/sabre/http/tests/HTTP/
H A DClientTest.php7 protected $client; variable in Sabre\\HTTP\\ClientTest
11 $client = new ClientMock();
42 $client = new ClientMock();
70 $client = new ClientMock();
135 $client = new ClientMock();
161 $client = new ClientMock();
188 $client->send($request);
199 $client = new ClientMock();
250 $client = new ClientMock();
251 $client->setThrowExceptions(true);
[all …]
/plugin/xcom/scripts/
H A Dxml.php23 if($client)
27 if(!xcom_lock($params[1], true, $client)) {
71 $retv = $client->getResponse();
78 xcom_lock($params[1], false, $client);
118 $client = new IXR_Client($url);
119 $client->debug = $debug; // enable for debugging
120 $client->query('dokuwiki.login',$user,$pwd);
121 $ok = $client->getResponse();
122 if($ok) return $client;
127 function xcom_lock($page, $lock, $client) { argument
[all …]
/plugin/sync/
H A Dadmin.php11 protected $client = null; variable in admin_plugin_sync
24 if(!is_null($this->client)) return true;
37 $this->client->timeout = $timeout;
48 $this->client = null;
51 if(!$this->client->getResponse()){
53 $this->client = null;
61 $this->client = null;
67 $this->client = null;
102 $this->client = null;
365 $data = $this->client->getResponse();
[all …]
/plugin/pureldap/
H A Dauth.php16 public $client;
26 // prepare the base client
31 $this->client = new ADClient($this->conf); // FIXME decide class on config
36 $this->cando['logout'] = !$this->client->getConf('sso');
37 if ($this->client->getConf('encryption') !== 'none') {
54 $this->client->getConf('sso') &&
61 // try to bind with the user credentials, client will stay authenticated as user
62 $this->client = new ADClient($this->conf); // FIXME decide class on config
63 return $this->client->authenticate($user, $pass);
69 $info = $this->client
15 protected $client; global() variable in auth_plugin_pureldap
[all...]
/plugin/authgooglesheets/vendor/google/auth/src/HttpHandler/
H A DHttpHandlerFactory.php27 * @param ClientInterface $client
31 public static function build(ClientInterface $client = null) argument
33 $client = $client ?: new Client();
45 return new Guzzle5HttpHandler($client);
47 return new Guzzle6HttpHandler($client);
49 return new Guzzle7HttpHandler($client);
H A DGuzzle6HttpHandler.php28 private $client; variable in Google\\Auth\\HttpHandler\\Guzzle6HttpHandler
31 * @param ClientInterface $client
33 public function __construct(ClientInterface $client) argument
35 $this->client = $client;
47 return $this->client->send($request, $options);
60 return $this->client->sendAsync($request, $options);
H A DGuzzle5HttpHandler.php36 private $client; variable in Google\\Auth\\HttpHandler\\Guzzle5HttpHandler
39 * @param ClientInterface $client
41 public function __construct(ClientInterface $client) argument
43 $this->client = $client;
55 $response = $this->client->send(
75 $futureResponse = $this->client->send(
109 return $this->client->createRequest(
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dper-request-configuration.asciidoc5 than at a connection- or client-level. These are specified as part of the
22 $client = ClientBuilder::create()->build();
27 'client' => [
31 $response = $client->get($params);
50 configure it in the `client` parameter of the request array. For instance, the
57 $client = ClientBuilder::create()->build();
62 'client' => [ 'ignore' => 404 ] <1>
64 echo $client->get($params);
75 $client = ClientBuilder::create()->build();
79 'client'
[all...]
H A Dfutures.asciidoc4 The client offers a mode called "future" or "async" mode. This allows batch
20 simultaneously, which means the Elasticsearch-PHP client can more effectively
29 the client options to `'lazy'`:
33 $client = ClientBuilder::create()->build();
38 'client' => [
43 $future = $client->get($params);
65 $client = ClientBuilder::create()->build();
70 'client' => [
75 $future = $client->get($params);
86 $client
[all...]
/plugin/authgoogle/
H A Dauth.php79 $client = new Google_Client();
80 $client->setApplicationName("Google Application");
81 $client->setClientId($this->getConf('client_id'));
84 $client->setAccessType('online');
85 $client->setApprovalPrompt('auto');
87 $oauth2 = new Google_Oauth2Service($client);
92 $client->authenticate($_GET['code']);
120 if ($client->getAccessToken()) {
123 if($client->isAccessTokenExpired()) {
124 $authUrl = $client->createAuthUrl();
[all …]
/plugin/gitlabapi/gitlab/
H A Dgitlabapi.php6 public $client; variable in GitLabApi
11 $this->client = curl_init();
16 function closeClient() { curl_close($this->client); }
19 curl_setopt($this->client, CURLOPT_URL, $url);
20 curl_setopt($this->client, CURLOPT_HTTPHEADER, array(
23 curl_setopt($this->client, CURLOPT_SSL_VERIFYHOST, '1');
24 curl_setopt($this->client, CURLOPT_SSL_VERIFYPEER, '0');
25 curl_setopt($this->client, CURLOPT_RETURNTRANSFER, true);
27 $answer = curl_exec($this->client);
/plugin/gitlabproject/gitlab/
H A Dgitlab.php8 public $client; variable in DokuwikiGitlab
13 $this->client = curl_init();
21 curl_setopt($this->client, CURLOPT_URL, $url);
22 curl_setopt($this->client, CURLOPT_HTTPHEADER, array(
26 curl_setopt($this->client, CURLOPT_SSL_VERIFYHOST, '1');
27 curl_setopt($this->client, CURLOPT_SSL_VERIFYPEER, '0');
28 curl_setopt($this->client, CURLOPT_RETURNTRANSFER, true);
30 $answer = curl_exec($this->client);
37 curl_close($this->client);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Helper/Iterators/
H A DSearchResponseIterator.php3 * Elasticsearch PHP client
30 private $client; variable in Elasticsearch\\Helper\\Iterators\\SearchResponseIterator
60 * @param Client $client
64 public function __construct(Client $client, array $search_params) argument
66 $this->client = $client;
102 $this->client->clearScroll(
107 'client' => [
126 $this->current_scrolled_response = $this->client->search($this->params);
138 $this->current_scrolled_response = $this->client
[all...]
/plugin/epub/
H A Dscript.js1 function epub_show_throbber(user,client) { argument
14 if(client) {
15 params += "&client="+encodeURIComponent(client);
58 function _epub_show_throbber(user,client) { argument
59 epub_show_throbber(user,client);
62 epub_check_progress(client,user);
66 function epub_check_progress(client,user) { argument
69 if(client) {
70 params += "&client="+encodeURIComponent(client);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/
H A DAddressBookQueryTest.php43 $client = new DAV\Client(array('baseUri'=>'/'));
45 $result = $client->parseMultiStatus($response->body);
93 $client = new DAV\Client(array('baseUri'=>'/'));
95 $result = $client->parseMultiStatus($response->body);
138 $client = new DAV\Client(array('baseUri'=>'/'));
140 $result = $client->parseMultiStatus($response->body);
177 $client = new DAV\Client(array('baseUri'=>'/'));
179 $result = $client->parseMultiStatus($response->body);
220 $client = new DAV\Client(array('baseUri'=>'/'));
222 $result = $client->parseMultiStatus($response->body);
[all …]
/plugin/redissue/redmine/
H A Dredmine.php13 public $client; variable in DokuwikiRedmine
16 $this->client = new Redmine\Client($url, $apiKey);
18 $this->client->setImpersonateUser($user);
24 $project_id = $this->client->project->getIdByName($project_name);
25 $project = $this->client->project->show($project_id);
30 return $this->client->issue->show($issue_id);
34 return $this->client->issue_status->all();
38 $all_users = $this->client->user->all(['limit' => '500']);
71 $all_prio = $this->client->issue_priority->all();
/plugin/eventum/
H A Dclass.Eventum_RPC.php46 private $client; variable in Eventum_RPC
51 $this->client = $this->getClient();
55 $this->client->setAutoBase64(true);
65 $this->client->setDebug($debug);
77 $this->client->setCredentials($username, $password);
123 $result = $this->client->send($msg);
126 throw new Eventum_RPC_Exception($this->client->errstr);
/plugin/webdavclient/
H A Dhelper.php15 protected $client = null; variable in helper_plugin_webdavclient
28 $this->client = new DokuHTTPClient();
84 if($this->client->status == 201)
113 if($this->client->status == 204)
142 if($this->client->status == 204)
289 if($this->client->status == 201)
319 if($this->client->status == 204)
844 if(($this->client->status >= 400) || ($this->client->status < 200))
1123 $this->client->http = '1.1';
1214 if(($this->client->status >= 400) || ($this->client->status < 200))
[all …]
/plugin/jenkins/jenkinsapi/
H A Djenkins.php7 public $client; variable in DokuwikiJenkins
11 $this->client = curl_init();
21 curl_setopt($this->client, CURLOPT_URL, $url_srv);
22 curl_setopt($this->client, CURLOPT_HTTPHEADER, array(
26 curl_setopt($this->client, CURLOPT_RETURNTRANSFER, true);
28 $answer = curl_exec($this->client);
/plugin/emoji/
H A Dsyntax.php61 protected $client; variable in syntax_plugin_emoji
67 $this->client = new Emojione\Client($this->ruleset);
68 $this->client->unicodeAlt = true;
69 $this->client->sprites = false;
70 $this->client->imageType = 'png';
141 return preg_replace('/\((?!\?)/', '(?:', $this->client->shortcodeRegexp);
168 return $this->client->toShortCallback(array($unicode,$unicode));
172 return $this->client->shortnameToImageCallback(array($shortname,$shortname));
176 return $this->client->unicodeToImageCallback(array($unicode,$unicode));
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DDoctrineCouchDBHandler.php27 private $client; variable in Monolog\\Handler\\DoctrineCouchDBHandler
29 public function __construct(CouchDBClient $client, $level = Logger::DEBUG, bool $bubble = true) argument
31 $this->client = $client;
40 $this->client->postDocument($record['formatted']);
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DPool.php26 * @param ClientInterface $client Client used to send the requests.
36 ClientInterface $client, argument
55 $requests = function () use ($iterable, $client, $opts) {
58 yield $key => $client->sendAsync($rfn, $opts);
91 * @param ClientInterface $client Client used to send the requests
101 ClientInterface $client, argument
108 $pool = new static($client, $requests, $options);

12345678910>>...22