tuitio/IdentityServer.Application/Services/IUserService.cs

11 lines
276 B
C#
Raw Normal View History

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);
TokenCore Authorize(string token);
2020-12-20 03:06:43 +02:00
}
}