password hash cheching
This commit is contained in:
parent
99a9fd507e
commit
534c282226
25 changed files with 390 additions and 84 deletions
|
@ -26,6 +26,11 @@ public:
|
|||
|
||||
const Type type;
|
||||
|
||||
class Duplicate;
|
||||
class DuplicateLogin;
|
||||
class EmptyResult;
|
||||
class NoLogin;
|
||||
|
||||
public:
|
||||
virtual void connect(const std::string& path) = 0;
|
||||
virtual void disconnect() = 0;
|
||||
|
@ -37,6 +42,7 @@ public:
|
|||
virtual void setVersion(uint8_t version) = 0;
|
||||
|
||||
virtual unsigned int registerAccount(const std::string& login, const std::string& hash) = 0;
|
||||
virtual std::string getAccountHash(const std::string& login) = 0;
|
||||
|
||||
protected:
|
||||
DBInterface(Type type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue