Lines Matching refs:response
124 /** @var \FreeDSx\Ldap\Operation\Response\CompareResponse $response */
125 $response = $this->sendAndReceive(Operations::compare($dn, $attributeName, $value), ...$controls)->getResponse();
127 return $response->getResultCode() === ResultCode::COMPARE_TRUE;
140 $response = $this->sendAndReceive(Operations::add($entry), ...$controls);
143 return $response;
212 $response = $this->sendAndReceive(Operations::modify($entry->getDn(), ...$entry->changes()), ...$controls);
215 return $response;
246 * Send a search response and return the entries.
255 /** @var \FreeDSx\Ldap\Operation\Response\SearchResponse $response */
256 $response = $this->sendAndReceive($request, ...$controls)->getResponse();
258 return $response->getEntries();
300 * Send a request operation to LDAP. This may return null if the request expects no response.
315 * Send a request to LDAP that expects a response. If none is received an OperationException is thrown.
326 $response = $this->send($request, ...$controls);
327 if ($response === null) {
328 throw new OperationException('Expected an LDAP message response, but none was received.');
331 return $response;
370 /** @var \FreeDSx\Ldap\Operation\Response\ExtendedResponse $response */
371 $response = $this->sendAndReceive(Operations::whoami())->getResponse();
373 return $response->getValue();