Package io.mosip.mimoto.controller
Class AttestationServiceController
- java.lang.Object
-
- io.mosip.mimoto.controller.AttestationServiceController
-
@SpringBootApplication @RestController @RequestMapping("/safetynet") public class AttestationServiceController extends Object
-
-
Constructor Summary
Constructors Constructor Description AttestationServiceController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<?>processOffline(String attestation)Safetynet attestation verify using offline method.org.springframework.http.ResponseEntity<?>processOnline(String attestation)Safetynet attestation verify using online method with Google API.
-
-
-
Method Detail
-
processOffline
@PostMapping(path="/offline/verify", produces="application/json") public org.springframework.http.ResponseEntity<?> processOffline(@RequestBody String attestation)Safetynet attestation verify using offline method.- Parameters:
attestation-- Returns:
-
processOnline
@PostMapping(path="/online/verify", produces="application/json") public org.springframework.http.ResponseEntity<?> processOnline(@RequestBody String attestation)Safetynet attestation verify using online method with Google API.- Parameters:
attestation-- Returns:
-
-