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

Add convenience methods for common use cases #54

Closed
stephenplusplus opened this issue Aug 28, 2015 · 4 comments
Closed

Add convenience methods for common use cases #54

stephenplusplus opened this issue Aug 28, 2015 · 4 comments
Assignees

Comments

@stephenplusplus
Copy link
Contributor

Hello again!

I was wondering if it would be possible to design some convenience wrappers around common uses for this library?

I can't appreciate all the nuances and complexities this library has to support, so I can't comment on all of the use cases that can be simplified. But as an example, I made google-auto-auth to make authing with application default, JSON/p12 keyfile, and credentials JS objects easier: https://github.com/stephenplusplus/google-auto-auth/blob/0bea71c76c46158a4a4911b3f16af35f7a16ae9d/index.js#L81-L92

I'm still not entirely sure I'm using this library's API the right way (#53), but a developer using google-auto-auth is surely going to have an easier time getting started.

Thanks!

@stephenplusplus stephenplusplus changed the title API conventions Add convenience methods for common use cases Aug 28, 2015
@tbetbetbe tbetbetbe self-assigned this Aug 28, 2015
@ofrobots
Copy link
Contributor

@stephenplusplus do you still care about this?

@stephenplusplus
Copy link
Contributor Author

This is what started all these issues: googleapis/google-cloud-node#832

Ideally, this library would be easier to use and better documented so we could replace and deprecate google-auto-auth.

@ofrobots
Copy link
Contributor

Hmm.. I quite like google-auto-auth – it is nice and easy to use. Do we still want to deprecate it?

/cc @JustinBeckwith

@stephenplusplus
Copy link
Contributor Author

I don't mind either way :)

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

No branches or pull requests

4 participants