From cf02afe845ce17b69f060a9075375187bf626897 Mon Sep 17 00:00:00 2001 From: naumso Date: Thu, 30 May 2024 15:46:56 +0300 Subject: [PATCH] UPD --- README.md | 6 +++--- tests/VkontakteTest.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ed5a4ff..cfa1cd8 100644 --- a/README.md +++ b/README.md @@ -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', diff --git a/tests/VkontakteTest.php b/tests/VkontakteTest.php index 619eab2..2dcf451 100644 --- a/tests/VkontakteTest.php +++ b/tests/VkontakteTest.php @@ -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;