Commit Graph

100 Commits

Author SHA1 Message Date
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
b79bce508f Trying again with package.json 2010-08-26 09:36:01 +01:00
999a2bc5e8 Still struggling to get the repositories link in package.json right 2010-08-26 09:14:25 +01:00
b106405248 Updating the package.json file 2010-08-25 21:03:24 +01:00
ea09e67244 Error object rather than string in OAuth2 as well. 2010-08-24 06:12:49 +08:00
817e9680af Merge branch 'fix_up_0.7.8' 2010-08-16 23:01:00 +01:00
5ee443e9c3 Bumping version to 0.8.0 2010-08-16 22:53:56 +01:00
24c91e02b9 Add support for specifying whatever static HTTP headers one wishes with the OAuth requests 2010-08-14 19:21:12 +01:00
752c4419f9 Changed the post method to support passing of either a POST body string and optional content-type,
or a hash of query parameters that will be url form encoded.
2010-08-06 09:01:40 +01:00
ca370f3f5a Added new get method to OAuth2. Deprecated older getProtectedResource method 2010-08-05 22:49:55 +01:00
7117b2df3e Added new post method and get method. Deprecated older getProtectedResource method 2010-08-05 22:49:27 +01:00
3564e2e60b Ughh, my later changesets appear to have blown away some of Mark's changes :(
Put back in the capitalisation change to getOAuthAccessToken.
2010-07-29 22:58:58 +01:00
680d064e50 Updating documentation to reflect some received contributions. 2010-07-29 22:54:04 +01:00
0b4353bd38 Merge branch 'master' of http://github.com/ciaranj/node-oauth
Conflicts:
	lib/oauth.js
2010-07-29 23:24:56 +02:00
33df3dfd17 Error object rather than string, which allows for better verification of the HTTP status code of the response. 2010-07-28 19:24:56 +02:00
c8393eb053 Support for passing extra parameters when getting a request token. Changed getOAuthAccessToken to always expect an oauth_verifier value (although it could be null). 2010-07-28 19:24:13 +02:00
e38ab951f1 Fixed getOAuthAccessToken (rather than getOauthAccessToken). 2010-07-28 19:22:57 +02:00
40cc690275 Ooops != != == ! ;) 2010-07-19 00:29:17 +01:00
1c93463189 it looks like non oauth_ parameters where being included within the authorization headers
I believe this to be incorrect.
2010-07-19 00:25:00 +01:00
ebcf1c2950 Weird, found a missing argument that I could swear I'd put in previously?!!? 2010-07-18 23:43:39 +01:00
171b6d4599 Bumping version to 0.7.5, adding a top-level main file to ease
npm inclusion.
2010-07-18 21:26:22 +01:00
6942f60797 Bumping version 0.7.4 2010-06-23 19:59:59 +01:00
6ad738d395 added error listener to request socket, no node does not crash on socket error 2010-06-23 05:51:51 +08:00
09d613cd46 Bumping to 0.7.3 oauth 2 now sending a Content-Length header of 0 to
play well with github/nginx.
2010-06-01 21:03:23 +01:00
76cddbdf2b Bumping version number (0.7.2) 2010-05-18 19:14:06 +01:00
341136d554 Fixed a load of test failures I'd somehow missed ?!?!! (Thanks go to @dshaw for noticing) 2010-05-18 13:57:01 +01:00
24bcc8c712 Updated the notes to demonstrate the 0.7.0 change was breaking :( 2010-05-10 20:05:28 +01:00
36d5a13a8c ARgghh trying to set the version to 0.7.0 2010-05-10 19:48:15 +01:00
d7d5cfbcfe Bumping the version 2010-05-10 19:44:17 +01:00
63dc8facb6 Adds support for 1.0A callback urls, and HTTPS endpoints
Introduces a breaking constructing change, there is now a 'callback url' argument
that can be supplied prior to the signatureMethod in the constructor.

Pass 'null' to explicitly ensure the callback url is never used, 'undefined' to
use 'oob', 'oob' to use 'oob' or an absolute url.
2010-05-09 00:50:06 +01:00
6b7b8f3198 Added in some basic (but working) OAuth2 support
no specs :( .. I suck.
2010-05-02 15:43:10 +01:00
fcc19b4c8f Bumping version to 0.0.5 2010-04-27 21:58:42 +01:00
09567154fd Adding a method to sign urls, desperately need to re-factor :( 2010-04-27 21:48:43 +01:00
337b6c7fa6 Added support in for dealing with servers using non-default ports. 2010-04-27 21:04:58 +01:00
091ac960b9 Added some extra support to the url normalisation (ensure that when no path given the normalised url has a trailing slash) 2010-04-27 19:49:42 +01:00
e3e4c81ee7 Bump seed version. 2010-04-21 22:43:16 +01:00
0beb1c9f96 Removed authorize_url from the client, was really the wrong place for it :( 2010-04-21 16:29:46 +01:00
36eded6a2e Added in support for PLAINTEXT Signature methods. 2010-04-20 22:37:28 +01:00
3f97e3e38f Support configurable nonces and began the re-factor. 2010-04-19 23:04:24 +01:00
313f65ed0d Re-ordered the arguments on the getresource thingy. 2010-04-19 22:34:30 +01:00
6113ed72af Bumping seed version to 0.0.2 2010-04-19 22:04:55 +01:00
2bf33d156b Added a method to access protected resources. 2010-04-19 22:02:36 +01:00
c9c1eb05e8 Adding basic readme. 2010-04-19 20:48:51 +01:00
c223c309aa Removed all twitter references ;) 2010-04-19 20:13:55 +01:00
bbc7a741fc Removed un-neccessaryy custom query parsing code 2010-04-19 19:12:58 +01:00
a5d074ab5d Added URL normalisation 2010-04-19 19:05:29 +01:00
3ad23102ea Removed un-neccessary kiwi + express dependencies 2010-04-19 17:48:45 +01:00
619880fb15 Fixing Seed! (broke kiwi, oops!) 2010-04-19 16:40:43 +01:00
22402db273 Ok, very basic, needs refactoring Getting of Request and Access tokens (POST stylee)
works.
2010-04-19 13:20:50 +01:00
d15500781e Initial commit of library code from: http://code.google.com/p/oauth/source/browse/code/javascript/
I'm basic this client on the pre-existing OAuth code.
2010-01-26 22:25:54 +00:00