ilukyanov / oauth2-odnoklassniki
Odnoklassniki provider for league/oauth2-client
0.4.2
2017-12-13 16:38 UTC
Requires
- php: >=5.5
- league/oauth2-client: ^2.0
Requires (Dev)
- phpunit/phpunit: ~4.3
This package is not auto-updated.
Last update: 2024-11-03 17:15:58 UTC
README
This package provides Odnoklassniki integration for OAuth2 Client by the League.
Installation
composer require ilukyanov/oauth2-odnoklassniki
Usage
$provider = new Aego\OAuth2\Client\Provider\Odnoklassniki([ 'clientId' => '1234567890', 'clientPublic' => 'BA57A2DACCE55C0DE', 'clientSecret' => '5ADC0DE2ADD1C7ED70C0FFEE', 'redirectUri' => 'https://example.org/oauth-endpoint', ]);
Please pay attention to additional clientPublic parameter — provider requires both numeric and symbolic application IDs.