@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | require '../vendor/autoload.php'; |
4 | 4 | |
5 | -$companyId = 0000;// company id provided by Kobas |
|
6 | -$clientId = '';// client id provided by Kobas |
|
7 | -$clientSecret = '';// client secret provided by Kobas |
|
5 | +$companyId = 0000; // company id provided by Kobas |
|
6 | +$clientId = ''; // client id provided by Kobas |
|
7 | +$clientSecret = ''; // client secret provided by Kobas |
|
8 | 8 | $clientScope = ''; // client scope provided by Kobas |
9 | 9 | |
10 | 10 | $provider = new \Kobas\APIClient\Auth\Provider($companyId, $clientId, $clientSecret, $clientScope); |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | require '../vendor/autoload.php'; |
4 | 4 | |
5 | -$companyId = 0000;// company id provided by Kobas |
|
6 | -$clientId = '';// client id provided by Kobas |
|
7 | -$clientSecret = '';// client secret provided by Kobas |
|
5 | +$companyId = 0000; // company id provided by Kobas |
|
6 | +$clientId = ''; // client id provided by Kobas |
|
7 | +$clientSecret = ''; // client secret provided by Kobas |
|
8 | 8 | $clientScope = ''; // client scope provided by Kobas |
9 | 9 | |
10 | 10 | $provider = new \Kobas\APIClient\Auth\Provider($companyId, $clientId, $clientSecret, $clientScope); |
@@ -52,11 +52,11 @@ |
||
52 | 52 | */ |
53 | 53 | public function __construct($companyId, $clientId, $clientSecret, $scopes, $url = 'https://oauth.kobas.co.uk') |
54 | 54 | { |
55 | - $this->companyId = (int)$companyId; |
|
56 | - $this->clientId = (string)$clientId; |
|
57 | - $this->clientSecret = (string)$clientSecret; |
|
58 | - $this->scopes = (string)$scopes; |
|
59 | - $this->url = (string)$url; |
|
55 | + $this->companyId = (int) $companyId; |
|
56 | + $this->clientId = (string) $clientId; |
|
57 | + $this->clientSecret = (string) $clientSecret; |
|
58 | + $this->scopes = (string) $scopes; |
|
59 | + $this->url = (string) $url; |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |