|
1 | 1 | <?php
|
2 | 2 |
|
| 3 | +declare(strict_types=1); |
| 4 | + |
3 | 5 | /**
|
4 |
| - * This is an example configuration of SimpleSAMLphp Perun interface and additional features. |
5 |
| - * Copy this file to default config directory and edit the properties. |
| 6 | + * This is an example configuration of SimpleSAMLphp Perun interface and additional features. Copy this file to default |
| 7 | + * config directory and edit the properties. |
6 | 8 | *
|
7 | 9 | * @author Pavel Vyskočil <[email protected]>
|
8 | 10 | * @author Pavel Břoušek <[email protected]>
|
9 | 11 | */
|
10 | 12 |
|
11 | 13 | $config = [
|
12 |
| - |
13 | 14 | /*
|
14 | 15 | * Choose one of the following modes: PROXY, IDP, SP, MULTI_IDP
|
15 | 16 | * PROXY - collects data about number of logins from each identity provider and accessed services
|
|
47 | 48 | 'database.username' => 'stats',
|
48 | 49 | 'database.password' => 'stats',
|
49 | 50 |
|
50 |
| - /** |
51 |
| - * Configuration for SSL |
52 |
| - * If you want to use SSL, fill these values and uncomment the block of code |
53 |
| - */ |
| 51 | + /** |
| 52 | + * Configuration for SSL If you want to use SSL, fill these values and uncomment the block of code |
| 53 | + */ |
54 | 54 | //'database.driver_options' => [
|
55 | 55 | // PDO::MYSQL_ATTR_SSL_KEY => '', // Path for the ssl key file
|
56 | 56 | // PDO::MYSQL_ATTR_SSL_CERT => '', // Path for the ssl cert file
|
|
61 | 61 |
|
62 | 62 | /**
|
63 | 63 | * Which attribute should be used as user ID.
|
| 64 | + * |
64 | 65 | * @default uid
|
65 | 66 | */
|
66 | 67 | //'userIdAttribute' => 'uid',
|
67 | 68 |
|
68 | 69 | /**
|
69 |
| - * Database table names. |
70 |
| - * Default is to keep the name (as in `tables.sql`) |
| 70 | + * Database table names. Default is to keep the name (as in `tables.sql`) |
71 | 71 | */
|
72 | 72 | 'tableNames' => [
|
73 | 73 | //'statistics_sums' => 'statistics_sums',
|
|
76 | 76 | //'statistics_sp' => 'statistics_sp',
|
77 | 77 | ],
|
78 | 78 |
|
79 |
| - /** |
80 |
| - * Authentication source name if authentication should be required. |
81 |
| - * Defaults to empty string. |
82 |
| - */ |
| 79 | +/** |
| 80 | + * Authentication source name if authentication should be required. Defaults to empty string. |
| 81 | + */ |
83 | 82 | //'requireAuth.source' => 'default-sp',
|
84 | 83 |
|
85 |
| - /** |
86 |
| - * For how many days should the detailed statistics be kept. Minimum is 31. |
87 |
| - */ |
| 84 | +/** |
| 85 | + * For how many days should the detailed statistics be kept. Minimum is 31. |
| 86 | + */ |
88 | 87 | //'keepPerUser' => 62,
|
89 | 88 | ];
|
0 commit comments