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);
|
2021-11-12 01:44:26 +02:00
|
|
|
|
Task<TokenCore> Authorize(string token);
|
2020-12-21 00:45:10 +02:00
|
|
|
|
}
|
|
|
|
|
}
|