PavelAndreyev1337_itransition-course-project/CollectionApp/CollectionApp.BLL/Interfaces/IAccountService.cs
using CollectionApp.BLL.DTO;
using CollectionApp.DAL.Entities;
using Microsoft.AspNetCore.Authentication;
using System.Security.Claims;
using System.Threading.Tasks;

namespace CollectionApp.BLL.Interfaces
{
    public interface IAccountService
    {
        AuthenticationProperties GetAuthenticationProperties(string provider, string redirectUrl);
        Task<User> GetCurrentUser(ClaimsPrincipal userPrincipal, string userId = "");
        Task<AccountDTO> Login();
        Task Logout();
    }
}
