How to use the oauth.OAuth2.prototype function in oauth

To help you get started, we’ve selected a few oauth examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github doxout / node-oauth-flow / lib / oauth-flow.js View on Github external
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;
        this, http_library, options, post_body, callback)