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

14 lines
411 B
C#
Raw Normal View History

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
namespace Tuitio.Wrapper.Services
2020-12-21 00:45:10 +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
}