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