Add authentication flow, UI menu routing, and application config

<UserStory>AUTH001 : Login </UserStory>

<Changes>
- Introduced ApplicationConfig for default configuration values
- Implemented authentication flow in AuthenticationManagementService
- Added login and logout handling in ZenvyController
- Updated enums to include INVALID values and TEAM employee type
- Implemented login UI flow with role-based menu routing
</Changes>

<Review>
Smitha Mohan
</Review>
This commit is contained in:
2026-04-06 11:49:57 +05:30
parent 02c4f1a954
commit d76def42e9
12 changed files with 194 additions and 16 deletions
@@ -3,6 +3,7 @@
#include <map>
#include <utility>
#include "DataStore.h"
#include "Enums.h"
class AuthenticationManagementService
{
@@ -10,6 +11,7 @@ private:
DataStore& m_dataStore;
public:
AuthenticationManagementService() : m_dataStore(DataStore::getInstance()) {};
std::tuple<Enums::LoginStatus, Enums::EmployeeType, Enums::EmployeeDesignation> login(const std::string& username, const std::string& password);
void logout();
void changePassword();
};