diff options
Diffstat (limited to 'src/Common/AuthBackend.h')
-rw-r--r-- | src/Common/AuthBackend.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Common/AuthBackend.h b/src/Common/AuthBackend.h index 53c7769..d916d1d 100644 --- a/src/Common/AuthBackend.h +++ b/src/Common/AuthBackend.h @@ -38,9 +38,10 @@ class AuthBackend { friend class AuthManager; virtual const std::vector<std::string>& getMethods() const = 0; + virtual const std::vector<std::string>& getSubMethods(const std::string &method) const throw(Core::Exception) = 0; - virtual boost::shared_ptr<AuthContext> authenticate(const std::string& /*method*/, const std::string& /*user*/, - const std::vector<boost::uint8_t>& /*data*/, std::vector<boost::uint8_t>& /*response*/, + virtual boost::shared_ptr<AuthContext> authenticate(const std::string& /*method*/, const std::string& /*subMethod*/, + const std::string& /*user*/, const std::vector<boost::uint8_t>& /*data*/, std::vector<boost::uint8_t>& /*response*/, boost::shared_ptr<AuthContext> /*context*/) throw(Core::Exception) = 0; public: |