Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
OAuth2CA.prototype._executeRequest = function(http_library, options, post_body, callback) {
options.rejectUnauthorized = this.options.rejectUnauthorized == null ?
true : this.options.rejectUnauthorized;
if (this.options.basicAuth) {
options.auth = this.options.basicAuth;
}
OAuth2.prototype._executeRequest.call(
this, http_library, options, post_body, callback)
}