arkhipovandrei/yii2-dnevnik-authclient
Composer 安装命令:
composer require arkhipovandrei/yii2-dnevnik-authclient
包简介
Dnevnik.ru extenion for using via yii2-authclient
README 文档
README
The preferred way to install this extension is through composer.
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist arkhipovandrei/yii2-dnevnik-authclient
or add
"arkhipovandrei/yii2-dnevnik-authclient": "*"
to the require section of your composer.json.
Usage
'components' => [ // ... 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'dnevnik' => [ 'class' => 'arkhipovandrei\authclient\Dnevnik', 'clientId' => 'API_KEY', 'clientSecret' => 'SECRET_KEY', 'scope' => 'avatar, fullname' //'staging' => bool true or false. Default value false ], ], ], // ... ]
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-05