AuthSession::AuthSession(quint32 id, const QString &methodName, QObject *parent) : QObject(parent), impl(new AuthSessionImpl(this, id, methodName)) { qRegisterMetaType<SessionData>("SessionData"); qRegisterMetaType<AuthSessionState>("AuthSession::AuthSessionState"); if (qMetaTypeId<SessionData>() < QMetaType::User) BLAME() << "AuthSession::AuthSession() - SessionData meta type not registered."; if (qMetaTypeId<AuthSessionState>() < QMetaType::User) BLAME() << "AuthSession::AuthSession() - AuthSessionState meta type not registered."; }
IdentityInfo::IdentityInfo(): impl(new IdentityInfoImpl) { qRegisterMetaType<IdentityInfo>("SignOn::IdentityInfo"); if (qMetaTypeId<IdentityInfo>() < QMetaType::User) BLAME() << "IdentityInfo::IdentityInfo() - " "IdentityInfo meta type not registered."; }
AuthService::AuthService(QObject *parent) : QObject(parent), impl(new AuthServiceImpl(this)) { qRegisterMetaType<Error>("SignOn::Error"); qRegisterMetaType<Error>("Error"); if (qMetaTypeId<Error>() < QMetaType::User) BLAME() << "AuthService::AuthService() - SignOn::Error meta type not registered."; }