/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/Request/ |
H A D | CancelRequest.php | 45 parent::__construct(self::OID_CANCEL); 79 * @return self 85 $value = self::decodeEncodedValue($type); 90 return new self($value->getChild(0)->getValue());
|
H A D | CompareRequest.php | 97 * @return self 113 return new self($dn->getValue(), EqualityFilter::fromAsn1($ava)); 121 return Asn1::application(self::APP_TAG, Asn1::sequence(
|
H A D | DeleteRequest.php | 68 return Asn1::application(self::APP_TAG, Asn1::octetString($this->dn->toString())); 73 * @return self 77 self::validate($type); 79 return new self($type->getValue()); 91 if ($type->getTagNumber() !== self::APP_TAG) { 94 self::APP_TAG,
|
H A D | ExtendedRequest.php | 134 return Asn1::application(self::APP_TAG, $asn1); 139 * @return self 143 return new self(...self::parseAsn1ExtendedRequest($type)); 155 [1 => $value] = self::parseAsn1ExtendedRequest($type);
|
H A D | ModifyDnRequest.php | 156 * @return self 179 return new self($entry->getValue(), $newRdn->getValue(), $deleteOldRdn->getValue(), $newSuperior); 188 $asn1 = Asn1::application(self::APP_TAG, Asn1::sequence(
|
H A D | ModifyRequest.php | 106 * @return self 122 $changeList[] = self::parseChange($change); 125 return new self($dn->getValue(), ...$changeList); 148 return Asn1::application(self::APP_TAG, Asn1::sequence( 171 return new Change($operation->getValue(), self::parsePartialAttribute($modification));
|
H A D | PasswordModifyRequest.php | 58 parent::__construct(self::OID_PWD_MODIFY); 146 $request = self::decodeEncodedValue($type); 148 return new self(); 171 return new self(
|
H A D | SaslBindRequest.php | 66 public function setMechanism(string $mech): self
|
H A D | SearchRequest.php | 96 protected $scope = self::SCOPE_WHOLE_SUBTREE; 101 protected $derefAliases = self::DEREF_NEVER; 167 $this->scope = self::SCOPE_WHOLE_SUBTREE; 179 $this->scope = self::SCOPE_BASE_OBJECT; 191 $this->scope = self::SCOPE_SINGLE_LEVEL; 379 * @return self 421 $search = new self($filter, ...$attrList); 441 return Asn1::application(self::APP_TAG, Asn1::sequence(
|
H A D | UnbindRequest.php | 32 * @return self 40 return new self(); 48 return Asn1::application(self::APP_TAG, Asn1::null());
|
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/Response/ |
H A D | BindResponse.php | 78 * @return self 83 [$resultCode, $dn, $diag, $ref] = self::parseResultData($type); 93 return new self(new LdapResult($resultCode, $dn, $diag, ...$ref), $saslCreds);
|
H A D | ExtendedResponse.php | 90 * @return self 95 return new self( 96 self::createLdapResult($type), 97 ...self::parseExtendedResponse($type) 155 [$resultCode, $dn, $diagnosticMessage, $referrals] = self::parseResultData($type); 172 [1 => $value] = self::parseExtendedResponse($type);
|
H A D | IntermediateResponse.php | 70 * @return self 90 return new self($name, $value); 107 return Asn1::application(self::TAG_NUMBER, $response);
|
H A D | PasswordModifyResponse.php | 76 $result = self::createLdapResult($type); 79 $pwdResponse = self::decodeEncodedValue($type); 88 return new self($result, $generatedPassword);
|
H A D | SearchResultEntry.php | 62 * @return self 89 return new self(new Entry( 101 $asn1 = Asn1::application(self::TAG_NUMBER, Asn1::sequence());
|
H A D | SearchResultReference.php | 56 * @return self 70 return new self(...$referrals); 78 return Asn1::application(self::TAG_NUMBER, Asn1::sequence(...array_map(function ($ref) {
|
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/ |
H A D | Operations.php | 173 return self::unbind();
|
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/ |
H A D | ClientProtocolHandler.php | 115 $message = $this->send(Operations::read('', ...self::ROOTDSE_ATTRIBUTES));
|
H A D | LdapQueue.php | 141 protected function sendLdapMessage(LdapMessage ...$messages): self 149 if ($bufferLen >= self::BUFFER_SIZE) { 150 $this->socket->write(substr($buffer, 0, self::BUFFER_SIZE)); 151 $buffer = $bufferLen > self::BUFFER_SIZE ? substr($buffer, self::BUFFER_SIZE) : '';
|
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/ClientProtocolHandler/ |
H A D | ClientBasicHandler.php | 83 if (in_array($result->getResultCode(), self::NON_ERROR_CODES, true)) {
|
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/Factory/ |
H A D | ExtendedResponseFactory.php | 47 if (!self::has($oid)) { 53 $responseConstruct = self::$map[$oid] . '::fromAsn1'; 72 return isset(self::$map[$oid]); 95 self::$map[$oid] = $className;
|
H A D | FilterFactory.php | 59 $filterClass = self::$map[$type->getTagNumber()] ?? null; 83 return isset(self::$map[$filterType]); 100 self::$map[$filterType] = $filterClass;
|
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/ServerProtocolHandler/ |
H A D | ServerStartTlsHandler.php | 41 if (self::$hasOpenssl === null) { 58 if (!isset($options['ssl_cert']) || !self::$hasOpenssl) {
|
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Search/Filter/ |
H A D | AndFilter.php | 26 protected const FILTER_OPERATOR = self::OPERATOR_AND;
|
H A D | ApproximateFilter.php | 25 protected const FILTER_TYPE = self::FILTER_APPROX;
|