You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#1: Added a more extensible connectivity layer to the Blizzard API that uses cURL to analyse requests - thus removing the file_get_contents_dependency - and integrated support for Authorization tokens.
Copy file name to clipboardExpand all lines: Service/ApiService.php
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,11 @@ class ApiService
28
28
*/
29
29
protected$callService = null;
30
30
31
+
/**
32
+
* @var string
33
+
*/
34
+
protected$authorizationToken = null;
35
+
31
36
/**
32
37
* @param CallService $callService The service that makes the actual API calls. As long as the API stays read-only, it will strictly be used as an extra dependency in order to mock the call to the WS.
33
38
*/
@@ -219,4 +224,23 @@ protected function getNormalisedPlayerProfileArray($apiData = array())
0 commit comments