mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 08:57:12 +02: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:
parent
ab515cb352
commit
f433242125
3 changed files with 30 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue