skeeks/cms-authclient

Authorization by social networks for SkeekS CMS

Installs: 1 377

Dependents: 5

Suggesters: 0

Stars: 1

Watchers: 1

Forks: 1

Type:yii2-extension

2.1.1.4 2019-09-17 13:19 UTC

README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skeeks/cms-authclient "*"

or add

"skeeks/cms-authclient": "*"

Configuration app


'components' =>
[
    'authClientCollection' =>
    [
        'class' => 'skeeks\cms\authclient\CmsAuthClientCollection',
        'clients' => [
            //clients configs
        ]
    ],

    'authClientSettings' =>
    [
        //clients configs in a database
        'class' => 'skeeks\cms\authclient\CmsAuthClientSettings',
    ],

    'i18n' => [
        'translations' =>
        [
            'skeeks/authclient' => [
                'class'             => 'yii\i18n\PhpMessageSource',
                'basePath'          => '@skeeks/cms/authclient/messages',
                'fileMap' => [
                    'skeeks/authclient' => 'main.php',
                ],
            ]
        ]
    ],
],

'modules' =>
[
    'authclient' => [
        'class'         => 'skeeks\cms\authclient\CmsAuthclientModule',
    ]
]

##Links

skeeks!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com