sergey-sla / oauth2-yandex
Yandex provider for league/oauth2-client
0.5
2017-10-09 14:18 UTC
Requires
- php: >=5.6
- league/oauth2-client: ^2.0
Requires (Dev)
- phpunit/phpunit: ~4.3
README
This package provides Yandex integration for OAuth2 Client by the League.
Installation
composer require sergey-sla/oauth2-yandex
Usage
$provider = new Aego\OAuth2\Client\Provider\Yandex([ 'clientId' => 'b80bb7740288fda1f201890375a60c8f', 'clientSecret' => 'f23ccd066f8236c6f97a2a62d3f9f9f5', 'redirectUri' => 'https://example.org/oauth-endpoint', ]);