Class LdapExternalUserProvider
LDAP external user provider. Implements search+bind authentication:
Search with service account to find user DN by uid/sAMAccountName
Bind with found user DN + provided password to verify credentials
Check UAC flags (if enabled) for disabled/locked accounts
Map LDAP attributes → ExternalAuthResult
public sealed class LdapExternalUserProvider : IExternalUserProvider, IAsyncDisposable
Inheritance
Implements
Properties
ProviderName
Provider identifier, e.g. "ldap", "oidc:google", "saml:corp".
public string ProviderName { get; }
Methods
AuthenticateAsync(string, string, CancellationToken)
Attempts to authenticate username / password
public Task<ExternalAuthResult?> AuthenticateAsync(string username, string password, CancellationToken ct = default)
DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or
public ValueTask DisposeAsync()