2022-07-01 09:18:23 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
'isInProduction' => false, // Set to true when deploying in production
|
2022-11-03 14:22:36 +00:00
|
|
|
'basePath' => '', // If you want to specify a base path for the Slim app, add it here (e.g., '/test/scim')
|
2022-07-01 09:18:23 +00:00
|
|
|
'supportedResourceTypes' => ['User', 'Group'], // Specify all the supported SCIM ResourceTypes by their names here
|
|
|
|
|
|
|
|
// SQLite DB settings
|
|
|
|
'db' => [
|
|
|
|
'driver' => 'sqlite', // Type of DB
|
2022-11-03 14:22:36 +00:00
|
|
|
'databaseFile' => 'db/scim-mock.sqlite' // DB name
|
2022-07-01 09:18:23 +00:00
|
|
|
],
|
|
|
|
|
2022-11-03 14:22:36 +00:00
|
|
|
// MySQL DB settings
|
2022-07-01 09:18:23 +00:00
|
|
|
//'db' => [
|
2022-11-03 14:22:36 +00:00
|
|
|
// 'driver' => 'mysql', // Type of DB
|
2022-07-01 09:18:23 +00:00
|
|
|
// 'host' => 'localhost', // DB host
|
|
|
|
// 'port' => '3306', // Port on DB host
|
2022-11-03 14:22:36 +00:00
|
|
|
// 'database' => 'db_name', // DB name
|
|
|
|
// 'user' => 'db_user', // DB user
|
|
|
|
// 'password' => 'db_password' // DB user's password
|
2022-07-01 09:18:23 +00:00
|
|
|
//],
|
|
|
|
|
|
|
|
// Monolog settings
|
|
|
|
'logger' => [
|
|
|
|
'name' => 'scim-opf',
|
|
|
|
'path' => isset($_ENV['docker']) ? 'php://stdout' : __DIR__ . '/../logs/app.log',
|
|
|
|
'level' => \Monolog\Logger::DEBUG,
|
|
|
|
],
|
|
|
|
|
|
|
|
// Bearer token settings
|
|
|
|
'jwt' => [
|
|
|
|
'secret' => 'secret'
|
|
|
|
]
|
|
|
|
];
|