getRequestOptions() ); } /** * {@inheritDoc} */ public function getRequestAuthentication(): RequestAuthenticationInterface { try { $core_auth = parent::getRequestAuthentication(); } catch ( \Exception $exception ) { $core_auth = null; } return AmazeeIoAiProvider::resolveRequestAuthentication( $core_auth ); } /** * {@inheritDoc} * * @param Response $response HTTP response to check. */ protected function throwIfNotSuccessful( Response $response ): void { AmazeeIoAiProvider::throwOnBudgetError( $response ); parent::throwIfNotSuccessful( $response ); } }