mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-11-03 20:27:45 +00:00 
			
		
		
		
	Adding refresh token processing for subscribers.
This commit is contained in:
		@@ -896,6 +896,7 @@ namespace OpenWifi::ProvObjects {
 | 
			
		||||
        field_to_json( Obj,"statusCode", statusCode);
 | 
			
		||||
        field_to_json( Obj,"deviceID", deviceID);
 | 
			
		||||
        field_to_json( Obj,"registrationId",registrationId);
 | 
			
		||||
        field_to_json( Obj,"operatorId",operatorId);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    bool SignupEntry::from_json(const Poco::JSON::Object::Ptr &Obj) {
 | 
			
		||||
@@ -912,6 +913,7 @@ namespace OpenWifi::ProvObjects {
 | 
			
		||||
            field_from_json( Obj,"statusCode", statusCode);
 | 
			
		||||
            field_from_json( Obj,"deviceID", deviceID);
 | 
			
		||||
            field_from_json( Obj,"registrationId",registrationId);
 | 
			
		||||
            field_from_json( Obj,"operatorId",operatorId);
 | 
			
		||||
            return true;
 | 
			
		||||
        } catch(...) {
 | 
			
		||||
 | 
			
		||||
@@ -1013,6 +1015,9 @@ namespace OpenWifi::ProvObjects {
 | 
			
		||||
        field_to_json( Obj,"configuration", configuration);
 | 
			
		||||
        field_to_json( Obj,"suspended", suspended);
 | 
			
		||||
        field_to_json( Obj,"realMacAddress", realMacAddress);
 | 
			
		||||
        field_to_json( Obj,"firmwareRCOnly", firmwareRCOnly);
 | 
			
		||||
        field_to_json( Obj,"firmwareUpgrade", firmwareUpgrade);
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    bool SubscriberDevice::from_json(const Poco::JSON::Object::Ptr &Obj) {
 | 
			
		||||
@@ -1035,6 +1040,8 @@ namespace OpenWifi::ProvObjects {
 | 
			
		||||
            field_from_json( Obj,"configuration", configuration);
 | 
			
		||||
            field_from_json( Obj,"suspended", suspended);
 | 
			
		||||
            field_from_json( Obj,"realMacAddress", realMacAddress);
 | 
			
		||||
            field_from_json( Obj,"firmwareRCOnly", firmwareRCOnly);
 | 
			
		||||
            field_from_json( Obj,"firmwareUpgrade", firmwareUpgrade);
 | 
			
		||||
            return true;
 | 
			
		||||
        } catch(...) {
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user