2023-02-14 01:23:13 +02:00
|
|
|
|
// Copyright (c) 2020 Tudor Stanciu
|
|
|
|
|
|
2020-12-21 00:45:10 +02:00
|
|
|
|
using System.Threading.Tasks;
|
2023-03-07 19:36:12 +02:00
|
|
|
|
using Tuitio.PublishedLanguage.Dto;
|
2020-12-21 00:45:10 +02:00
|
|
|
|
|
2023-01-31 02:17:54 +02:00
|
|
|
|
namespace Tuitio.Wrapper.Services
|
2020-12-21 00:45:10 +02:00
|
|
|
|
{
|
2023-03-07 19:44:55 +02:00
|
|
|
|
public interface ITuitioService
|
2020-12-21 00:45:10 +02:00
|
|
|
|
{
|
2023-03-07 20:36:12 +02:00
|
|
|
|
Task<Envelope<AccountLoginResult>> Login(string userName, string password);
|
|
|
|
|
Task<Envelope<AccountLogoutResult>> Logout(string token);
|
|
|
|
|
Task<Envelope<AuthorizationResult>> Authorize(string token);
|
2020-12-21 00:45:10 +02:00
|
|
|
|
}
|
2023-03-07 20:36:12 +02:00
|
|
|
|
}
|