Files
GestionIntegralWeb/Backend/GestionIntegral.Api/Data/IAuthRepository.cs

12 lines
442 B
C#
Raw Normal View History

using GestionIntegral.Api.Models;
namespace GestionIntegral.Api.Data
{
public interface IAuthRepository
{
Task<Usuario?> GetUserByUsernameAsync(string username);
Task<bool> UpdatePasswordAsync(int userId, string newHash, string newSalt);
Task<Usuario?> GetUserByIdAsync(int userId); // Método útil para cambio de clav
Task<IEnumerable<string>> GetPermisosCodAccByPerfilIdAsync(int idPerfil);
}
}