tuitio/IdentityServer.Wrapper/Services/IIdentityService.cs

12 lines
291 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<TokenCore> Authorize(string token);
}
}