]> git.stg.codes - stg.git/blobdiff - include/stg/user.h
Added a function that lists all plugins that authorize the user.
[stg.git] / include / stg / user.h
index b9d638d626a5437a0ebc8c1b49d501c7ba43781b..0adb342ae9261841017370c169398e22449f981a 100644 (file)
@@ -24,6 +24,9 @@
 #include <ctime>
 #include <string>
 
+#include <vector>
+#include <string>
+
 #include "os_int.h"
 #include "notifer.h"
 #include "message.h"
@@ -77,6 +80,7 @@ public:
                                           const AUTH * auth) = 0;
     virtual void                Unauthorize(const AUTH * auth) = 0;*/
     virtual bool                IsAuthorizedBy(const AUTH * auth) const = 0;
+    virtual std::vector<std::string> GetAuthorizers() const = 0;
 
     virtual int                 AddMessage(STG_MSG * msg) = 0;