| Line 9... |
Line 9... |
| 9 |
@Service
|
9 |
@Service
|
| 10 |
public interface AuthService {
|
10 |
public interface AuthService {
|
| 11 |
boolean authenticate(String emailOrMobile, String passowrd);
|
11 |
boolean authenticate(String emailOrMobile, String passowrd);
|
| 12 |
void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;
|
12 |
void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;
|
| 13 |
void resetPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;
|
13 |
void resetPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;
|
| - |
|
14 |
AuthUser resetAuthUserPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;
|
| 14 |
void addAuthUser(AuthUser authUser) throws ProfitMandiBusinessException;
|
15 |
void addAuthUser(AuthUser authUser) throws ProfitMandiBusinessException;
|
| 15 |
void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword) throws ProfitMandiBusinessException;
|
16 |
void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword) throws ProfitMandiBusinessException;
|
| 16 |
String getNameByEmailId(String email);
|
17 |
String getNameByEmailId(String email);
|
| 17 |
List<Integer> getDirectReportees(int authId);
|
18 |
List<Integer> getDirectReportees(int authId);
|
| 18 |
List<AuthUser> getAllManagers(int authId);
|
19 |
List<AuthUser> getAllManagers(int authId);
|