ldap-ts-client
Advanced tools
Comparing version 0.0.3 to 0.1.0
@@ -27,2 +27,3 @@ import ldap, { SearchOptions, Control, SearchEntryObject } from "ldapjs"; | ||
constructor(config: IClientConfig); | ||
isConnected: () => boolean; | ||
/** @return a connected ldap client that is useful for use flexibility of [ldap.js](http://ldapjs.org/) directly. */ | ||
@@ -29,0 +30,0 @@ bind: () => Promise<ldap.Client>; |
@@ -11,2 +11,5 @@ "use strict"; | ||
constructor(config) { | ||
this.isConnected = () => { | ||
return this.client.connected; | ||
}; | ||
/** @return a connected ldap client that is useful for use flexibility of [ldap.js](http://ldapjs.org/) directly. */ | ||
@@ -13,0 +16,0 @@ this.bind = async () => { |
{ | ||
"name": "ldap-ts-client", | ||
"version": "0.0.3", | ||
"version": "0.1.0", | ||
"description": "Type-safe LDAP client written in typescript", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -41,2 +41,6 @@ import ldap, { SearchOptions, Control, SearchEntryObject } from "ldapjs"; | ||
public isConnected = (): boolean => { | ||
return this.client.connected; | ||
}; | ||
/** @return a connected ldap client that is useful for use flexibility of [ldap.js](http://ldapjs.org/) directly. */ | ||
@@ -43,0 +47,0 @@ public bind = async (): Promise<ldap.Client> => { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28882
457