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.
The
OTPAuthService interface to trigger OTP request to core-kernal
for generate and build otp.- Author:
- Rakesh Roshan
-
Method Summary
Modifier and TypeMethodDescriptiongenerateOtp(OtpRequestDTO otpRequest, String partnerID, ObjectWithMetadata requestWithMetadata) Generate otp.
-
Method Details
-
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
-