X-Git-Url: https://git.defcon.no/?a=blobdiff_plain;f=api%2Fconfig.php.sample;h=58a26b4108fc26ad14316322671165da85928e65;hb=f48343d880910f4466072e8c10983685d3e75331;hp=f1239785dac68244f8e90a34c65b7ec5f6cc41eb;hpb=ad1d2910ca34f0d69be10b637a4294a400beceb8;p=hermes diff --git a/api/config.php.sample b/api/config.php.sample index f123978..58a26b4 100644 --- a/api/config.php.sample +++ b/api/config.php.sample @@ -3,6 +3,7 @@ function get_config() { return array( + 'auth_backend' => 'permitall', 'sql_server' => 'localhost', 'sql_username' => 'dbusername', 'sql_password' => 'dbuserpass', @@ -15,6 +16,10 @@ function get_config() 'provision_users_table' => 'users', 'provision_phones_table' => 'phones', 'provision_servers_table' => 'servers', + 'apikeys_table' => 'apikeys', + 'authorizations_table' => 'authorizations', + 'sessionkeys_table' => 'sessionkeys', + 'sessionkey_lifetime' => 5, // Minutes 'numbers_table' => 'number_pool', 'standard_dialplan' => '(*xx*.|xxx.)', 'default_domain' => 'hig.no',