This commit is contained in:
2024-05-30 15:46:56 +03:00
parent c8a9104dd2
commit cf02afe845
2 changed files with 4 additions and 4 deletions

View File

@@ -1,16 +1,16 @@
# 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
```sh
composer require Sept/oauth2-vkontakte
composer require 1sept/oauth2-vkontakte
```
## Configuration
```php
$provider = new Sept\OAuth2\Client\Provider\Vkontakte([
$provider = new Sept\OAuth2\Client\Provider\VkProvider([
'clientId' => '1234567',
'clientSecret' => 's0meRe4lLySEcRetC0De',
'redirectUri' => 'https://example.org/oauth-endpoint',

View File

@@ -3,7 +3,7 @@
namespace Sept\OAuth2\Client\Test\Provider;
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\Token\AccessToken;
use Mockery as m;