2011-08-04 20:32:01 +00:00
|
|
|
// Copyright 2011 Mark Cavage, Inc. All rights reserved.
|
|
|
|
|
2015-10-31 17:28:25 +00:00
|
|
|
var assert = require('assert-plus');
|
2011-08-04 20:32:01 +00:00
|
|
|
var util = require('util');
|
|
|
|
|
|
|
|
var LDAPResult = require('./result');
|
|
|
|
var Protocol = require('../protocol');
|
|
|
|
|
|
|
|
|
|
|
|
///--- API
|
|
|
|
|
|
|
|
function BindResponse(options) {
|
2015-10-31 17:28:25 +00:00
|
|
|
options = options || {};
|
|
|
|
assert.object(options);
|
2011-08-04 20:32:01 +00:00
|
|
|
|
|
|
|
options.protocolOp = Protocol.LDAP_REP_BIND;
|
|
|
|
LDAPResult.call(this, options);
|
|
|
|
}
|
|
|
|
util.inherits(BindResponse, LDAPResult);
|
2015-10-31 17:28:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
///--- Exports
|
|
|
|
|
2011-08-04 20:32:01 +00:00
|
|
|
module.exports = BindResponse;
|