esp4ik/yii2-authclient-extended
Composer 安装命令:
composer require esp4ik/yii2-authclient-extended
包简介
Additional clients for Yii2 authclient: Instagram and etc
README 文档
README
Additional clients for Yii2 authclient: Instagram, Odnoklassniki and etc
This repository contains an additional clients for Yii2 Auth Client.
For license information check the LICENSE-file.
List of additional clients:
- Odnoklassniki
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist esp4ik/yii2-authclient-extended
or add
"esp4ik/yii2-authclient-extended": "~1.1.0"
to the require section of your composer.json.
Configuring application
Full documentation see at Yii2 Auth Client
After extension is installed you need to setup auth client collection application component:
return [ 'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'instagram' => [ 'class' => 'esp4ik\authclient\clients\Instagram', 'clientId' => 'instagram_client_id', 'clientSecret' => 'instagram_client_secret', ], 'odnoklassniki' => [ 'class' => 'esp4ik\authclient\clients\Odnoklassniki', 'clientId' => 'odnoklassniki_application_id', 'clientSecret' => 'odnoklassniki_secret_key', 'applicationId' => 'odnoklassniki_public_key', ], // ... ], ] // ... ], // ... ];
统计信息
- 总下载量: 72
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-18