ciaranj 3b94a77e5c Possible mechanism for returning a signed request object.
if oauth.get/post is called without a callback parameter it will return
a valid request object that can have custom listeners etc. attached to it.

Don't forget to call 'end' on it :)
2010-08-26 19:28:54 +01:00
2010-08-26 09:36:01 +01:00
2010-08-16 22:53:56 +01:00
2010-06-23 19:59:59 +01:00

node-oauth

A simple oauth API for node.js . This API allows users to authenticate against OAUTH providers, and thus act as OAuth consumers

Tested against both Twitter (http://twitter.com), term.ie (http://term.ie/oauth/example/) and Yahoo!

Also provides rudimentary OAuth2 support, tested against facebook connect and github. For more complete usage examples please take a look at connect-auth (http://github.com/ciaranj/connect-auth)

Change History

  • 0.8.0 - Standardised method capitalisation, the old getOauthAccessToken is now getOAuthAccessToken (Breaking change to existing code)
  • 0.7.7 - Looks like non oauth_ parameters where appearing within the Authorization headers, which I believe to be inccorrect.
  • 0.7.6 - Added in oauth_verifier property to getAccessToken required for 1.0A
  • 0.7.5 - Added in a main.js to simplify the require'ing of OAuth
  • 0.7.4 - Minor change to add an error listener to the OAuth client (thanks troyk)
  • 0.7.3 - OAuth 2 now sends a Content-Length Http header to keep nginx happy :)
  • 0.7.2 - Fixes some broken unit tests!
  • 0.7.0 - Introduces support for HTTPS end points and callback URLS for OAuth 1.0A and Oauth 2 (Please be aware that this was a breaking change to the constructor arguments order)

Contributors

Ciaran Jessup - ciaranj@gmail.com Mark Wubben - http://equalmedia.com/

Description
Languages
JavaScript 99.9%