Commit Graph

8 Commits

Author SHA1 Message Date
Trung Lê 13bb435cf8 Refactor Google::Auth.determine_creds_class to use case statements 2015-04-08 10:53:27 +10:00
Tim Emiola 395febd0f0 Corrects some comments 2015-03-23 15:27:21 -07:00
Tim Emiola bd97c23d9f Make the scope optional 2015-03-17 16:46:55 -07:00
Tim Emiola 8f33ba8f4c Explicitly checks for user auth and fail if auth type is not known 2015-03-09 09:50:18 -07:00
Tim Emiola 4d4bcd46e8 Add support for loading either credentials type as determined by the loaded content 2015-03-06 16:58:57 -08:00
Tim Emiola 34429f3298 Updates the comment to link to Application Default Credentials 2015-02-24 15:01:11 -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