Class OTPServiceImpl
- java.lang.Object
-
- io.mosip.kernel.auth.defaultimpl.service.impl.OTPServiceImpl
-
- All Implemented Interfaces:
OTPService
@Profile("!local") @Service public class OTPServiceImpl extends Object implements OTPService- Author:
- Ramadurai Pandian
-
-
Constructor Summary
Constructors Constructor Description OTPServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.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)
-
-
-
Method Detail
-
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
-
-