Subversion Repositories SmartDukaan

Rev

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

Rev 34794 Rev 37209
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);