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 {
|
namespace OpenWifi {
|
||||||
void RESTAPI_oauth2Handler::DoGet() {
|
void RESTAPI_oauth2Handler::DoGet() {
|
||||||
|
std::cout << __LINE__ << std::endl;
|
||||||
try {
|
try {
|
||||||
if (!IsAuthorized()) {
|
if (!IsAuthorized()) {
|
||||||
UnAuthorized("Not authorized.");
|
UnAuthorized("Not authorized.");
|
||||||
@@ -58,6 +59,7 @@ namespace OpenWifi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void RESTAPI_oauth2Handler::DoPost() {
|
void RESTAPI_oauth2Handler::DoPost() {
|
||||||
|
std::cout << __LINE__ << std::endl;
|
||||||
try {
|
try {
|
||||||
|
|
||||||
// Extract the info for login...
|
// Extract the info for login...
|
||||||
|
|||||||
Reference in New Issue
Block a user