Rev 24383 |
Go to most recent revision |
Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 24330 |
amit.gupta |
1 |
package com.spice.profitmandi.dao.repository.auth;
|
|
|
2 |
|
|
|
3 |
import org.springframework.stereotype.Repository;
|
|
|
4 |
|
|
|
5 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
6 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
@Repository
|
|
|
10 |
public interface AuthRepository {
|
|
|
11 |
boolean authenticate(String email, String hashedPassword);
|
|
|
12 |
void persist(AuthUser authUser);
|
|
|
13 |
AuthUser selectByEmailOrMobile(String emailOrMobile) throws ProfitMandiBusinessException;
|
|
|
14 |
}
|