makcent / yii2-authclient
Yii Authclient for Weibo, QQ, Wechat and etc
v1.0.0
2018-06-22 02:03 UTC
Requires
- yiisoft/yii2-authclient: ~2.0.5@dev
This package is auto-updated.
Last update: 2024-09-14 04:36:41 UTC
README
Yii Authclient for Weibo,QQ,Wechat
Config Setting
'components' => [
'authClientCollection' => [
'class' => 'yii\authclient\Collection',
'clients' => [
'weibo' => [
'class' => 'makcent\authclient\Weibo',
'clientId' => 'wb_key',
'clientSecret' => 'wb_secret',
],
'qq' => [
'class' => 'makcent\authclient\Qq',
'clientId' => 'qq_appid',
'clientSecret' => 'qq_appkey',
],
'weixin' => [
'class' => 'makcent\authclient\Weixin',
'clientId' => 'weixin_appid',
'clientSecret' => 'weixin_appkey',
],
],
]
// other components
]