UPD
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
# Vkontakte OAuth2 client provider
|
# Vkontakte OAuth2 client provider
|
||||||
This package provides [Vkontakte](https://vk.com) integration for [OAuth2 Client](https://github.com/thephpleague/oauth2-client) by the League.
|
This package provides [VK](https://vk.com) integration for [OAuth2 Client](https://github.com/thephpleague/oauth2-client) by the League.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
composer require Sept/oauth2-vkontakte
|
composer require 1sept/oauth2-vkontakte
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$provider = new Sept\OAuth2\Client\Provider\Vkontakte([
|
$provider = new Sept\OAuth2\Client\Provider\VkProvider([
|
||||||
'clientId' => '1234567',
|
'clientId' => '1234567',
|
||||||
'clientSecret' => 's0meRe4lLySEcRetC0De',
|
'clientSecret' => 's0meRe4lLySEcRetC0De',
|
||||||
'redirectUri' => 'https://example.org/oauth-endpoint',
|
'redirectUri' => 'https://example.org/oauth-endpoint',
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
namespace Sept\OAuth2\Client\Test\Provider;
|
namespace Sept\OAuth2\Client\Test\Provider;
|
||||||
|
|
||||||
use GuzzleHttp\Psr7\Response;
|
use GuzzleHttp\Psr7\Response;
|
||||||
use Sept\OAuth2\Client\Provider\Vkontakte as Provider;
|
use Sept\OAuth2\Client\Provider\VkProvider as Provider;
|
||||||
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
|
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
|
||||||
use League\OAuth2\Client\Token\AccessToken;
|
use League\OAuth2\Client\Token\AccessToken;
|
||||||
use Mockery as m;
|
use Mockery as m;
|
||||||
|
|||||||
Reference in New Issue
Block a user