+struct ClientRegistered : public HandshakeMessage
+{
+ inline ClientRegistered(quint32 coreFeatures, bool coreConfigured, const QVariantList &backendInfo, bool sslSupported, const QVariantList &authenticatorInfo)
+ : coreFeatures(coreFeatures)
+ , coreConfigured(coreConfigured)
+ , backendInfo(backendInfo)
+ , authenticatorInfo(authenticatorInfo)
+ , sslSupported(sslSupported)
+ {}
+
+ quint32 coreFeatures;
+ bool coreConfigured;
+
+ // The authenticatorInfo should be optional!
+ QVariantList backendInfo; // TODO: abstract this better
+ QVariantList authenticatorInfo;
+
+ // this is only used by the LegacyProtocol in compat mode
+ bool sslSupported;