12 lines
318 B
C#
12 lines
318 B
C#
|
using IdentityServer.Domain.Entities;
|
|||
|
using IdentityServer.Domain.Models;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace IdentityServer.Application.Services
|
|||
|
{
|
|||
|
public interface IUserService
|
|||
|
{
|
|||
|
Task<Token> Authenticate(string userName, string password);
|
|||
|
Task<AppUser> Authorize(string token);
|
|||
|
}
|
|||
|
}
|