diff --git a/src/core/auth/qgsauthorizationsettings.h b/src/core/auth/qgsauthorizationsettings.h index 35a0a2398954..3b44ac23283f 100644 --- a/src/core/auth/qgsauthorizationsettings.h +++ b/src/core/auth/qgsauthorizationsettings.h @@ -32,8 +32,10 @@ * \brief Utility class that contains authorization information. * \since QGIS 3.42 */ -struct CORE_EXPORT QgsAuthorizationSettings +class CORE_EXPORT QgsAuthorizationSettings { + public: + //! Constructor for QgsAuthorizationSettings. QgsAuthorizationSettings( const QString &userName = QString(), const QString &password = QString(), const QgsHttpHeaders &httpHeaders = QgsHttpHeaders(), const QString &authcfg = QString() ) : mUserName( userName )