Package io.mosip.mimoto.controller
Class ResidentServiceController
- java.lang.Object
-
- io.mosip.mimoto.controller.ResidentServiceController
-
@SpringBootApplication @RestController public class ResidentServiceController extends Object
-
-
Field Summary
Fields Modifier and Type Field Description RestClientService<Object>restClientService
-
Constructor Summary
Constructors Constructor Description ResidentServiceController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Object>authLock(AuthLockRequestDTO requestDTO)Request auth lockorg.springframework.http.ResponseEntity<Object>authUnlock(AuthUnlockRequestDTO requestDTO)Request auth unlockorg.springframework.http.ResponseEntity<Object>otpRequest(AppOTPRequestDTO requestDTO)Request a new OTP for OTP required API.org.springframework.http.ResponseEntity<Object>vidGenerate(AppVIDGenerateRequestDTO requestDTO)Generate a new VID number using an UIN number.
-
-
-
Field Detail
-
restClientService
@Autowired public RestClientService<Object> restClientService
-
-
Method Detail
-
otpRequest
@PostMapping("/req/otp") public org.springframework.http.ResponseEntity<Object> otpRequest(@RequestBody AppOTPRequestDTO requestDTO) throws ExceptionRequest a new OTP for OTP required API.- Parameters:
requestDTO-- Returns:
- Throws:
Exception
-
vidGenerate
@PostMapping("/vid") public org.springframework.http.ResponseEntity<Object> vidGenerate(@RequestBody AppVIDGenerateRequestDTO requestDTO) throws ExceptionGenerate a new VID number using an UIN number.- Parameters:
requestDTO-- Returns:
- Throws:
Exception
-
authLock
@PostMapping("/req/auth/lock") public org.springframework.http.ResponseEntity<Object> authLock(@RequestBody AuthLockRequestDTO requestDTO) throws ExceptionRequest auth lock- Parameters:
requestDTO-- Returns:
- Throws:
Exception
-
authUnlock
@PostMapping("/req/auth/unlock") public org.springframework.http.ResponseEntity<Object> authUnlock(@RequestBody AuthUnlockRequestDTO requestDTO) throws ExceptionRequest auth unlock- Parameters:
requestDTO-- Returns:
- Throws:
Exception
-
-