Method AuthenticateAsync(string, string, CancellationToken)

Assembly: redb.Identity.Ldap.dll

Attempts to authenticate username / password
against the external system.
Returns null if this provider does not handle the given user (next provider is tried).
Returns a result with = false for explicit auth failure
(e.g. valid LDAP user but wrong password — do NOT fall through to local).

public Task<ExternalAuthResult?> AuthenticateAsync(string username, string password, CancellationToken ct = default)