Subversion Repositories SmartDukaan

Rev

Rev 34077 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34077 Rev 34794
Line 8... Line 8...
8
 
8
 
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
	
-
 
-
 
13
	void resetPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;
14
	void addAuthUser(AuthUser authUser) throws ProfitMandiBusinessException;
14
	void addAuthUser(AuthUser authUser) throws ProfitMandiBusinessException;
15
	void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword)
15
	void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword) throws ProfitMandiBusinessException;
16
			throws ProfitMandiBusinessException;
-
 
17
	
-
 
18
	String getNameByEmailId(String email);
16
	String getNameByEmailId(String email);
19
	List<Integer> getDirectReportees(int authId);
17
	List<Integer> getDirectReportees(int authId);
20
 
-
 
21
	List<AuthUser> getAllManagers(int authId);
18
	List<AuthUser> getAllManagers(int authId);
22
 
-
 
23
	List<Integer> getAllReportees(int authId);
19
	List<Integer> getAllReportees(int authId);
24
 
-
 
25
 
-
 
26
}
20
}