Files
@ c68479f86d5e
Branch filter:
Location: libtransport.git/include/Swiften/Server/UserRegistry.h - annotation
c68479f86d5e
636 B
text/plain
[service] idle_reconnect_time
828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 1e8eb7076f17 828ae9d2cb88 808a9067c5f5 808a9067c5f5 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 | /*
* Copyright (c) 2010 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
#pragma once
#include <string>
#include <Swiften/Base/SafeByteArray.h>
#include <boost/signal.hpp>
namespace Swift {
class JID;
class UserRegistry {
public:
virtual ~UserRegistry();
virtual bool isValidUserPassword(const JID& user, const SafeByteArray& password) = 0;
virtual void stopLogin(const JID &/*user*/) {};
boost::signal<void (const std::string &user)> onPasswordValid;
boost::signal<void (const std::string &user)> onPasswordInvalid;
};
}
|