Browse Source

new ad ldap datasource

pull/7620/head
Hervé de CHAVIGNY 4 years ago
parent
commit
558057d0d2
  1. 10
      packages/server/src/integrations/adldap.ts

10
packages/server/src/integrations/adldap.ts

@ -5,12 +5,12 @@ import { IClientConfig, Client } from "ldap-ts-client";
module AdLdapModule {
/*interface AdLdapConfig {
interface AdLdapConfig extends IClientConfig {
url: string
bindDN: string
secret: string
baseDN: string
}*/
}
const SCHEMA: Integration = {
docs: "https://github.com/saostad/ldap-ts-client#readme",
@ -51,11 +51,11 @@ module AdLdapModule {
},
}
class AdLdapIntegration {
private readonly config: IClientConfig
class AdLdapIntegration implements IntegrationBase {
private readonly config: AdLdapConfig
private client: any
constructor(config: IClientConfig) {
constructor(config: AdLdapConfig) {
this.config = config

Loading…
Cancel
Save