Interface OTPService
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface OTPService
TheOTPAuthServiceinterface to trigger OTP request to core-kernal for generate and build otp.- Author:
- Rakesh Roshan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OtpResponseDTOgenerateOtp(OtpRequestDTO otpRequest, String partnerID, ObjectWithMetadata requestWithMetadata)Generate otp.
-
-
-
Method Detail
-
generateOtp
OtpResponseDTO generateOtp(OtpRequestDTO otpRequest, String partnerID, ObjectWithMetadata requestWithMetadata) throws IdAuthenticationBusinessException
Generate otp.- Parameters:
otpRequest- OtpRequestDTO request.partnerID- the partner IDrequestWithMetadata-- Returns:
- OtpResponseDTO object return.
- Throws:
IdAuthenticationBusinessException- exception
-
-