@Component public class OTPServiceImpl extends Object implements OTPService
| Constructor and Description |
|---|
OTPServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
AuthNResponseDto |
sendOTP(MosipUserDto mosipUserDto,
List<String> otpChannel,
String appId) |
AuthNResponseDto |
sendOTP(MosipUserDto mosipUser,
OtpUser otpUser) |
AuthNResponseDto |
sendOTPForUin(MosipUserDto mosipUser,
OtpUser otpUser,
String appId) |
MosipUserTokenDto |
validateOTP(MosipUserDto mosipUser,
String otp) |
public AuthNResponseDto sendOTP(MosipUserDto mosipUserDto, List<String> otpChannel, String appId)
sendOTP in interface OTPServicepublic MosipUserTokenDto validateOTP(MosipUserDto mosipUser, String otp)
validateOTP in interface OTPServicepublic AuthNResponseDto sendOTPForUin(MosipUserDto mosipUser, OtpUser otpUser, String appId)
sendOTPForUin in interface OTPServicepublic AuthNResponseDto sendOTP(MosipUserDto mosipUser, OtpUser otpUser) throws Exception
sendOTP in interface OTPServiceExceptionCopyright © 2020. All rights reserved.