|
using IdentityServer.PublishedLanguage.Dto;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace IdentityServer.Wrapper.Services
|
|
{
|
|
public interface IIdentityService
|
|
{
|
|
Task<Token> Authenticate(string userName, string password);
|
|
Task<TokenCore> Authorize(string token);
|
|
}
|
|
}
|