added login with otp and verify otp
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user