| 24330 |
amit.gupta |
1 |
package com.spice.profitmandi.service;
|
|
|
2 |
|
|
|
3 |
import org.springframework.stereotype.Service;
|
|
|
4 |
|
|
|
5 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
6 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
|
|
7 |
|
|
|
8 |
@Service
|
|
|
9 |
public interface AuthService {
|
|
|
10 |
boolean authenticate(String emailOrMobile, String passowrd);
|
|
|
11 |
void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;
|
|
|
12 |
|
|
|
13 |
void addAuthUser(AuthUser authUser) throws ProfitMandiBusinessException;
|
|
|
14 |
void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword)
|
|
|
15 |
throws ProfitMandiBusinessException;
|
|
|
16 |
|
|
|
17 |
}
|