|
using IdentityServer.Domain.Entities;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace IdentityServer.Domain.Repositories
|
|
{
|
|
public interface IIdentityRepository
|
|
{
|
|
Task<AppUser> GetAppUser(int userId);
|
|
Task<AppUser> GetAppUser(string userName, string password);
|
|
}
|
|
}
|