@3kles/3kles-ldap
Version:
21 lines (20 loc) • 506 B
TypeScript
import { ClientOptions, SearchOptions, Attribute, Change } from 'ldapts';
interface ILdapParameter {
type: string;
client: ClientOptions;
binder: IBinderInfo;
searchOptions?: SearchOptions;
ca?: string | string[];
entry?: Attribute[];
change?: Change | Change[];
dn?: string;
newDN?: string;
userAttribute?: string;
ad?: any;
}
interface IBinderInfo {
baseDN: string;
bindUser: string;
bindPassword: string;
}
export { ILdapParameter, IBinderInfo };