Class ProxyOTPServiceImpl
java.lang.Object
io.mosip.kernel.auth.defaultimpl.service.impl.ProxyOTPServiceImpl
- All Implemented Interfaces:
OTPService
- Author:
- Urvil Joshi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.mosip.kernel.core.authmanager.model.AuthNResponseDtosendOTP(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, io.mosip.kernel.core.authmanager.model.OtpUser otpUser, String appId) io.mosip.kernel.core.authmanager.model.AuthNResponseDtosendOTPForUin(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, io.mosip.kernel.core.authmanager.model.OtpUser otpUser, String appId) io.mosip.kernel.core.authmanager.model.MosipUserTokenDtovalidateOTP(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, String otp, String appId)
-
Constructor Details
-
ProxyOTPServiceImpl
public ProxyOTPServiceImpl()
-
-
Method Details
-
validateOTP
public io.mosip.kernel.core.authmanager.model.MosipUserTokenDto validateOTP(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, String otp, String appId) - Specified by:
validateOTPin interfaceOTPService
-
sendOTPForUin
public io.mosip.kernel.core.authmanager.model.AuthNResponseDto sendOTPForUin(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, io.mosip.kernel.core.authmanager.model.OtpUser otpUser, String appId) - Specified by:
sendOTPForUinin interfaceOTPService
-
sendOTP
public io.mosip.kernel.core.authmanager.model.AuthNResponseDto sendOTP(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, io.mosip.kernel.core.authmanager.model.OtpUser otpUser, String appId) throws Exception - Specified by:
sendOTPin interfaceOTPService- Throws:
Exception
-