Lines Matching refs:ldap
40 protected $ldap;
53 return (bool) $this->ldap()->bind($username, $password);
64 $this->ldap()->sendAndReceive($modify, ...$context->controls()->toArray());
72 $this->ldap()->sendAndReceive($modifyDn, ...$context->controls()->toArray());
80 $this->ldap()->sendAndReceive($delete, ...$context->controls()->toArray());
88 $this->ldap()->sendAndReceive($add, ...$context->controls()->toArray());
96 return $this->ldap()->search($search, ...$context->controls()->toArray());
104 $response = $this->ldap()->sendAndReceive($compare, ...$context->controls()->toArray())->getResponse();
117 $this->ldap()->send($extended, ...$context->controls()->toArray());
125 $this->ldap = $client;
131 protected function ldap(): LdapClient
133 if ($this->ldap === null) {
134 $this->ldap = new LdapClient($this->options);
137 return $this->ldap;