// For license of this file, see /LICENSE.md. #ifndef AUTHENTICATIONDETAILS_H #define AUTHENTICATIONDETAILS_H #include #include "ui_authenticationdetails.h" #include "network-web/networkfactory.h" #include "services/abstract/feed.h" class RSSGUARD_DLLSPEC AuthenticationDetails : public QWidget, public Ui::AuthenticationDetails { Q_OBJECT public: explicit AuthenticationDetails(bool only_basic, QWidget* parent = nullptr); void setAuthenticationType(NetworkFactory::NetworkFactory::NetworkAuthentication protect); NetworkFactory::NetworkFactory::NetworkAuthentication authenticationType() const; private slots: void onUsernameChanged(const QString& new_username); void onPasswordChanged(const QString& new_password); void onAuthenticationSwitched(); }; #endif // AUTHENTICATIONDETAILS_H