File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,43 @@ Configuration app
2323
2424``` php
2525
26+ 'components' =>
27+ [
28+ 'authClientCollection' =>
29+ [
30+ 'class' => 'skeeks\cms\authclient\CmsAuthClientCollection',
31+ 'clients' => [
32+ //clients configs
33+ ]
34+ ],
35+
36+ 'authClientSettings' =>
37+ [
38+ //clients configs in a database
39+ 'class' => 'skeeks\cms\authclient\CmsAuthClientSettings',
40+ ],
41+
42+ 'i18n' => [
43+ 'translations' =>
44+ [
45+ 'skeeks/authclient' => [
46+ 'class' => 'yii\i18n\PhpMessageSource',
47+ 'basePath' => '@skeeks/cms/authclient/messages',
48+ 'fileMap' => [
49+ 'skeeks/authclient' => 'main.php',
50+ ],
51+ ]
52+ ]
53+ ],
54+ ],
55+
56+ 'modules' =>
57+ [
58+ 'authclient' => [
59+ 'class' => 'skeeks\cms\authclient\CmsAuthclientModule',
60+ ]
61+ ]
62+
2663```
2764
2865___
Original file line number Diff line number Diff line change 66 'authClientCollection ' =>
77 [
88 'class ' => 'skeeks\cms\authclient\CmsAuthClientCollection ' ,
9- 'clients ' => []
9+ 'clients ' => [
10+ //clients configs
11+ ]
1012 ],
1113
1214 'authClientSettings ' =>
1315 [
16+ //clients configs in a database
1417 'class ' => 'skeeks\cms\authclient\CmsAuthClientSettings ' ,
1518 ],
1619
You can’t perform that action at this time.
0 commit comments