RocketChat/Rocket.Chat

View on GitHub
apps/meteor/ee/server/local-services/ldap/service.ts

Summary

Maintainability
A
0 mins
Test Coverage
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();
    }
}