Home
last modified time | relevance | path

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

12345678910>>...24

/plugin/emoji/emojione/
DEmojione.php20 protected static $client = null; variable in Emojione\\Emojione
29 $client = static::getClient();
32 static::updateConfig($client);
34 if ( ! method_exists($client, $method) )
39 return call_user_func_array(array($client, $method), $args);
50 if ( static::$client === null )
55 return static::$client;
61 * @param ClientInterface $client The Client
64 public static function setClient(ClientInterface $client) argument
67 static::loadConfig($client);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DClientTest.php14 $client = new ClientMock(array(
17 $this->assertInstanceOf('Sabre\DAV\ClientMock', $client);
26 $client = new ClientMock(array());
32 $client = new ClientMock([
38 $this->assertEquals("foo:bar", $client->curlSettings[CURLOPT_USERPWD]);
39 … $this->assertEquals(CURLAUTH_BASIC | CURLAUTH_DIGEST, $client->curlSettings[CURLOPT_HTTPAUTH]);
45 $client = new ClientMock([
52 $this->assertEquals("foo:bar", $client->curlSettings[CURLOPT_USERPWD]);
53 $this->assertEquals(CURLAUTH_BASIC, $client->curlSettings[CURLOPT_HTTPAUTH]);
59 $client = new ClientMock([
[all …]
/plugin/pureldap/_test/
H A DADClientTest.php65 $client = $this->getClient();
66 $user = $client->getUser('a.legrand@example.local');
73 $user = $client->getUser('a.legrand');
78 $user = $client->getUser('A.LeGrand');
85 $client = $this->getClient();
86 $user = $client->getUser('averylongusernamethatisverylong');
109 $client = $this->getClient(['recursivegroups' => 1]);
110 $user = $client->getUser('m.albro@example.local');
120 $client = $this->getClient(['page_size' => 2]);
122 $groups = $client->getGroups();
[all …]
/plugin/davcal/vendor/sabre/http/tests/HTTP/
H A DClientTest.php7 protected $client; variable in Sabre\\HTTP\\ClientTest
11 $client = new ClientMock();
12 $client->addCurlSetting(CURLOPT_POSTREDIR, 0);
36 $this->assertEquals($settings, $client->createCurlSettingsArray($request));
42 $client = new ClientMock();
64 $this->assertEquals($settings, $client->createCurlSettingsArray($request));
70 $client = new ClientMock();
129 $this->assertEquals($settings, $client->createCurlSettingsArray($request));
135 $client = new ClientMock();
155 $this->assertEquals($settings, $client->createCurlSettingsArray($request));
[all …]
/plugin/xcom/scripts/
Dxml.php19 $client = xcom_connect($url,$credentials->user,$credentials->pwd ,$debug); variable
23 if($client)
27 if(!xcom_lock($params[1], true, $client)) {
63 while(!($resp = call_user_func_array(array($client,"query"),$params))){
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();
[all …]
/plugin/sync/
Dadmin.php11 protected $client = null; variable in admin_plugin_sync
24 if(!is_null($this->client)) return true;
33 … $this->client = new IXR_Client($this->profiles[$this->profno]['server'], false, 80, $timeout);
36 … $this->client = new dokuwiki\Remote\IXR\Client($this->profiles[$this->profno]['server']);
37 $this->client->timeout = $timeout;
42 $ok = $this->client->query('dokuwiki.login',
47 msg($this->getLang('xmlerr').' '.hsc($this->client->getErrorMessage()),-1);
48 $this->client = null;
51 if(!$this->client->getResponse()){
53 $this->client = null;
[all …]
/plugin/pureldap/
H A Dauth.php16 public $client; variable in auth_plugin_pureldap
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') &&
62 $this->client = new ADClient($this->conf); // FIXME decide class on config
64 $this->client->authenticate($user, $pass);
75 $info = $this->client->getCachedUser($user, $requireGroups);
85 $this->client->getFilteredUsers(
97 return array_slice($this->client->getCachedGroups(), $start, $limit);
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
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' => [ 'ignore' => [400, 404] ] <1>
[all …]
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 = ClientBuilder::create()->build();
[all …]
/plugin/authgoogle/
Dauth.php79 $client = new Google_Client();
80 $client->setApplicationName("Google Application");
81 $client->setClientId($this->getConf('client_id'));
82 $client->setClientSecret($this->getConf('client_secret'));
83 $client->setRedirectUri(wl('start',array('do'=>'login'),true, '&'));
84 $client->setAccessType('online');
85 $client->setApprovalPrompt('auto');
87 $oauth2 = new Google_Oauth2Service($client);
92 $client->authenticate($_GET['code']);
94 $_SESSION[DOKU_COOKIE]['authgoogle']['token'] = $client->getAccessToken();
[all …]
/plugin/authgooglesheets/vendor/google/auth/src/HttpHandler/
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);
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);
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/gitlabapi/gitlab/
Dgitlabapi.php6 public $client; variable in GitLabApi
19 $this->client = curl_init();
24 function closeClient() { curl_close($this->client); }
27 curl_setopt($this->client, CURLOPT_URL, $url);
28 curl_setopt($this->client, CURLOPT_HTTPHEADER, array(
31 curl_setopt($this->client, CURLOPT_SSL_VERIFYHOST, '1');
32 curl_setopt($this->client, CURLOPT_SSL_VERIFYPEER, '1');
33 curl_setopt($this->client, CURLOPT_RETURNTRANSFER, true);
36 $answer = curl_exec($this->client);
/plugin/gitlabproject/gitlab/
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/
DSearchResponseIterator.php30 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(
126 $this->current_scrolled_response = $this->client->search($this->params);
138 $this->current_scrolled_response = $this->client->scroll(
/plugin/epub/
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/authssocas/vendor/apereo/phpcas/source/CAS/
H A DAuthenticationException.php57 * @param CAS_Client $client phpcas client
68 public function __construct($client,$failure,$cas_url,$no_response, argument
73 $lang = $client->getLangObj();
74 $client->printHTMLHeader($lang->getAuthenticationFailed());
79 htmlentities($client->getURL()),
92 switch ($client->getServerVersion()) {
108 $client->printHTMLFooter();
/plugin/redissue/redmine/
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/
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/
Dhelper.php15 protected $client = null; variable in helper_plugin_webdavclient
28 $this->client = new DokuHTTPClient();
29 $client_headers = $this->client->headers;
83 $resp = $this->client->sendRequest($path, $data, 'PUT');
84 if($this->client->status == 201)
89 $this->lastErr = 'Error adding calendar entry, server reported status '.$this->client->status;
112 $resp = $this->client->sendRequest($path, $data, 'PUT');
113 if($this->client->status == 204)
118 … $this->lastErr = 'Error editing calendar entry, server reported status '.$this->client->status;
141 $resp = $this->client->sendRequest($path, '', 'DELETE');
[all …]
/plugin/jenkins/jenkinsapi/
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/
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/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/
DPool.php32 * @param ClientInterface $client Client used to send the requests.
41 public function __construct(ClientInterface $client, $requests, array $config = []) argument
55 $requests = static function () use ($iterable, $client, $opts) {
58 yield $key => $client->sendAsync($rfn, $opts);
86 * @param ClientInterface $client Client used to send the requests
96 public static function batch(ClientInterface $client, $requests, array $options = []): array argument
101 $pool = new static($client, $requests, $options);

12345678910>>...24