1 | <?php |
||
11 | class SugarAPI extends AbstractClient { |
||
12 | |||
13 | /** |
||
14 | * The configured Authentication options |
||
15 | * @var array |
||
16 | */ |
||
17 | protected $credentials = array( |
||
18 | 'username' => '', |
||
19 | 'password' => '', |
||
20 | 'client_id' => 'sugar', |
||
21 | 'client_secret' => '', |
||
22 | 'platform' => 'api' |
||
23 | ); |
||
24 | |||
25 | /** |
||
26 | * @inheritdoc |
||
27 | * Overrides only the credentials properties passed in, instead of entire credentials array |
||
28 | */ |
||
29 | public function setCredentials(array $credentials){ |
||
37 | |||
38 | } |