Skip to content

wuhelong/yii2-authclient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii Authclient for Weibo,QQ,Wechat

Demo http://simpleforum.org/site/login

Config Setting

'components' => [
    'authClientCollection' => [
        'class' => 'yii\authclient\Collection',
        'clients' => [
            'weibo' => [
                'class' => 'yujiandong\authclient\Weibo',
                'clientId' => 'wb_key',
                'clientSecret' => 'wb_secret',
            ],
            'qq' => [
                'class' => 'yujiandong\authclient\Qq',
                'clientId' => 'qq_appid',
                'clientSecret' => 'qq_appkey',
            ],
            'weixin' => [
                'class' => 'yujiandong\authclient\Weixin',
                'clientId' => 'weixin_appid',
                'clientSecret' => 'weixin_appkey',
            ],
        ],
    ]
    // other components
]

About

Yii AuthClient for Weibo, QQ, Wechat, etc

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%