Searched refs:_oauth (Results 1 – 2 of 2) sorted by relevance
16 OAuth.prototype.buildParams = function (_oauth, uri, method, query, form, qsLib) { argument18 for (var i in _oauth) {19 oa['oauth_' + i] = _oauth[i]64 OAuth.prototype.buildBodyHash = function (_oauth, body) { argument65 if (['HMAC-SHA1', 'RSA-SHA1'].indexOf(_oauth.signature_method || 'HMAC-SHA1') < 0) {66 this.request.emit('error', new Error('oauth: ' + _oauth.signature_method +94 OAuth.prototype.onRequest = function (_oauth) { argument96 self.params = _oauth108 var transport = _oauth.transport_method || 'header'122 if (!form && typeof _oauth.body_hash === 'boolean') {[all …]
123 self._oauth = new OAuth(self)447 } else if (self._oauth.params && self.hasHeader('authorization')) {448 self.oauth(self._oauth.params)1430 Request.prototype.oauth = function (_oauth) { argument1433 self._oauth.onRequest(_oauth)