Subversion Repositories SmartDukaan

Rev

Rev 24383 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.repository.auth;

import org.springframework.stereotype.Repository;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.dao.entity.auth.AuthUser;


@Repository
public interface AuthRepository {
        boolean authenticate(String email, String hashedPassword);
        void persist(AuthUser authUser);
        AuthUser selectByEmailOrMobile(String emailOrMobile) throws ProfitMandiBusinessException;
}