Files
WatchIt/WatchIt.Website/Services/Authentication/IAuthenticationService.cs

12 lines
334 B
C#

using Refit;
using WatchIt.DTO.Models.Controllers.Authentication;
namespace WatchIt.Website.Services.Authentication;
public interface IAuthenticationService
{
Task<string?> GetRawAccessTokenAsync();
Task<long?> GetAccountIdAsync();
Task<IApiResponse> Login(AuthenticationRequest data);
Task<IApiResponse> Logout();
}