diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-05-29 11:31:40 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-05-29 11:31:40 +0200 |
commit | e0451ef59a69eda29efa6bc22294b2bcf8b8b600 (patch) | |
tree | dc80766930ca36ef5394b648b3658d41c1cd0abc /plugin_interface.h | |
parent | f1f4cbd996aa00b6e4d3d04d0223d02fd553dd96 (diff) |
Authentication infrastructure
Diffstat (limited to 'plugin_interface.h')
-rw-r--r-- | plugin_interface.h | 3 |
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 }; |