Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.js usable auth #323

Closed
wants to merge 44 commits into from
Closed

Node.js usable auth #323

wants to merge 44 commits into from

Conversation

jasonall
Copy link
Contributor

(Now with all jslint issues fixed.)

This pull request extends the auth portion of the client library to add the usable auth pattern for service accounts. This allows the user to create a few lines of code which will correctly set up a credential client no matter whether the code is running in GAE, GCE, a managed VM, or on a local dev machine.

See https://developers.google.com/accounts/docs/application-default-credentials for more information about usable auth.

See the examples/default_auth.js file for an example of how usable auth works in Node after this checkin.

All unit tests pass, in addition to many new tests to cover to new code.

Thanks!

jasonall and others added 30 commits October 8, 2014 11:33
@rakyll
Copy link
Contributor

rakyll commented Nov 13, 2014

There are many styling and code org issues, but we should initially focus on the public APIs. A doc that explains the public APIs and some snippets that would illustrate the usage would be nice to begin with. The implementation will follow.

* Determines whether the current operating system is Windows.
* @api private
* */
GoogleCredentials.prototype._isWindows = function() {

This comment was marked as spam.

This comment was marked as spam.

@rakyll
Copy link
Contributor

rakyll commented Dec 18, 2014

This PR requires significant rework and design improvements. I'm closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants