tuitio/IdentityServer.Wrapper/Services/IIdentityService.cs

12 lines
286 B
C#
Raw Normal View History

2020-12-21 00:45:10 +02:00
using IdentityServer.PublishedLanguage.Dto;
using System.Threading.Tasks;
namespace IdentityServer.Wrapper.Services
{
public interface IIdentityService
{
Task<Token> Authenticate(string userName, string password);
Task<User> Authorize(string token);
}
}