summaryrefslogtreecommitdiffhomepage
path: root/plugin_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin_interface.h')
-rw-r--r--plugin_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin_interface.h b/plugin_interface.h
index c0a95b9..830c44c 100644
--- a/plugin_interface.h
+++ b/plugin_interface.h
@@ -27,6 +27,9 @@ public:
std::function<void(const std::string& key, const std::string& value)>& SetResponseHeader // to be added to result string
) = 0;
+ // Plugin provides own authentication mechanism? Otherwise, webserver makes HTTP AUTH via status 401
+ virtual bool has_own_authentication() = 0;
+
virtual ~webserver_plugin_interface(){} // optional
};