Commit Graph

114 Commits

Author SHA1 Message Date
Tim Emiola 34429f3298 Updates the comment to link to Application Default Credentials 2015-02-24 15:01:11 -08:00
Tim Emiola 21b0a3dead Ensures that the loaded files are closed 2015-02-24 14:57:12 -08:00
Tim Emiola 7adcf42958 Renamed the error vars 2015-02-17 18:43:00 -08:00
Tim Emiola a5bb601fe3 Adds an implementation of Application Default Credentials
- supports two initial scenarios
  - 2LO with service accounts
  - Compute Engine

- performs all 3 'sniffs' for the service account credentials
  - from environment
  - from a well known file
  - from GCE
2015-02-12 16:59:08 -08:00
Tim Emiola f8fd5fa519 Corrects the rescue clause 2015-02-12 16:58:48 -08:00
Tim Emiola 1492408997 Adds funcs for json key from environment defaults
- adds support for path specified by an ENV var
- adds support for loading from a default path
2015-02-12 16:19:08 -08:00
Tim Emiola 648b30e937 Merge pull request #1 from tbetbetbe/ruby-auth-initial-port-from-umbrella-project
Ruby auth initial port from umbrella project
2015-02-12 15:06:17 -08:00
Tim Emiola 219663cbf9 Fixes the doc url 2015-02-12 05:00:19 -08:00
Tim Emiola b01737abe2 Adds an explicit short timeout to on_gce?
- uses the current timeout in oauth2client/client.py
- includes the comments from that file as well
2015-02-11 21:03:37 -08:00
Tim Emiola e01b14cba8 Memoizes on_gce?
- also fixes an error in the gemspec.
2015-02-11 20:52:47 -08:00
Tim Emiola eea40d1d1e Corrects the homepage URL 2015-02-11 20:15:15 -08:00
Tim Emiola 3e60a713c5 Extract the auth library into its own project
- adds no new functionality beyond the initial attempt at providing
  Usable Auth constructors.

- adds enough packaging metadata to be able to export this library as a gem.

- next steps:
  complete usable auth implemntation of Application Default Credentials.
2015-02-11 19:23:34 -08:00
Tim Emiola 1688c65e80 Ignore emacs backup files and Gemfile.lock 2015-02-11 19:19:47 -08:00
Steve Bazyl 56f2733589 Initial commit 2014-10-20 13:37:47 -07:00