using FluentResults; using NexusReader.Application.DTOs.User; namespace NexusReader.Application.Abstractions.Services; public interface IIdentityService { event Func? OnStateInvalidated; Task RegisterAsync(string email, string password); Task LoginAsync(string email, string password, bool rememberMe = false); Task LogoutAsync(); Task> GetProfileAsync(); Task RefreshTokenAsync(); }