| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | final class AuthenticateHttpClient extends HttpClient |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var DolibarrApiKeyRequester |
||
| 20 | */ |
||
| 21 | private $dolibarrApikeyRequester; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param array $options |
||
| 25 | * @param DolibarrApiKeyRequester $dolibarrApiKeyRequester |
||
| 26 | */ |
||
| 27 | public function __construct(array $options, DolibarrApiKeyRequester $dolibarrApiKeyRequester) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | * |
||
| 36 | * @throws ApiException |
||
| 37 | */ |
||
| 38 | protected function authenticate() |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param Authentication $authentication |
||
| 47 | * |
||
| 48 | * @return HandlerStack |
||
| 49 | */ |
||
| 50 | private function createHandler(Authentication $authentication) |
||
| 58 |