Ryan Roth
1f848ac4f1
Update to prevent status code 200 messages from being flagged as errors.
2015-09-04 13:31:25 -04:00
Ryan Roth
c7faff5670
Updating test to not have 200 status code for error response.
2015-09-04 12:46:21 -04:00
Ryan Roth
323b794f3a
Prevent status 200 messages from being reported as errors.
2015-09-04 12:24:18 -04:00
Tim Emiola
e7edab306a
Merge pull request #48 from josephpage/patch-1
...
Update async & request
2015-08-28 12:00:33 -07:00
Joseph Page
052aadcc44
update async 1.4.2
2015-08-13 15:55:33 +02:00
Joseph Page
b05d907c9a
Add tests for node 0.12 and iojs
2015-08-06 12:38:33 +02:00
Joseph Page
0fb3ea96be
update async & request
2015-08-06 12:37:05 +02:00
Tim Emiola
9fb3cec2d6
Merge pull request #44 from riblee/fix-jsdoc
...
Update oauth2client.js
2015-07-28 09:35:28 -07:00
Reibl János Dániel
20eebb5169
Update oauth2client.js
...
Fix typo in jsDoc.
2015-07-21 09:33:17 +02:00
Tim Emiola
2c9e5ebe89
Merge pull request #43 from ofrobots/patch-1
...
Update README.md
2015-06-09 12:26:18 -07:00
Ali Ijaz Sheikh
a95fb4f8f7
Update README.md
...
The example needs to be modified somewhat since this code moved out of the googleapis package.
2015-06-08 16:06:02 -07:00
Tim Emiola
71511d08a0
Merge pull request #40 from tbetbetbe/node-auth-prepare-release-0.9.6
...
Node auth prepare release 0.9.6
2015-05-21 17:46:50 -07:00
Tim Emiola
527d37f3b1
0.9.6
2015-05-21 14:37:42 -07:00
Tim Emiola
dacdde3b7b
Adds more detail to CONTRIBUTING.md
2015-05-21 13:02:10 -07:00
Tim Emiola
7c46d63f17
Remove incomplete npm commands
2015-05-21 12:43:52 -07:00
Tim Emiola
12fd81888f
Merge pull request #39 from tbetbetbe/node-auth-correct-jwt-get-request-metadata
...
Node auth correct jwt get request metadata
2015-05-21 08:25:38 -07:00
Tim Emiola
a44331e39d
Fixes #36
...
Updates getRequestMetadata invocation to return a value.
- JWTAccess.getRequestMetadata corrected
- OAuth2.getRequestMetadata corrected
- JWT.getRequestMetadata corrected
Also,
- cleans up naming around callbacks where relevant
2015-05-20 13:59:28 -07:00
Tim Emiola
8c94220a2c
Cleans up code associated with callbacks
...
- Replaces usage of the local callback() func with lodash.noop
- Renames callback arguments to confirm with Google style guide
2015-05-20 12:47:54 -07:00
Tim Emiola
e44071eaef
Merge pull request #38 from fiznool/master
...
Fixed error code not being parsed correctly.
2015-05-18 07:03:29 -07:00
Tom Spencer
577fbd55ec
Fixed test specs
2015-05-18 12:20:49 +01:00
Tom Spencer
79f043e5b9
Fixed error code not being parsed correctly.
2015-05-18 12:13:42 +01:00
Tim Emiola
ce7f974099
Merge pull request #35 from tbetbetbe/release-0.9.5
...
Update for release
2015-05-07 11:00:05 -07:00
Tim Emiola
77d50539b5
Update for release
2015-05-07 10:46:07 -07:00
Tim Emiola
d25da750b2
Merge pull request #34 from tbetbetbe/nodejs-auth-correct-refresh-token
...
Corrects usage of refresh token in jwt client.
2015-05-07 08:49:59 -07:00
Tim Emiola
758adcb2f4
Corrects usage of refresh token in jwt client.
...
Fixes #28
2015-05-06 20:25:17 -07:00
Tim Emiola
7601f5eb2b
Merge pull request #29 from tbetbetbe/nodejs-auth-add-jwt-header-creds
...
Nodejs auth: add jwt header creds
2015-05-06 20:07:48 -07:00
Tim Emiola
697baf0da5
Update implementations of getRequestMetadata
2015-05-06 20:01:23 -07:00
Tim Emiola
d4738f9f71
Replace maybeCall_ with lojack.noop
2015-05-04 14:25:48 -07:00
Tim Emiola
2897dbdef8
Remove unnecessary dependencies
2015-05-04 14:05:07 -07:00
Tim Emiola
3df6196885
Rename JWTHeader => JWTAccess
2015-05-04 13:49:05 -07:00
Tim Emiola
f2b1c540fd
Renames IAM => IAMAuth
2015-05-04 13:36:20 -07:00
Tim Cuthbertson
71ad3c8c03
add test for multiple response errorsg
2015-05-04 13:36:20 -07:00
Tim Cuthbertson
59573c6e88
Create a meaningful error from response.error.errors array
2015-05-04 13:36:20 -07:00
Tim Emiola
2911180c16
Adds an implementation of IAM credentials
2015-05-04 13:36:20 -07:00
Ryan Seys
904dc16f96
Do not set type on error object
2015-05-04 13:36:19 -07:00
Tim Emiola
59762790bf
Merge pull request #31 from tbetbetbe/nodejs-auth-add-iam-creds
...
Adds an implementation of IAM credentials
2015-05-04 11:33:04 -07:00
Tim Emiola
907119c21c
Renames IAM => IAMAuth
2015-05-04 11:30:31 -07:00
Tim Emiola
eff149900e
Merge pull request #26 from gfxmonk/master
...
Create a meaningful error from response.error.errors array
2015-04-27 10:21:46 -04:00
Tim Cuthbertson
7cae2f7fb0
add test for multiple response errorsg
2015-04-27 09:53:52 +10:00
Tim Cuthbertson
76242f65bc
Create a meaningful error from response.error.errors array
2015-04-27 09:53:52 +10:00
Tim Emiola
35468d8a1d
Adds an implementation of IAM credentials
2015-04-23 08:06:00 -07:00
Tim Emiola
b94b9fc1c8
Refactor - introduce and use getRequestMetadata.
...
This is a change in direction from the approach so far:
- OAuthClient.refreshAccessToken was very nearly getRequestMetadata as has been
implemented in some other google-auth-library languages.
- rather than modifying getAccessToken and refreshAccessToken and using
getAccessToken as main 'interface' method for the credentials client classes,
it's better to introduce getRequestMetadata that's a slight modification to
refreshAccessToken and use that instead.
- refreshAccessToken is not removed for backwards compatibility, but is
deprecated.
2015-04-23 07:21:57 -07:00
Tim Emiola
686c04e798
Override JWT.refreshAccessToken to delegate to JWTHeader when possible.
...
- overrides refreshAccessToken to delegate to JWTHeader credentials for the
access token when
- no scopes are set
- and the optional uri is provided
2015-04-23 07:00:17 -07:00
Tim Emiola
16da4a7358
Merge pull request #21 from ryanseys/no-error-type
...
Do not set type on error object
2015-04-22 11:53:04 -07:00
Tim Emiola
9268673472
Change refreshAccessToken and getAccessToken to accept a URI.
...
- the URI is the one being authorized
- this is a breaking surface API change
- in this commit, the affected classes do nothing with the URI except pass it
through
2015-04-22 11:38:43 -07:00
Tim Emiola
f47a2a9dcd
refactor: group the tests by method
2015-04-22 10:11:20 -07:00
Tim Emiola
186a0834bd
Refactor: move login ticket tests into their own file
2015-04-21 11:51:40 -07:00
Tim Emiola
d2079c78a1
Adds the JWTHeader credential implementation
2015-04-21 11:51:40 -07:00
Tim Emiola
06f0d09344
Minor cleanup
...
- corrects comments
- removes unnecessary 'var that = this'
2015-04-21 07:53:14 -07:00
Tim Emiola
f67be507d9
Merge pull request #19 from fossamagna/add-url-parameter-to-request-method
...
Add url parameter as request method.
2015-04-17 15:26:51 -07:00