Skip to main content

ldap_client/
lib.rs

1// SPDX-License-Identifier: MIT OR Apache-2.0
2
3mod client;
4mod conn;
5mod error;
6pub mod tls_config;
7
8pub use client::{
9    BindCredentials, Client, ClientBuilder, PagedSearch, ReferralCredentials, ReferralPolicy,
10    SearchParams, SearchResult, Transport, UnsolicitedHandler, parse_range_option,
11};
12#[cfg(feature = "danger-disable-verify")]
13pub use conn::danger_no_verify_tls_config;
14pub use error::Error;
15pub use tls_config::{TlsConfig, TlsVersion, TrustAnchors};
16
17pub use ldap_client_proto::{
18    AssertionValue, AttributeValue, Control, ControlType, DOMAIN_SCOPE_OID, DerefAliases, Dn,
19    DomainScopeControl, ExtendedResponse, Filter, HasLdapResult, LdapUrl, MANAGE_DSA_IT_OID,
20    ManageDsaItControl, MessageId, Modification, ModifyOperation, NOTICE_OF_DISCONNECTION_OID,
21    PAGED_RESULTS_OID, PagedResultsControl, PartialAttribute, Rdn, RequestControl, ResponseControl,
22    ResultCode, SERVER_SORT_OID, SERVER_SORT_REQUEST_OID, SERVER_SORT_RESPONSE_OID, STARTTLS_OID,
23    SearchResultEntry, SearchScope, SortKey, SortKeyList, SortResult, WHO_AM_I_OID,
24    escape_dn_value,
25};
26pub use secrecy::SecretString;
27pub use zeroize::Zeroizing;