mirror of
https://github.com/google/nomulus
synced 2026-04-23 09:40:45 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user