Permalink
Browse files

Ughh, my later changesets appear to have blown away some of Mark's ch…

…anges :(

Put back in the capitalisation change to getOAuthAccessToken.
  • Loading branch information...
1 parent 680d064 commit 3564e2e60bfc4ddae94fafac66ed335bdd7127fb @ciaranj committed Jul 29, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 examples/term.ie.oauth-HMAC-SHA1.js
  2. +1 −1 examples/term.ie.oauth-PLAINTEXT.js
  3. +1 −1 lib/oauth.js
@@ -17,7 +17,7 @@ oa.getOAuthRequestToken(function(error, oauth_token, oauth_token_secret, results
sys.puts('oauth_token_secret :' + oauth_token_secret)
sys.puts('requestoken results :' + sys.inspect(results))
sys.puts("Requesting access token")
- oa.getOauthAccessToken(oauth_token, oauth_token_secret, function(error, oauth_access_token, oauth_access_token_secret, results2) {
+ oa.getOAuthAccessToken(oauth_token, oauth_token_secret, function(error, oauth_access_token, oauth_access_token_secret, results2) {
sys.puts('oauth_access_token :' + oauth_access_token)
sys.puts('oauth_token_secret :' + oauth_access_token_secret)
sys.puts('accesstoken results :' + sys.inspect(results2))
@@ -17,7 +17,7 @@ oa.getOAuthRequestToken(function(error, oauth_token, oauth_token_secret, result
sys.puts('oauth_token_secret :' + oauth_token_secret)
sys.puts('requestoken results :' + sys.inspect(results))
sys.puts("Requesting access token")
- oa.getOauthAccessToken(oauth_token, oauth_token_secret, function(error, oauth_access_token, oauth_access_token_secret, results2) {
+ oa.getOAuthAccessToken(oauth_token, oauth_token_secret, function(error, oauth_access_token, oauth_access_token_secret, results2) {
sys.puts('oauth_access_token :' + oauth_access_token)
sys.puts('oauth_token_secret :' + oauth_access_token_secret)
sys.puts('accesstoken results :' + sys.inspect(results2))
View
@@ -237,7 +237,7 @@ exports.OAuth.prototype._performSecureRequest= function( oauth_token, oauth_toke
request.end();
}
-exports.OAuth.prototype.getOauthAccessToken= function(oauth_token, oauth_token_secret, oauth_verifier, callback) {
+exports.OAuth.prototype.getOAuthAccessToken= function(oauth_token, oauth_token_secret, oauth_verifier, callback) {
var extraParams= {};
if( typeof oauth_verifier == "function" ) {
callback= oauth_verifier;

0 comments on commit 3564e2e

Please sign in to comment.