Ldap class abstract
The Ldap Interface https://tools.ietf.org/html/rfc4511
The available LDAP operations are:
- bind - performs a bind with the current authentication or an anonymous bind
- search - queries the LDAP directory for entries
- compare - compares values in LDAP entries
- add - creates a LDAP entry
- delete - removes an existing LDAP entry
- modify - changes attributes in an LDAP entry
- modifyDN - moves an LDAP entry
- Implementers
Constructors
- Ldap()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
String dn, Map< String, dynamic> attrs) → Future<LdapResult> - Performs an LDAP add operation.
-
bind(
{String? DN, String? password}) → Future< LdapResult> - Performs an LDAP BIND operation.
-
compare(
String dn, String attrName, String attrValue) → Future< LdapResult> - Performs an LDAP compare operation.
-
delete(
String dn) → Future< LdapResult> - Performs an LDAP delete operation.
-
modify(
String dn, List< Modification> mods) → Future<LdapResult> - Performs an LDAP modify operation.
-
modifyDN(
String dn, String rdn, {bool deleteOldRDN = true, String? newSuperior}) → Future< LdapResult> - Performs an LDAP modifyDN operation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
String baseDN, String query, List< String> attributes, {int scope = SearchScope.SUB_LEVEL, int sizeLimit = 0, List<Control> controls = const []}) → Future<SearchResult> - Like the search method, but the filter is constructed using the query string. See https://tools.ietf.org/html/rfc2254
-
search(
String baseDN, Filter filter, List< String> attributes, {int scope = SearchScope.SUB_LEVEL, int sizeLimit = 0, List<Control> controls = const <Control>[]}) → Future<SearchResult> - Performs an LDAP search operation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- PORT_LDAP → const int
- Standard port for LDAP (i.e. without TLS/SSL).
- PORT_LDAPS → const int
- Standard port for LDAP over TLS/SSL.