dnshouse / yii2-authclient-extended
Yahoo extenion for yii2-authclient
v1.0
2016-09-05 16:16 UTC
Requires
This package is not auto-updated.
Last update: 2024-11-18 14:10:28 UTC
README
This is an extended collection of classes for yii2-authclient.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist dnshouse/yii2-authclient-extended "*"
or add
"dnshouse/yii2-authclient-extended": "*"
to the require
section of your composer.json.
Usage
You must read the yii2-authclient docs
'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'google' => [ 'class' => 'dnshouse\Yii2AuthclientExtensions\GoogleOAuth', 'clientId' => '', 'clientSecret' => '', ], 'yahoo' => [ 'class' => 'dnshouse\Yii2AuthclientExtensions\Yahoo', 'clientId' => '', 'clientSecret' => '', ], 'live' => [ 'class' => 'dnshouse\Yii2AuthclientExtensions\Live', 'clientId' => '', 'clientSecret' => '', ], 'facebook' => [ 'class' => 'dnshouse\Yii2AuthclientExtensions\Facebook', 'clientId' => '', 'clientSecret' => '', ], 'linkedin' => [ 'class' => 'dnshouse\Yii2AuthclientExtensions\LinkedIn', 'clientId' => '', 'clientSecret' => '', ], 'twitter' => [ 'class' => 'dnshouse\Yii2AuthclientExtensions\Twitter', 'consumerKey' => '', 'consumerSecret' => '', ], ], ], ]