From e0451ef59a69eda29efa6bc22294b2bcf8b8b600 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 29 May 2020 11:31:40 +0200 Subject: Authentication infrastructure --- plugin_interface.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin_interface.h') 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& 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 }; -- cgit v1.2.3