update code security otp

This commit is contained in:
Mohd-Arham
2025-11-26 18:52:00 +05:30
23 changed files with 700 additions and 65 deletions
@@ -0,0 +1,21 @@
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.dto.response.AuthResponses;
import com.billpaymentservice.bbps.entites.UserEntity;
public interface AuthService {
OtpSendResponse sendOtp(LoginRequest request);
AuthResponses verifyOtp(VerifyOtpRequest request);
AuthResponse registerUser(RegisterRequest request);
UserEntity findByMobile(String mobile);
AuthResponses authenticateUser(LoginRequest loginRequest);
}