a4b96af335
Repair missing commit(s)
2014-12-18 20:12:24 +00:00
9e27f4c128
Merge pull request #224 from jbaumbach/master
...
Fix headers variable in wrong scope in get()
2014-10-08 19:45:40 +01:00
9419b00441
Fix headers variable in wrong scope in get()
2014-10-08 18:35:52 +00:00
69b0b7c3e8
Merge pull request #211 from zedgu/master
...
Fix #196 #207 (Removes some un-needed calls to tls/crypto)
2014-08-08 14:31:35 +01:00
47e50fe3ce
Fix #196 #207
...
tests/oauth2.js
[remove] https never used
[add] https url testing
lib/oauth2.js
[remove] creds never used
2014-08-08 21:24:51 +08:00
bfa43b44e7
Merge pull request #200 from prometheansacrifice/master
...
Example code for github
2014-06-20 10:00:48 +01:00
467234da36
Example code for github
2014-06-20 14:14:24 +05:30
7f251f49fb
Merge pull request #142 from shihongzhi/patch-1
...
the word "install" is spelling error
2014-05-21 21:08:40 +01:00
0707eb851b
Merge pull request #150 from joserobleda/master
...
Use hasOwnProperty to prevent erros
2014-05-21 21:03:03 +01:00
4e351fef16
Merge remote-tracking branch 'origin/master' into evanp-issue144
2014-05-21 20:48:58 +01:00
ff2210a011
Provides a test case for #144
2014-05-21 20:48:01 +01:00
00ae962b32
Merge branch 'broox-oauth2_put'
...
Conflicts:
tests/oauth2.js
2014-05-21 20:23:47 +01:00
1eda281512
Provides a test-case for #160
2014-05-21 20:22:00 +01:00
9e9ff170b6
Merge pull request #171 from psanchezdl/patch-2
...
Koding button
2014-05-21 19:28:35 +01:00
96abec7c28
Merge pull request #191 from tedgoddard/patch-1
...
support for use_strict
2014-05-21 19:20:46 +01:00
d7e7d69565
Merge pull request #197 from matzegebbe/patch-1
...
Update Readme.md
2014-05-13 16:35:21 +01:00
22366489c8
Update Readme.md
...
typo
2014-05-13 17:31:58 +02:00
9b538ba09a
support for use_strict
2014-04-17 11:18:11 -06:00
edb8a4c18e
Merge pull request #189 from dnf/master
...
Added protection against multiple callback invocation on error path
2014-04-02 09:17:18 +01:00
54b958436a
Added protection against multiple callback invocation on error path
2014-04-01 19:05:17 -07:00
324f6d69da
Merge pull request #186 from rebootd/master
...
renamed 'OAuth' -> 'oauth' to be linux friendly in the readme
2014-03-24 16:13:15 +00:00
48033df3e4
renamed 'OAuth' -> 'oauth' to be linux friendly in the readme
2014-03-23 19:38:03 -07:00
f1a470fa2b
Koding button
...
Sorry about that!
2014-01-08 20:06:09 -05:00
171e668f38
Bumping version to 0.9.11
2014-01-04 14:49:01 +00:00
d228aebb0b
Merge pull request #121 from knechtandreas/master
...
Add RSA-SHA1 support
2014-01-04 06:37:26 -08:00
631ab09b5b
Merge pull request #138 from pjvds/no-follow-option
...
Don't follow redirects opt-out
2014-01-04 06:27:32 -08:00
4d8bf8ba5f
Merge pull request #140 from AndrewMartens/master
...
Set default User-Agent if not otherwise specified in customHeaders
2014-01-04 06:17:49 -08:00
d8d3f9c8fc
Merge pull request #154 from bradgignac/remove-type-parameter
...
Remove type query parameter from OAuth2 requests.
2014-01-04 06:07:19 -08:00
e599d29787
Write the post_body to OAuth2 PUT requests
2013-10-15 00:53:34 +00:00
8658d7d55b
Remove type query parameter from OAuth2 requests.
...
While the type parameter was required in older versions of the OAuth2
specification, it was removed in version 8. Currently, this breaks OAuth2
against the Dropbox API. Closes #127 .
http://tools.ietf.org/html/draft-ietf-oauth-v2-08#section-4.1.1
2013-07-27 18:42:14 -04:00
89f79727be
prevent inherited properties using hasOwnProperty
2013-07-09 00:38:18 +02:00
509cad25ef
Allow passing binary data to PUT or POST as a Buffer
...
Allow the post_body argument to a PUT or POST to be a Buffer. This will
pass the data directly to the request in binary form.
Closes #144 .
2013-05-31 15:59:45 -04:00
06a4c751dd
the word "install" is spelling error
2013-05-25 09:52:40 +08:00
a742d838f5
Set default User-Agent if not otherwise specified in customHeaders
2013-05-07 14:38:04 -07:00
3584b43bd2
Add test to proof default value for followRedirects is true
2013-05-06 09:41:01 +02:00
f24590182c
Remove trailing whitespaces
2013-05-06 08:42:23 +02:00
d4143a6452
Add followRedirect client option to turn auto follow on or off
2013-05-05 23:04:10 +02:00
04eb6fade3
Add test cases for 302 response status
2013-04-12 13:28:07 +02:00
6e215f9ad7
Add failing test for 301 redirect for followRedirect client option
2013-04-12 13:24:15 +02:00
3fc9c63a06
Update Readme.md
...
quote mismatch
2013-03-21 17:24:20 -07:00
08569a220a
Update Readme.md
...
added OAuth 1.0 example
2013-03-21 17:23:33 -07:00
11ed5943ee
Update Readme.md
2013-03-21 17:14:49 -07:00
46e84faa1a
Update Readme.md
...
changed to user one require
2013-03-21 17:13:31 -07:00
c161653add
Update Readme.md
...
added test/example to get bearer/access_token from Twitter using consumer key+secret and OAuth2
2013-03-21 17:12:11 -07:00
37bf1081ea
Updated contributor list
2013-03-05 18:08:38 +00:00
301ebab90c
Added an extra test, and checked realHeaders to catch any dodgy custom ones
2013-03-05 18:07:40 +00:00
8be23c309c
Merge remote-tracking branch 'jfromaniello/bug129'
2013-03-05 17:43:51 +00:00
a295a66b60
Bumps package version to 0.9.10
2013-03-05 17:40:21 +00:00
03d713be9a
Fixes Issue #129
...
Not ideal, but effectively reverts the default behaviour of the library to how 0.9.8 worked,
that is it passes the access_token as a query parameter to the server.
To allow the utility 'get' method to use an Authorization header *instead* then you need to
explicitly enable this behaviour by using the method :
var oa= new Oauth(...);
oa.useAuthorizationHeaderforGET(true)
Note this can/should be used in conjunction with the other utility method:
oa.setAuthMethod(...)
The default value for the Authorization header is 'Bearer'
If you're building your own requests using oa._request then there is a new exported
method:
oa.buildAuthHeader(token)
2013-03-05 17:34:20 +00:00
ba81ad43bd
Fixes Issue #125 - Abusing externally passed in data structure
...
Also had to re-jig the test, as it turns out the contributor-supplied test
for this work didn't *actually* test anything :(
2013-03-05 17:00:35 +00:00