tuitio/src/Tuitio.Wrapper/Services/ITuitioService.cs

14 lines
325 B
C#
Raw Normal View History

2023-02-14 01:23:13 +02:00
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.PublishedLanguage.Dto;
2020-12-21 00:45:10 +02:00
using System.Threading.Tasks;
namespace Tuitio.Wrapper.Services
2020-12-21 00:45:10 +02:00
{
public interface ITuitioService
2020-12-21 00:45:10 +02:00
{
Task<Token> Authenticate(string userName, string password);
Task<TokenAuthorizationResult> Authorize(string token);
2020-12-21 00:45:10 +02:00
}
}