Lines Matching refs:client

65         $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();
136 $client = $this->getClient(['page_size' => 2]);
138 $groups = $client->getGroups('alpha', ADClient::FILTER_EQUAL);
146 $client = $this->getClient(['page_size' => 2]);
148 $users = $client->getFilteredUsers(['grps' => 'alpha'], ADClient::FILTER_EQUAL);
155 …$users = $client->getFilteredUsers(['grps' => 'alpha', 'name' => 'Andras'], ADClient::FILTER_START…
159 $users = $client->getFilteredUsers(['grps' => 'gamma nested'], ADClient::FILTER_EQUAL);
168 $client = $this->getClient(['recursivegroups' => 1]);
170 $users = $client->getFilteredUsers(['grps' => 'beta'], ADClient::FILTER_EQUAL);
173 $users = $client->getFilteredUsers(['grps' => 'gamma nested'], ADClient::FILTER_EQUAL);
179 $client = $this->getClient();
180 $users = $client->getFilteredUsers(['grps' => 'domain users'], ADClient::FILTER_EQUAL);
183 $users = $client->getFilteredUsers(['grps' => 'domain'], ADClient::FILTER_STARTSWITH);
189 $client = $this->getClient();
191 … $this->assertTrue($client->setPassword('x.guiu', 'Shibol eTH876?!'), 'Password set as admin');
194 $this->assertTrue($client->authenticate('x.guiu', 'Shibol eTH876?!'), 'Password works');
197 …$this->assertTrue($client->setPassword('x.guiu', 'Fully New 1234??', 'Shibol eTH876?!'), 'Password…
200 … $this->assertTrue($client->authenticate('x.guiu', 'Fully New 1234??'), 'New Password works');
203 $client = $this->getClient();
204 … $this->assertTrue($client->setPassword('x.guiu', 'Foo_b_ar123!'), 'Password set back as admin');
209 $client = $this->getClient();
210 $maxAge = $client->getMaxPasswordAge(false);