aego / oauth2-yandex
league/oauth2-client 的 Yandex 提供者
0.2.2
2018-01-31 06:23 UTC
Requires
- php: >=5.5
- league/oauth2-client: ^2.0 || ^1.4
Requires (Dev)
- phpunit/phpunit: ~4.3
This package is not auto-updated.
Last update: 2024-09-14 15:52:54 UTC
README
此包提供了由 League 提供的 Yandex 集成,用于 OAuth2 客户端
安装
composer require aego/oauth2-yandex
用法
$provider = new Aego\OAuth2\Client\Provider\Yandex([ 'clientId' => 'b80bb7740288fda1f201890375a60c8f', 'clientSecret' => 'f23ccd066f8236c6f97a2a62d3f9f9f5', 'redirectUri' => 'https://example.org/oauth-endpoint', ]);