storage->get_options(); $login = $options_storage->get_twofas_integration_login(); $key = $options_storage->get_twofas_key_token(); $headers = $this->get_headers(); $api = new API( $login, $key, $headers ); $api->setBaseUrl( $this->config->get_api_url() ); return $api; } }