apps/meteor/ee/server/local-services/ldap/service.ts
import { ServiceClassInternal } from '@rocket.chat/core-services';
import { LDAPEEManager } from '../../lib/ldap/Manager';
import type { ILDAPEEService } from '../../sdk/types/ILDAPEEService';
export class LDAPEEService extends ServiceClassInternal implements ILDAPEEService {
protected name = 'ldap-enterprise';
async sync(): Promise<void> {
return LDAPEEManager.sync();
}
async syncAvatars(): Promise<void> {
return LDAPEEManager.syncAvatars();
}
async syncLogout(): Promise<void> {
return LDAPEEManager.syncLogout();
}
}