]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.h
Added a function that lists all plugins that authorize the user.
[stg.git] / projects / stargazer / user_impl.h
index 5e8f49dbad303a53d95607d4776c1bbe73f83c70..a581f2e55c48f586d98017e69c016e36ba7b8b2c 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <ctime>
 #include <list>
+#include <vector>
 #include <string>
 #include <set>
 
@@ -186,6 +187,7 @@ public:
     int             Authorize(uint32_t ip, uint32_t enabledDirs, const AUTH * auth);
     void            Unauthorize(const AUTH * auth);
     bool            IsAuthorizedBy(const AUTH * auth) const;
+    std::vector<std::string> GetAuthorizers() const;
 
     int             AddMessage(STG_MSG * msg);