Class LdapSyncOptions

Assembly: redb.Identity.Ldap.dll

Configuration for the LDAP directory sync route (Watch consumer).
Extends connection settings with sync-specific options.

public sealed class LdapSyncOptions : LdapConnectionSettings

Inheritance

Object→LdapConnectionSettings→LdapSyncOptions

Inherited Members

Properties

AdditionalClaimsMap

Extra LDAP attributes mapped to custom claims.

public Dictionary<string, string> AdditionalClaimsMap { get; set; }

AttributeMap

Attribute map for converting LDAP entries to user profiles.

public Dictionary<string, string> AttributeMap { get; set; }

Attributes

LDAP attributes to request.

public string[] Attributes { get; set; }

ChangeTrackingMode

Change tracking mode. Default: ModifyTimestamp.

public string ChangeTrackingMode { get; set; }

DetectDeletions

Detect deleted entries. Default: true.

public bool DetectDeletions { get; set; }

DisableDeletedUsers

Whether to disable users when they are deleted from LDAP. Default: true.

public bool DisableDeletedUsers { get; set; }

FullSyncInterval

Full sync interval in poll cycles (for deletion detection). Default: 10.

public int FullSyncInterval { get; set; }

GroupMapperOptions

Group mapper options (used when SyncGroups = true).

public LdapGroupMapperOptions GroupMapperOptions { get; set; }

InitialLoad

Load all entries on first poll. Default: true.

public bool InitialLoad { get; set; }

PollIntervalMs

Poll interval in milliseconds. Default: 60000 (1 min).

public int PollIntervalMs { get; set; }

ProviderName

Provider name stored in user's ExternalProvider field. Default: "ldap-sync".

public string ProviderName { get; set; }

RouteId

Route identifier. Default: "ldap-sync".

public string RouteId { get; set; }

SyncGroups

Enable group sync from memberOf attribute. Default: false.

public bool SyncGroups { get; set; }

UserBaseDn

Base DN for user search.

public string UserBaseDn { get; set; }

UserFilter

LDAP filter for user entries. Default: "(objectClass=inetOrgPerson)".

public string UserFilter { get; set; }

Methods

Validate()

public void Validate()