Skip to content

SudoSOS Back-end API / helpers / getLDAPSettings

Function: getLDAPSettings() ​

ts
function getLDAPSettings(): object;

Wrapper for the LDAP environment variables.

Returns ​

object

base ​

ts
base: string = process.env.LDAP_BASE;

reader ​

ts
reader: string = process.env.LDAP_BIND_USER;

readerPassword ​

ts
readerPassword: string = process.env.LDAP_BIND_PW;

url ​

ts
url: string = process.env.LDAP_SERVER_URL;

userFilter ​

ts
userFilter: string = process.env.LDAP_USER_FILTER;