- virtual bool Authorize(const std::string & login, uint32_t ip,
- uint32_t enabledDirs, const AUTH * auth) = 0;
- virtual bool Unauthorize(const std::string & login,
- const AUTH * auth,
- const std::string & reason = std::string()) = 0;
+ virtual void AddNotifierUserDel(NotifierBase<User*>* notifier) = 0;
+ virtual void DelNotifierUserDel(NotifierBase<User*>* notifier) = 0;
+
+ virtual int Add(const std::string& login, const Admin* admin) = 0;
+ virtual void Del(const std::string& login, const Admin* admin) = 0;
+
+ virtual bool Authorize(const std::string& login, uint32_t ip,
+ uint32_t enabledDirs, const Auth* auth) = 0;
+ virtual bool Unauthorize(const std::string& login,
+ const Auth* auth,
+ const std::string& reason = {}) = 0;