ukko / oauth2-odnoklassniki

Odnoklassniki provider for league/oauth2-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Odnoklassniki OAuth2 client provider

Build Status Latest Version License

This package provides Odnoklassniki integration for OAuth2 Client by the League.

Installation

composer require aego/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.

About

Odnoklassniki provider for league/oauth2-client

License:MIT License


Languages

Language:PHP 100.0%