commit | 4d9bb4bdfd851737252e3058411024008e199c6d | [log] [tgz] |
---|---|---|
author | Sam Chiu <samchiu@google.com> | Fri Oct 26 11:38:23 2018 +0800 |
committer | Sam Chiu <samchiu@google.com> | Mon Nov 05 10:15:23 2018 +0800 |
tree | 2d344912b5595f863b2182eb755cceaa4a35119e | |
parent | 88cd13bf929dd103809185ec3e8a32052f12c5e8 [diff] |
Use a default all scopes to create credentials. Seperate scopes for each api call will ask user to go oauth2 flow multiple times.This cl try to use a default all scopes to create credential and reuse it for all cloud api call. Bug: 118287079 Test: rm ~/.acloud_oauth2.dat && run acloud create/delete cmd only see oauth2 flow once atest acloud_test Change-Id: Ie8a204c8825b82e300a5f5e4dba548658dc8a45f