Class OtpValidatorServiceImpl
- java.lang.Object
-
- io.mosip.kernel.otpmanager.service.impl.OtpValidatorServiceImpl
-
- All Implemented Interfaces:
OtpValidator<org.springframework.http.ResponseEntity<OtpValidatorResponseDto>>
@RefreshScope @Service public class OtpValidatorServiceImpl extends Object implements OtpValidator<org.springframework.http.ResponseEntity<OtpValidatorResponseDto>>
This class provides the implementation for the methods of OtpValidatorService interface.- Since:
- 1.0.0
- Author:
- Sagar Mahapatra
-
-
Constructor Summary
Constructors Constructor Description OtpValidatorServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<OtpValidatorResponseDto>validateOtp(String key, String otp)
-
-
-
Method Detail
-
validateOtp
public org.springframework.http.ResponseEntity<OtpValidatorResponseDto> validateOtp(String key, String otp)
- Specified by:
validateOtpin interfaceOtpValidator<org.springframework.http.ResponseEntity<OtpValidatorResponseDto>>
-
-