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:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user