chiark / gitweb /
register/confirm commands, and tests, and docs
[disorder] / lib / configuration.h
index 02c953a83fca8e8a7bc99a701b41074440fa76f9..f08b866e26fb46166a03ab374ebc84f7a10646ce 100644 (file)
@@ -25,6 +25,7 @@
 #define CONFIGURATION_H
 
 #include "speaker-protocol.h"
+#include "rights.h"
 
 struct real_pcre;
 
@@ -245,6 +246,15 @@ struct config {
 
   /** @brief Whether to loop back multicast packets */
   int multicast_loop;
+
+  /** @brief Login lifetime in seconds */
+  long cookie_login_lifetime;
+
+  /** @brief Signing key lifetime in seconds */
+  long cookie_key_lifetime;
+
+  /** @brief Default rights for a new user */
+  rights_type default_rights;
   
   /* derived values: */
   int nparts;                          /* number of distinct name parts */