xdrew/oauth2-odnoklassniki
Composer 安装命令:
composer require xdrew/oauth2-odnoklassniki
包简介
Odnoklassniki provider for league/oauth2-client
README 文档
README
This package provides Odnoklassniki integration for OAuth2 Client by the League.
Installation
composer require xdrew/oauth2-odnoklassniki
Configuration
$provider = new xdrew\OAuth2\Client\Provider\Odnoklassniki([ 'clientId' => '1234567', 'clientPublic' => 'CBAPKGGLEBACACACA', 'clientSecret' => 's0meRe4lLySEcRetC0De', 'redirectUri' => 'https://example.org/oauth-endpoint', 'scopes' => ['GET_EMAIL'], // OPTIONAL You should request access to this scope from ok.ru support to get user email 'userFields' => [''], // OPTIONAL ]);
统计信息
- 总下载量: 52
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-09-17