added login with otp and verify otp

This commit is contained in:
Lincpay Tech
2025-11-26 17:17:04 +05:30
parent 985f6eecfd
commit 6f53dedbe1
18 changed files with 595 additions and 5 deletions
@@ -0,0 +1,15 @@
package com.billpaymentservice.bbps.service;
import com.billpaymentservice.bbps.dto.auth.AuthResponse;
import com.billpaymentservice.bbps.dto.auth.LoginRequest;
import com.billpaymentservice.bbps.dto.auth.OtpSendResponse;
import com.billpaymentservice.bbps.dto.auth.RegisterRequest;
import com.billpaymentservice.bbps.dto.auth.VerifyOtpRequest;
import com.billpaymentservice.bbps.entites.UserEntity;
public interface AuthService {
OtpSendResponse sendOtp(LoginRequest request);
AuthResponse verifyOtp(VerifyOtpRequest request);
AuthResponse registerUser(RegisterRequest request);
UserEntity findByMobile(String mobile);
}