ldapts
Advanced tools
Comparing version 2.10.0 to 2.10.1
@@ -0,1 +1,6 @@ | ||
### 2.10.1 | ||
* Update npms | ||
* Fix documentation for SASL authentication | ||
* Remove sequence identifier for SASL authentication | ||
### 2.10.0 | ||
@@ -2,0 +7,0 @@ * Add support for PLAIN and EXTERNAL SASL authentication to bind request |
@@ -20,3 +20,3 @@ "use strict"; | ||
// SASL authentication | ||
writer.startSequence(ProtocolOperation_1.ProtocolOperation.LDAP_REQ_BIND_SASL); | ||
writer.startSequence(); | ||
writer.writeString(this.mechanism); | ||
@@ -23,0 +23,0 @@ if (this.password) { |
{ | ||
"name": "ldapts", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"description": "LDAP client", | ||
@@ -44,6 +44,6 @@ "main": "index.js", | ||
"@types/asn1": "~0.2.0", | ||
"@types/node": "~14.14.7", | ||
"@types/node": "~14.14.10", | ||
"@types/uuid": "~8.3.0", | ||
"asn1": "~0.2.4", | ||
"debug": "~4.2.0", | ||
"debug": "~4.3.1", | ||
"strict-event-emitter-types": "~2.0.0", | ||
@@ -56,9 +56,9 @@ "uuid": "~8.3.1" | ||
"@types/debug": "~4.1.5", | ||
"@types/mocha": "~8.0.3", | ||
"@types/sinon": "~9.0.8", | ||
"@typescript-eslint/eslint-plugin": "~4.7.0", | ||
"@typescript-eslint/parser": "~4.7.0", | ||
"@types/mocha": "~8.0.4", | ||
"@types/sinon": "~9.0.9", | ||
"@typescript-eslint/eslint-plugin": "~4.9.0", | ||
"@typescript-eslint/parser": "~4.9.0", | ||
"chai": "~4.2.0", | ||
"chai-as-promised": "~7.1.1", | ||
"eslint": "~7.13.0", | ||
"eslint": "~7.14.0", | ||
"eslint-config-airbnb-base": "~14.2.1", | ||
@@ -68,3 +68,3 @@ "eslint-config-airbnb-typescript": "~12.0.0", | ||
"eslint-plugin-import": "~2.22.1", | ||
"eslint-plugin-jsdoc": "~30.7.7", | ||
"eslint-plugin-jsdoc": "~30.7.8", | ||
"eslint-plugin-mocha": "~8.0.0", | ||
@@ -74,12 +74,12 @@ "eslint-plugin-prettier": "~3.1.4", | ||
"eslint-plugin-security": "~1.4.0", | ||
"husky": "~5.0.0-beta.0", | ||
"lint-staged": "~10.5.1", | ||
"husky": "~5.0.4", | ||
"lint-staged": "~10.5.2", | ||
"mocha": "~8.2.1", | ||
"pinst": "~2.0.0", | ||
"prettier": "~2.1.2", | ||
"pinst": "~2.1.1", | ||
"prettier": "~2.2.1", | ||
"sinon": "~9.2.1", | ||
"ts-mockito": "~2.6.1", | ||
"ts-node": "~9.0.0", | ||
"typescript": "~4.0.5" | ||
"typescript": "~4.1.2" | ||
} | ||
} |
@@ -6,3 +6,2 @@ export declare enum ProtocolOperation { | ||
LDAP_REQ_BIND = 96, | ||
LDAP_REQ_BIND_SASL = 163, | ||
LDAP_REQ_UNBIND = 66, | ||
@@ -9,0 +8,0 @@ LDAP_REQ_SEARCH = 99, |
@@ -12,3 +12,2 @@ "use strict"; | ||
ProtocolOperation[ProtocolOperation["LDAP_REQ_BIND"] = 96] = "LDAP_REQ_BIND"; | ||
ProtocolOperation[ProtocolOperation["LDAP_REQ_BIND_SASL"] = 163] = "LDAP_REQ_BIND_SASL"; | ||
ProtocolOperation[ProtocolOperation["LDAP_REQ_UNBIND"] = 66] = "LDAP_REQ_UNBIND"; | ||
@@ -15,0 +14,0 @@ ProtocolOperation[ProtocolOperation["LDAP_REQ_SEARCH"] = 99] = "LDAP_REQ_SEARCH"; |
@@ -95,3 +95,3 @@ LDAPts | ||
|`dnOrSaslMechanism` (string)|The name (DN) of the directory object that the client wishes to bind as or the SASL mechanism (PLAIN, EXTERNAL) | ||
|`password` (string)|Password for the target bind DN | ||
|`[password]` (string)|Password for the target bind DN | ||
|`[controls]` (Control|Control[])|Optional `Control` object or array of `Control` objects | ||
@@ -110,3 +110,3 @@ | ||
const credentials = '...foo...'; | ||
await client.bind("EXTERNAL", credentials); | ||
await client.bind("PLAIN", credentials); | ||
@@ -113,0 +113,0 @@ ## startTLS |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
338521
5150
+ Addeddebug@4.3.5(transitive)
- Removeddebug@4.2.0(transitive)
Updated@types/node@~14.14.10
Updateddebug@~4.3.1