/cms-authclient

Authorization by social networks for SkeekS CMS

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Authorization by social networks for SkeekS CMS

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