Commit Graph

39 Commits

Author SHA1 Message Date
Dmitry
0d671e41a3 Add lang parameter 2016-10-06 02:14:48 +03:00
Jack W
9bbcf572e0 Merge pull request #7 from xdrew/master
Pass by reference notice fix
2016-09-13 07:38:26 +01:00
xdrew
c250bf0217 Pass by reference notice fix 2016-09-13 07:34:21 +03:00
trogwar
3cddf40512 Fallback that will prevent causing errors in 4.x version of VK API 2016-08-31 23:25:01 +01:00
trogwar
63db282f91 Fix coding standards after PHPCS with PSR-2 2016-08-31 23:25:01 +01:00
trogwar
b1a7744233 Remove unused code from tests – TODO write test to get access_token and user 2016-08-31 23:25:01 +01:00
trogwar
54e16ad046 Deal with situation when friends.get return only ids (integers, not objects) – only when no fields-option was passed 2016-08-31 23:24:56 +01:00
trogwar
5596bc7350 Sometimes, VKontakte sets user IDentificator as uid or id – use both of them in ID getter 2016-08-31 23:24:56 +01:00
trogwar
4ea360a0d1 Fix bug when id and email was set to null even if they're was in user response 2016-08-31 23:24:56 +01:00
trogwar
8f7813faf3 Update docs, bump PHP 2016-08-31 23:24:45 +01:00
trogwar
887aed2956 Reduce permissions (scope) and data for users by default (still can be extended via configuration) 2016-08-31 23:24:45 +01:00
trogwar
ad2082add0 Implement additional getters in user for default scopes (may be null in some cases) 2016-08-31 23:24:45 +01:00
trogwar
394ddb4f38 Refactor User model to be more like Generic – to get more general behavior 2016-08-31 23:24:45 +01:00
trogwar
16ee969bdb Implement two basic VKAPI methods: users.get and friends.get 2016-08-31 23:24:45 +01:00
trogwar
5ba6995aba Drop getter for access token because default getter in abstract provider got and parse this fully correct 2016-08-31 23:24:45 +01:00
trogwar
61083772fb Refactor response validation: use meta from http, content type and two types of vkontakte error types. 2016-08-31 23:24:37 +01:00
trogwar
9d8576fba2 Refactor getting vendor data from token and drop code that used only in tests (not business logic, not internal) 2016-06-30 07:15:32 +03:00
trogwar
f82c3645e7 Use configuration parameters like scope, version, base URIs to the top of provider and config files 2016-06-30 06:55:56 +03:00
trogwar
ad18ce7d7b Use JSON only – other types are errors 2016-06-30 06:52:36 +03:00
trogwar
781c3cac39 Update tests to use new internal APIs (League Client, Guzzle, this repo) 2016-06-29 22:55:56 +03:00
trogwar
6652435afc Update User object of VK 2016-06-29 22:24:53 +03:00
trogwar
b64d43ed62 Update code to use GuzzleHttp 6.x (was 3.x) that required by League client 2016-06-29 22:24:07 +03:00
trogwar
d24b697274 Full implement AbstractProvider from League 2016-06-29 22:23:27 +03:00
trogwar
1fc50f236c Update method parameters and names 2016-06-29 22:18:23 +03:00
trogwar
3691945391 Upgrade League OAuth2 client library to stable 2016-06-29 22:09:26 +03:00
Jack Wall
873ae7a8fc bump phpunit 2015-04-14 19:20:45 +01:00
Jack Wall
60e4e6943d Fixed failing test 2015-04-14 17:26:07 +01:00
Jack Wall
1f219e663c Changing README 2015-04-14 16:08:41 +01:00
Jack W
7114612541 Merge pull request #3 from kudmni/patch-1
Fix email retrieving
2015-03-28 21:47:56 +00:00
Dmitry Kuznetsov
885065fab4 Fix indents 2015-03-26 23:18:27 +03:00
Dmitry Kuznetsov
c5450347ee Fix indents 2015-03-26 23:13:54 +03:00
Dmitry Kuznetsov
d332621cd8 Update UT 2015-03-26 23:12:55 +03:00
Dmitry Kuznetsov
c8d6a0f5af Retrieve email from access token
For details: https://vk.com/dev/auth_sites
2015-03-26 23:09:41 +03:00
Jack W
4a171df875 Merge pull request #2 from rakeev/patch-2
Set custom uidKey
2015-03-17 12:13:08 +00:00
Jack W
848ecb9d78 Merge pull request #1 from rakeev/patch-1
Aego ns, ORLY? =)
2015-03-17 12:12:44 +00:00
Alexey
a94c8bc26a Fixed namespace + more real like credentials 2014-12-16 03:52:43 +04:00
Alexey
322f7988f0 Set custom uidKey 2014-12-10 15:32:38 +04:00
Jack Wall
3238cd1c75 adding shields
phpunit travisci debug

removing 5.3 from travis.yml
2014-12-08 01:59:56 +00:00
Jack Wall
189ffea4dd initial commit 2014-12-07 23:00:39 +00:00