|
|
@ -94,8 +94,8 @@ interface IGoogleLDAPAuthOptions {
|
|
|
|
base: string;
|
|
|
|
base: string;
|
|
|
|
/** tls options
|
|
|
|
/** tls options
|
|
|
|
* e.g. {
|
|
|
|
* e.g. {
|
|
|
|
key: fs.readFileSync('ldap.gsuite.hokify.com.40567.key'),
|
|
|
|
key: fs.readFileSync('ldap.gsuite.key'),
|
|
|
|
cert: fs.readFileSync('ldap.gsuite.hokify.com.40567.crt')
|
|
|
|
cert: fs.readFileSync('ldap.gsuite.crt')
|
|
|
|
} */
|
|
|
|
} */
|
|
|
|
tlsOptions: tls.TlsOptions;
|
|
|
|
tlsOptions: tls.TlsOptions;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -110,8 +110,8 @@ c = {
|
|
|
|
authenticationOptions: {
|
|
|
|
authenticationOptions: {
|
|
|
|
base: 'dc=hokify,dc=com',
|
|
|
|
base: 'dc=hokify,dc=com',
|
|
|
|
tlsOptions: {
|
|
|
|
tlsOptions: {
|
|
|
|
key: fs.readFileSync('ldap.gsuite.hokify.com.40567.key'),
|
|
|
|
key: fs.readFileSync('ldap.gsuite.key'),
|
|
|
|
cert: fs.readFileSync('ldap.gsuite.hokify.com.40567.crt')
|
|
|
|
cert: fs.readFileSync('ldap.gsuite.crt')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -132,8 +132,8 @@ interface ILDAPAuthOptions {
|
|
|
|
base: string;
|
|
|
|
base: string;
|
|
|
|
/** tls options
|
|
|
|
/** tls options
|
|
|
|
* e.g. {
|
|
|
|
* e.g. {
|
|
|
|
key: fs.readFileSync('ldap.gsuite.hokify.com.40567.key'),
|
|
|
|
key: fs.readFileSync('ldap.gsuite.key'),
|
|
|
|
cert: fs.readFileSync('ldap.gsuite.hokify.com.40567.crt'),
|
|
|
|
cert: fs.readFileSync('ldap.gsuite.crt'),
|
|
|
|
servername: 'ldap.google.com'
|
|
|
|
servername: 'ldap.google.com'
|
|
|
|
} */
|
|
|
|
} */
|
|
|
|
tlsOptions?: any;
|
|
|
|
tlsOptions?: any;
|
|
|
@ -153,8 +153,8 @@ c = {
|
|
|
|
url: 'ldaps://ldap.google.com',
|
|
|
|
url: 'ldaps://ldap.google.com',
|
|
|
|
base: 'dc=hokify,dc=com',
|
|
|
|
base: 'dc=hokify,dc=com',
|
|
|
|
tlsOptions: {
|
|
|
|
tlsOptions: {
|
|
|
|
key: fs.readFileSync('ldap.gsuite.hokify.com.40567.key'),
|
|
|
|
key: fs.readFileSync('ldap.gsuite.key'),
|
|
|
|
cert: fs.readFileSync('ldap.gsuite.hokify.com.40567.crt'),
|
|
|
|
cert: fs.readFileSync('ldap.gsuite.crt'),
|
|
|
|
servername: 'ldap.google.com'
|
|
|
|
servername: 'ldap.google.com'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|