Provide separate scopes list for delegated credentials

Scope changes in delegated credentials require coordinated external changes,
therefore should be separate from those used in the application default
credential.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=212488389
This commit is contained in:
weiminyu 2018-09-11 11:28:13 -07:00 committed by Ben McIlwain
parent 5c1d9bd5c3
commit dbb1f1649d
4 changed files with 31 additions and 10 deletions

View file

@ -58,7 +58,8 @@ public class RegistryConfigSettings {
/** Configuration options for accessing Google APIs. */
public static class CredentialOAuth {
public List<String> credentialOauthScopes;
public List<String> defaultCredentialOauthScopes;
public List<String> delegatedCredentialOauthScopes;
}
/** Configuration options for the G Suite account used by Nomulus. */