| 24330 |
amit.gupta |
1 |
package com.spice.profitmandi.service;
|
|
|
2 |
|
|
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
4 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
| 30771 |
amit.gupta |
5 |
import org.springframework.stereotype.Service;
|
| 24330 |
amit.gupta |
6 |
|
| 30771 |
amit.gupta |
7 |
import java.util.List;
|
|
|
8 |
|
| 24330 |
amit.gupta |
9 |
@Service
|
|
|
10 |
public interface AuthService {
|
|
|
11 |
boolean authenticate(String emailOrMobile, String passowrd);
|
|
|
12 |
void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;
|
| 34794 |
vikas.jang |
13 |
void resetPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;
|
| 24330 |
amit.gupta |
14 |
void addAuthUser(AuthUser authUser) throws ProfitMandiBusinessException;
|
| 34794 |
vikas.jang |
15 |
void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword) throws ProfitMandiBusinessException;
|
| 24479 |
amit.gupta |
16 |
String getNameByEmailId(String email);
|
| 29285 |
amit.gupta |
17 |
List<Integer> getDirectReportees(int authId);
|
| 34077 |
tejus.loha |
18 |
List<AuthUser> getAllManagers(int authId);
|
| 29285 |
amit.gupta |
19 |
List<Integer> getAllReportees(int authId);
|
| 24330 |
amit.gupta |
20 |
}
|