Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 92 lines (81 sloc) 5.387 kb
c9c1eb0 @ciaranj Adding basic readme.
authored
1 node-oauth
2 ===========
333f2a3 @meltingice Updated README
meltingice authored
3 A simple oauth API for node.js . This API allows users to authenticate against OAUTH providers, and thus act as OAuth consumers. It also has support for OAuth Echo, which is used for communicating with 3rd party media providers such as TwitPic and yFrog.
2bf33d1 @ciaranj Added a method to access protected resources.
authored
4
37c2408 @ciaranj Some minor reformatting and 'standardisation' of the merged code
authored
5 Tested against Twitter (http://twitter.com), term.ie (http://term.ie/oauth/example/), TwitPic, and Yahoo!
6b7b8f3 @ciaranj Added in some basic (but working) OAuth2 support
authored
6
21bee6b @ciaranj Update documentation readme style
authored
7 Also provides rudimentary OAuth2 support, tested against facebook, github, foursquare, google and Janrain. For more complete usage examples please take a look at connect-auth (http://github.com/ciaranj/connect-auth)
24bcc8c @ciaranj Updated the notes to demonstrate the 0.7.0 change was breaking :(
authored
8
531c088 @ciaranj Updating version information
authored
9
8273510 Added installation instructions
Greg Jacobson authored
10 Installation
11 ==============
12
13 $ npm install oauth
14
15
24bcc8c @ciaranj Updated the notes to demonstrate the 0.7.0 change was breaking :(
authored
16 Change History
9fea0b5 @ciaranj Added tests for 302 redirect functionality
authored
17 ==============
d66ed8a @ciaranj Updating readme and bumping version number for future release
authored
18
bd90c0f @ciaranj Bump version to 0.9.8 and update release notes
authored
19 * 0.9.8
a846c28 @ciaranj Oops, my Readme.md wasn't consistent with the other lines
authored
20 - OAuth1: Support overly-strict OAuth server's that require whitespace separating the Authorization Header parameters (e.g. 500px.com) (Thanks to Christian Schwarz)
21 - OAuth1: Fix incorrect double-encoding of PLAINTEXT OAuth connections (Thanks to Joe Rozner)
22 - OAuth1: Minor safety check added when checking hostnames. (Thanks to Garrick Cheung)
21bee6b @ciaranj Update documentation readme style
authored
23 * 0.9.7
24 - OAuth2: Pass back any extra response data for calls to getOAuthAccessToken (Thanks to Tang Bo Hao)
25 - OAuth2: Don't force a https request if given a http url (Thanks to Damien Mathieu)
26 - OAuth2: Supports specifying a grant-type of 'refresh-token' (Thanks to Luke Baker)
27 * 0.9.6
28 - OAuth2: Support for 302 redirects (Thanks Patrick Negri).
29 - OAuth1/2: Some code tidying. ( Thanks to Raoul Millais )
30 * 0.9.5
31 - OAuth1: Allow usage of HTTP verbs other than GET for retrieving the access and request tokens (Thanks to Raoul Millais)
32 * 0.9.4
33 - OAuth1/2: Support for OAuth providers that drop connections (don't send response lengths? [Google])
34 - OAuth2: Change getOAuthAccessToken to POST rather than GET ( Possible Breaking change!!! ... re-tested against Google, Github, Facebook, FourSquare and Janrain and seems ok .. is closer to the spec (v20) )
35 * 0.9.3
36 - OAuth1: Adds support for following 301 redirects (Thanks bdickason)
37 * 0.9.2
38 - OAuth1: Correct content length calculated for non-ascii post bodies (Thanks selead)
39 - OAuth1: Allowed for configuration of the 'access token' name used when requesting protected resources (OAuth2)
40 * 0.9.1
41 - OAuth1: Added support for automatically following 302 redirects (Thanks neyric)
42 - OAuth1: Added support for OAuth Echo (Thanks Ryan LeFevre).
43 - OAuth1: Improved handling of 2xx responses (Thanks Neil Mansilla).
44 * 0.9.0
45 - OAuth1/2: Compatibility fixes to bring node-oauth up to speed with node.js 0.4x [thanks to Rasmus Andersson for starting the work ]
46 * 0.8.4
47 - OAuth1: Fixed issue #14 (Parameter ordering ignored encodings).
48 - OAuth1: Added support for repeated parameter names.
49 - OAuth1/2: Implements issue #15 (Use native SHA1 if available, 10x speed improvement!).
50 - OAuth2: Fixed issue #16 (Should use POST when requesting access tokens.).
51 - OAuth2: Fixed Issue #17 (OAuth2 spec compliance).
52 - OAuth1: Implemented enhancement #13 (Adds support for PUT & DELETE http verbs).
53 - OAuth1: Fixes issue #18 (Complex/Composite url arguments [thanks novemberborn])
54 * 0.8.3
55 - OAuth1: Fixed an issue where the auth header code depended on the Array's toString method (Yohei Sasaki) Updated the getOAuthRequestToken method so we can access google's OAuth secured methods. Also re-implemented and fleshed out the test suite.
56 * 0.8.2
57 - OAuth1: The request returning methods will now write the POST body if provided (Chris Anderson), the code responsible for manipulating the headers is a bit safe now when working with other code (Paul McKellar)
58 - Package: Tweaked the package.json to use index.js instead of main.js
59 * 0.8.1
60 - OAuth1: Added mechanism to get hold of a signed Node Request object, ready for attaching response listeners etc. (Perfect for streaming APIs)
61 * 0.8.0
62 - OAuth1: Standardised method capitalisation, the old getOauthAccessToken is now getOAuthAccessToken (Breaking change to existing code)
63 * 0.7.7
64 - OAuth1: Looks like non oauth_ parameters where appearing within the Authorization headers, which I believe to be incorrect.
65 * 0.7.6
66 - OAuth1: Added in oauth_verifier property to getAccessToken required for 1.0A
67 * 0.7.5
68 - Package: Added in a main.js to simplify the require'ing of OAuth
69 * 0.7.4
70 - OAuth1: Minor change to add an error listener to the OAuth client (thanks troyk)
71 * 0.7.3
72 - OAuth2: Now sends a Content-Length Http header to keep nginx happy :)
73 * 0.7.2
74 - OAuth1: Fixes some broken unit tests!
75 * 0.7.0
76 - OAuth1/2: 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)
680d064 @ciaranj Updating documentation to reflect some received contributions.
authored
77
bd90c0f @ciaranj Bump version to 0.9.8 and update release notes
authored
78 Contributors (In no particular order)
79 =====================================
d53cb01 @ciaranj Changing the readme to reflect latest version changes
authored
80
81 * Ciaran Jessup - ciaranj@gmail.com
82 * Mark Wubben - http://equalmedia.com/
333f2a3 @meltingice Updated README
meltingice authored
83 * Ryan LeFevre - http://meltingice.net
6b4dbcd @ciaranj Bumping version
authored
84 * Raoul Millais
d300b4e @ciaranj Bumping to version 0.9.6
authored
85 * Patrick Negri - http://github.com/pnegri
6fa0288 @ciaranj Adding test for passing back the extra data to the OAuth2 getOAuthAcc…
authored
86 * Tang Bo Hao - http://github.com/btspoony
6b9323f @ciaranj Acknowledge contributor
authored
87 * Damien Mathieu - http://42.dmathieu.com
ee4dbd2 @ciaranj Acknowledging contributor
authored
88 * Luke Baker - http://github.com/lukebaker
bd90c0f @ciaranj Bump version to 0.9.8 and update release notes
authored
89 * Christian Schwarz - http://github.com/chrischw/
90 * Joe Rozer - http://www.deadbytes.net
91 * Garrick Cheung - http://www.garrickcheung.com/
Something went wrong with that request. Please try again.