lib/wstrust-response.js
function WSTrustResponse(callContext, response, wstrustVersion) {
  this._log = new Logger('WSTrustResponse', callContext._logContext);
  this._callContext = callContext;
  this._response = response;
  this._dom = null;
  this._errorCode = null;
  this._faultMessage = null;
  this._tokenType = null;
  this._token = null;
  this._wstrustVersion = wstrustVersion;

  this._log.verbose(function(){return scrubRSTRLogMessage(response);});
}
function WSTrustResponse(callContext, response, wstrustVersion) {
  this._log = new Logger('WSTrustResponse', callContext._logContext);
  this._callContext = callContext;
  this._response = response;
  this._dom = null;
  this._errorCode = null;
  this._faultMessage = null;
  this._tokenType = null;
  this._token = null;
  this._wstrustVersion = wstrustVersion;

  this._log.verbose(function(){return scrubRSTRLogMessage(response);});
}
function WSTrustResponse ( callContext , response , wstrustVersion ) { this . _log = new Logger ( 'WSTrustResponse' , callContext . _logContext ) ; this . _callContext = callContext ; this . _response = response ; this . _dom = null ; this . _errorCode = null ; this . _faultMessage = null ; this . _tokenType = null ; this . _token = null ; this . _wstrustVersion = wstrustVersion ; this . _log . verbose ( function ( ) { return scrubRSTRLogMessage ( response ) ; } ) ; }
Creates a new WSTrustResponse instance.
@constructor
@private
@param {object} callContext Contains any context information that applies to the request.
@param {string} response   A soap response from a WS-Trust request.
@param {sting}  wstrustVersion The version for the WS-Trust request.
Creates a new WSTrustResponse instance .