tuitio/IdentityServer.Wrapper/Services/IIdentityService.cs

12 lines
286 B
C#

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