MySQLLDAPAuthModule.h 359 B

123456789101112131415
  1. #pragma once
  2. #include <memory>
  3. #include "interfaces.h"
  4. class MySQLLDAPAuthModule: public IMySQLLDAPAuthModule
  5. {
  6. public:
  7. MySQLLDAPAuthModule(std::unique_ptr<ILDAPReader>&& ldapReader);
  8. bool Authenticate(const std::string& username, const std::string& password) override;
  9. private:
  10. std::unique_ptr<ILDAPReader> ldapReader;
  11. };