summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py25
1 files changed, 24 insertions, 1 deletions
diff --git a/config.py b/config.py
index d1b4f08..af334c7 100644
--- a/config.py
+++ b/config.py
@@ -53,7 +53,7 @@ Keycloak = conf.registerPlugin('Keycloak')
# registry.Boolean(False, _("""Help for someConfigVariableName.""")))
###
-# API related settings below:
+# API backend related settings below:
###
conf.registerGroup(Keycloak, 'backend')
conf.registerGlobalValue(Keycloak.backend, 'server',
@@ -90,4 +90,27 @@ conf.registerGlobalValue(Keycloak.replies, 'error',
, private=False
))
+###
+# API call settings below:
+###
+conf.registerGroup(Keycloak, 'options')
+conf.registerGlobalValue(Keycloak.options, 'emailVerified',
+ registry.Boolean(False,
+ """
+ Keycloak: Whether to set newly created users email addresses to having been verified \(true, default\) or not \(false\)
+ """
+))
+conf.registerGlobalValue(Keycloak.options, 'firstName',
+ registry.String('Foo',
+ """
+ Keycloak: What to set as the firstName value for newly created users.
+ """
+))
+conf.registerGlobalValue(Keycloak.options, 'lastName',
+ registry.String('Bar',
+ """
+ Keycloak: What to set as the lastName value for newly created users.
+ """
+))
+
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: