mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-10-30 02:12:32 +00:00
Completing RESTAPI refactor.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
namespace OpenWifi {
|
||||
void RESTAPI_oauth2Handler::DoGet() {
|
||||
std::cout << __LINE__ << std::endl;
|
||||
try {
|
||||
if (!IsAuthorized()) {
|
||||
UnAuthorized("Not authorized.");
|
||||
@@ -58,6 +59,7 @@ namespace OpenWifi {
|
||||
}
|
||||
|
||||
void RESTAPI_oauth2Handler::DoPost() {
|
||||
std::cout << __LINE__ << std::endl;
|
||||
try {
|
||||
|
||||
// Extract the info for login...
|
||||
|
||||
Reference in New Issue
Block a user