| 123456789101112131415161718 |
- import { IAuthenticationHandler } from "./index.js";
- export interface LdapAuthenticationConfiguration {
- ldapUrl: string;
- bindDnField: string;
- bindBase: string;
- usernameField?: string | null;
- ldapFilter?: string | null;
- totpField?: string | null;
- }
- export declare class LdapAuthenticationHandler implements IAuthenticationHandler {
- private configuration;
- constructor(configuration: LdapAuthenticationConfiguration);
- private fieldToString;
- 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
|