namespace JdeScoping.Core.Options;
///
/// LDAP configuration options for authentication
///
public class LdapOptions
{
///
/// Configuration section name
///
public const string SectionName = "Ldap";
///
/// LDAP server URLs (supports multiple for failover).
/// Example: ["ldap.corp.example.com", "ldap2.corp.example.com"]
///
public string[] ServerUrls { get; set; } = [];
///
/// Distinguished name of required group for access.
/// Example: "CN=ScopingTool-Users,OU=Groups,DC=corp,DC=example,DC=com"
///
public string GroupDn { get; set; } = string.Empty;
///
/// LDAP search base for user lookups.
/// Example: "DC=corp,DC=example,DC=com"
///
public string SearchBase { get; set; } = string.Empty;
///
/// Connection timeout in seconds.
///
public int ConnectionTimeoutSeconds { get; set; } = 30;
}