The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/definition/ldap/ILDAPOptions.ts

31 lines
890 B

export type LDAPEncryptionType = 'plain' | 'tls' | 'ssl';
export type LDAPSearchScope = 'base' | 'one' | 'sub';
export interface ILDAPConnectionOptions {
host?: string;
port: number;
reconnect: boolean;
timeout: number;
connectionTimeout: number;
idleTimeout: number;
encryption: LDAPEncryptionType;
caCert?: string;
rejectUnauthorized: boolean;
baseDN: string;
userSearchFilter: string;
userSearchScope: LDAPSearchScope;
userSearchField: string;
searchPageSize: number;
searchSizeLimit: number;
uniqueIdentifierField?: string;
groupFilterEnabled: boolean;
groupFilterObjectClass?: string;
groupFilterGroupIdAttribute?: string;
groupFilterGroupMemberAttribute?: string;
groupFilterGroupMemberFormat?: string;
groupFilterGroupName?: string;
authentication: boolean;
authenticationUserDN: string;
authenticationPassword: string;
attributesToQuery: Array<string>;
}