2021-11-12 01:37:10 +02:00
|
|
|
|
using IdentityServer.Domain.Models;
|
2020-12-20 03:06:43 +02:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace IdentityServer.Application.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IUserService
|
|
|
|
|
{
|
|
|
|
|
Task<Token> Authenticate(string userName, string password);
|
2021-11-12 01:37:10 +02:00
|
|
|
|
TokenCore Authorize(string token);
|
2020-12-20 03:06:43 +02:00
|
|
|
|
}
|
|
|
|
|
}
|