| 12345678910111213141516 |
- import { IAuthenticationHandler } from "./index.js";
- export interface LdapAuthenticationConfiguration {
- ldapUrl: string;
- bindDnField: string;
- bindRoot: string;
- usernameField: string;
- totpField: string | null;
- }
- export declare class LdapAuthenticationHandler implements IAuthenticationHandler {
- private configuration;
- constructor(configuration: LdapAuthenticationConfiguration);
- private tryBind;
- tryLogin(username: string, password: string, totp?: string): Promise<boolean | null>;
- needTotp(username: string, password: string): Promise<boolean | null>;
- }
- //# sourceMappingURL=ldapAuthenticationHandler.d.ts.map
|