Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class SymfonyClient extends CwdClient |
||
20 | { |
||
21 | private $clientId; |
||
22 | private $clientSecret; |
||
23 | private $username; |
||
24 | private $password; |
||
25 | private $hostname; |
||
26 | |||
27 | public function __construct($clientId, $clientSecret, $username, $password, $hostname) |
||
28 | { |
||
29 | $this->clientId = $clientId; |
||
30 | $this->clientSecret = $clientSecret; |
||
31 | $this->username = $username; |
||
32 | $this->password = $password; |
||
33 | $this->hostname = $hostname; |
||
34 | |||
35 | parent::__construct(); |
||
36 | } |
||
37 | |||
38 | public function authenticate(): Token |
||
41 | } |
||
42 | |||
43 | public function refresh($refreshToken): Token |
||
48 |