Move OAuth configs to yaml

Leave allowedOauthClientIds empty instead of moving the placeholder client ids over.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=152967043
This commit is contained in:
jianglai 2017-04-12 11:49:15 -07:00 committed by Ben McIlwain
parent ab515cb352
commit f433242125
3 changed files with 30 additions and 9 deletions

View file

@ -22,6 +22,7 @@ public class RegistryConfigSettings {
public AppEngine appEngine;
public GSuite gSuite;
public OAuth oAuth;
public RegistryPolicy registryPolicy;
public Datastore datastore;
public Caching caching;
@ -46,6 +47,13 @@ public class RegistryConfigSettings {
}
}
/** Configuration options for OAuth settings. */
public static class OAuth {
public List<String> availableOauthScopes;
public List<String> requiredOauthScopes;
public List<String> allowedOauthClientIds;
}
/** Configuration options for the G Suite account used by Nomulus. */
public static class GSuite {
public String domainName;