max107 / oauth2-odnoklassniki
Odnoklassniki provider for league/oauth2-client
Installs: 1 652
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- league/oauth2-client: ~1.0|~2.0
Requires (Dev)
- phpunit/phpunit: ^6.5
README
This package provides Odnoklassniki integration for OAuth2 Client by the League.
Installation
composer require aego/oauth2-odnoklassniki
Usage
$provider = new Max107\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.