public function setHttpClient(HttpClient $client)
    {
        $this->httpClient = $client;

        $this->httpClient->setDefaultOption(
            'headers/Authorization',
            $this->getAuthorizationHeader()
        );
        $this->httpClient->setDefaultOption(
            'headers/Accepts',
            'application/json'
        );

        $this->bootModules();
    }