tuitio/IdentityServer.Domain/Repositories/IIdentityRepository.cs

12 lines
288 B
C#

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);
}
}