|
|
@ -21,6 +21,10 @@ import com.fasterxml.jackson.core.JsonParseException;
|
|
|
|
import com.fasterxml.jackson.core.type.TypeReference;
|
|
|
|
import com.fasterxml.jackson.core.type.TypeReference;
|
|
|
|
import com.fasterxml.jackson.databind.JsonMappingException;
|
|
|
|
import com.fasterxml.jackson.databind.JsonMappingException;
|
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.common.exceptions.OTPManagementException;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.common.otp.mgt.OTPEmailTypes;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.common.otp.mgt.dto.OneTimePinDTO;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.common.spi.OTPManagementService;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.config.api.beans.ErrorResponse;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.config.api.beans.ErrorResponse;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.config.api.service.DeviceManagementConfigService;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.config.api.service.DeviceManagementConfigService;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.config.api.util.DeviceMgtAPIUtils;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.config.api.util.DeviceMgtAPIUtils;
|
|
|
|