Class LdapAttributeMapper

Assembly: redb.Identity.Ldap.dll

Maps LDAP entry attributes to fields
using the attribute map from .

public sealed class LdapAttributeMapper

Inheritance

Object→LdapAttributeMapper

Methods

GetField(LdapEntry, string)

Extracts the mapped field value from an LDAP entry.

public string? GetField(LdapEntry entry, string fieldName)

GetRequestedAttributes()

Returns the list of LDAP attribute names needed for the search request.

public string[] GetRequestedAttributes()

MapToResult(LdapEntry)

Builds the ExternalAuthResult from an LDAP entry using the configured attribute map.

public ExternalAuthResult MapToResult(LdapEntry entry)

Constructors