summaryrefslogtreecommitdiff
path: root/classes/Config.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Config.php')
-rw-r--r--classes/Config.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/Config.php b/classes/Config.php
index b445973..3fc8358 100644
--- a/classes/Config.php
+++ b/classes/Config.php
@@ -15,6 +15,10 @@ class Config {
const DICT_SERVER = "DICT_SERVER";
const SESSION_LIFETIME = "SESSION_LIFETIME";
const SESSION_NAME = "SESSION_NAME";
+ const OIDC_NAME = "OIDC_NAME";
+ const OIDC_URL = "OIDC_URL";
+ const OIDC_CLIENT_ID = "OIDC_CLIENT_ID";
+ const OIDC_CLIENT_SECRET = "OIDC_CLIENT_SECRET";
private const _DEFAULTS = [
Config::DB_TYPE => [ "sqlite", Config::T_STRING ],
@@ -24,6 +28,10 @@ class Config {
Config::DICT_SERVER => [ "", Config::T_STRING ],
Config::SESSION_LIFETIME => [ 86400*30, Config::T_INT ],
Config::SESSION_NAME => [ "epube_sid", Config::T_STRING ],
+ Config::OIDC_NAME => [ "OIDC", Config::T_STRING ],
+ Config::OIDC_URL => [ "", Config::T_STRING ],
+ Config::OIDC_CLIENT_ID => [ "", Config::T_STRING ],
+ Config::OIDC_CLIENT_SECRET => [ "", Config::T_STRING ],
];
private static ?Config $instance = null;