How to use the oauth.OAuth2.call 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
function OAuth2CA(options) {
    OAuth2.call(this, options.clientId,  options.clientSecret, options.baseSite,
                options.authorizationUrl, options.accessTokenUrl, options.customHeaders);
    this.options = options;
    //this.useAuthorizationHeaderforGET(true);
}