commit | 54a4310f8559fb658d8efae3d3dc9dcdb627736a | [log] [tgz] |
---|---|---|
author | Burcu Dogan <jbd@google.com> | Mon Mar 09 16:33:51 2015 -0700 |
committer | Burcu Dogan <jbd@google.com> | Tue Mar 10 02:48:34 2015 +0000 |
tree | 99d4873bb433e10d8468e630d3c93eb8c9e56f74 | |
parent | 5cccf1a7e70463fc3dc09dbf626fed7d450f5a2e [diff] |
oauth2/google: ConfigFromJSON should support the installed app credentials client_credentials.json may contain credentials for the installed applications. Populate the Config depending on what's available in the JSON key. Change-Id: I47f494f1c31967a920fe557a9e8c1c4652943c4e Reviewed-on: https://go-review.googlesource.com/7250 Reviewed-by: Andrew Gerrand <adg@golang.org>