generated from Sithas/conan_template
DAO - Полное завершение класса
This commit is contained in:
@@ -22,9 +22,9 @@ std::string MemoryAuthDAO::Login(const std::string& registrated_user_uuid)
|
||||
return auth_token;
|
||||
}
|
||||
|
||||
bool MemoryAuthDAO::HasAuthorizedUser(const std::string& auth_token)
|
||||
bool MemoryAuthDAO::HasAuthorizedUser(const std::string& user_uuid)
|
||||
{
|
||||
return auth_tokens_to_users_uuids_.count(auth_token) > 0;
|
||||
return users_uuids_to_auth_tokens_.count(user_uuid) > 0;
|
||||
}
|
||||
|
||||
bool MemoryAuthDAO::Logout(const std::string& auth_token)
|
||||
|
||||
Reference in New Issue
Block a user