This commit is contained in:
2024-05-30 13:28:19 +03:00
parent b6a517e96a
commit e2f0027a82
2 changed files with 9 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "j4k/oauth2-vkontakte", "name": "j4k/oauth2-vkontakte",
"description": "Vkontakte provider for league/oauth2-client", "description": "VK provider for league/oauth2-client",
"keywords": [ "keywords": [
"league", "league",
"package" "package"
@@ -8,17 +8,17 @@
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {
"name": "Jack Wall", "name": "September First",
"email": "jw@jack.gd" "email": "info@1sept.ru"
} }
], ],
"require": { "require": {
"php" : ">=5.6", "php" : ">=8.1",
"league/oauth2-client": "^2.0" "league/oauth2-client": "^2.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit" : "~4.6", "phpunit/phpunit" : "^11.0",
"mockery/mockery": "~0.9" "mockery/mockery": "~1.6"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {

View File

@@ -11,7 +11,7 @@ class Vkontakte extends AbstractProvider
{ {
protected $baseOAuthUri = 'https://oauth.vk.com'; protected $baseOAuthUri = 'https://oauth.vk.com';
protected $baseUri = 'https://api.vk.com/method'; protected $baseUri = 'https://api.vk.com/method';
protected $version = '5.52'; protected $version = '5.236';
protected $language = null; protected $language = null;
/** /**
@@ -20,8 +20,8 @@ class Vkontakte extends AbstractProvider
*/ */
public $scopes = [ public $scopes = [
'email', 'email',
'friends', // 'friends',
'offline', // 'offline',
//'photos', //'photos',
//'wall', //'wall',
//'ads', //'ads',