X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/becf6dfe4fe2ecd43792aa53a302c5866483f306..09c44c9a7e8c870e07827b3fc34811cd917b6115:/include/user.h diff --git a/include/user.h b/include/user.h index cac12d57..90ce626d 100644 --- a/include/user.h +++ b/include/user.h @@ -26,12 +26,12 @@ #include "os_int.h" #include "notifer.h" -#include "base_auth.h" #include "stg_message.h" #include "tariff.h" #include "user_traff.h" class USER_PROPERTIES; +class AUTH; class USER { public: @@ -71,11 +71,10 @@ public: virtual time_t GetConnectedModificationTime() const = 0; virtual int GetAuthorized() const = 0; virtual int Authorize(uint32_t ip, - const std::string & iface, uint32_t enabledDirs, - const BASE_AUTH * auth) = 0; - virtual void Unauthorize(const BASE_AUTH * auth) = 0; - virtual bool IsAuthorizedBy(const BASE_AUTH * auth) const = 0; + const AUTH * auth) = 0; + virtual void Unauthorize(const AUTH * auth) = 0; + virtual bool IsAuthorizedBy(const AUTH * auth) const = 0; virtual int AddMessage(STG_MSG * msg) = 0;