import { IAuthentication } from '../interfaces/Authentication.js'; import { ILogger } from '../interfaces/Logger.js'; interface ILDAPAuthOptions { /** ldap url * e.g. ldaps://ldap.google.com */ url: string; /** base DN * e.g. 'dc=hokify,dc=com', */ base: string; tls: { keyFile: string; certFile: string; }; /** tls options * e.g. { servername: 'ldap.google.com' } */ tlsOptions?: any; /** * searchFilter */ searchFilter?: string; } export declare class LDAPAuth implements IAuthentication { private ldap; private logger; constructor(config: ILDAPAuthOptions, logger: ILogger); authenticate(username: string, password: string): Promise; } export {};