@@ -75,7 +75,7 @@ PAPIAuth CAPISessionHandler::createAuthentication(const std::string& sAuthorizat
75
75
if (pSession->getToken () != sToken )
76
76
throw ELibMCInterfaceException (LIBMC_ERROR_INVALIDSESSIONTOKEN);
77
77
78
- return std::make_shared<CAPIAuth>(pSession->getUUID (), pSession->getKey (), pSession->createUserInformation (), pSession->isAuthenticated (), pSession->getFrontendState (), pGlobalChrono );
78
+ return std::make_shared<CAPIAuth>(pSession->getUUID (), pSession->getKey (), pSession->createUserInformation (), pSession->isAuthenticated (), pSession->getFrontendState ());
79
79
}
80
80
else {
81
81
return nullptr ;
@@ -84,25 +84,25 @@ PAPIAuth CAPISessionHandler::createAuthentication(const std::string& sAuthorizat
84
84
}
85
85
86
86
87
- PAPIAuth CAPISessionHandler::createNewAuthenticationSession (AMCCommon::PChrono pGlobalChrono )
87
+ PAPIAuth CAPISessionHandler::createNewAuthenticationSession (PUIFrontendDefinition pFrontendDefinition )
88
88
{
89
- auto pSession = std::make_shared<CAPISession>(pGlobalChrono );
89
+ auto pSession = std::make_shared<CAPISession>(pFrontendDefinition );
90
90
91
91
std::lock_guard<std::mutex> lockGuard (m_Mutex);
92
92
m_SessionMap.insert (std::make_pair (pSession->getUUID (), pSession));
93
93
94
- return std::make_shared<CAPIAuth>(pSession->getUUID (), pSession->getKey (), pSession->createUserInformation (), pSession->isAuthenticated (), pSession->getFrontendState (), pGlobalChrono );
94
+ return std::make_shared<CAPIAuth>(pSession->getUUID (), pSession->getKey (), pSession->createUserInformation (), pSession->isAuthenticated (), pSession->getFrontendState ());
95
95
96
96
}
97
97
98
98
99
- PAPIAuth CAPISessionHandler::createEmptyAuthenticationSession (AMCCommon::PChrono pGlobalChrono )
99
+ PAPIAuth CAPISessionHandler::createEmptyAuthenticationSession ()
100
100
{
101
101
102
102
std::string sEmptyUUID = " 00000000-0000-0000-0000-000000000000" ;
103
103
std::string sEmptyKey = " 0000000000000000000000000000000000000000000000000000000000000000" ;
104
104
105
- return std::make_shared<CAPIAuth>(sEmptyUUID , sEmptyKey , CUserInformation::makeEmpty (), false , nullptr , pGlobalChrono );
105
+ return std::make_shared<CAPIAuth>(sEmptyUUID , sEmptyKey , CUserInformation::makeEmpty (), false , nullptr );
106
106
}
107
107
108
108
0 commit comments