mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-02 11:47:56 +00:00
Refactoring namespace for OpenWifi.
This commit is contained in:
@@ -29,7 +29,7 @@ namespace OpenWifi {
|
|||||||
std::cout << "Line: " << __LINE__ << std::endl;
|
std::cout << "Line: " << __LINE__ << std::endl;
|
||||||
SecurityObjects::UserInfoAndPolicy SecObj;
|
SecurityObjects::UserInfoAndPolicy SecObj;
|
||||||
std::cout << "Line: " << i.first << std::endl;
|
std::cout << "Line: " << i.first << std::endl;
|
||||||
if (AuthService()->IsValidToken(i.first, SecObj.webtoken, SecObj.userinfo)) {
|
if (AuthService()->IsValidToken(i.second, SecObj.webtoken, SecObj.userinfo)) {
|
||||||
Poco::JSON::Object Obj;
|
Poco::JSON::Object Obj;
|
||||||
SecObj.to_json(Obj);
|
SecObj.to_json(Obj);
|
||||||
ReturnObject(Request, Obj, Response);
|
ReturnObject(Request, Obj, Response);
|
||||||
|
|||||||
Reference in New Issue
Block a user