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
MURAKAMI Masahiko
11b1a053f7
Merge branch 'master' into add-url-parameter-to-request-method
2015-04-08 13:42:56 +09:00
Tim Emiola
ab71cfd5ef
Bump version to 0.9.4
v0.9.4
2015-04-03 14:16:37 -07:00
Tim Emiola
0775229e97
Add a CHANGELOG
2015-04-03 14:16:09 -07:00
Tim Emiola
e64f998c71
Merge pull request #23 from stephenplusplus/master
...
update instance email & key properties from gToken
2015-04-03 12:36:35 -07:00
Stephen Sawchuk
3bc5296704
update instance email & key properties from gToken
2015-04-02 09:59:37 -04:00
Tim Emiola
3315596fdc
Merge pull request #22 from jasonall/master
...
Added usage example to readme
2015-03-30 13:44:01 -07:00
Jason Allor
d7b19ad059
Added usage example to readme
2015-03-30 13:21:44 -07:00
Ryan Seys
ce104f40b3
Do not set type on error object
2015-03-28 11:58:11 -04:00
Tim Emiola
97cefdd08f
Merge pull request #20 from stephenplusplus/master
...
Switch from GAPI to gtoken + Bug Fix
2015-03-26 09:20:21 -07:00