using CashLineERP.Contracts.Auth;
using CashLineERP.Contracts.Identity;

namespace CashLineERP.Application.Identity;

public interface IIdentityService
{
    LoginResponse Login(LoginRequest request);

    AuthenticatedUserProfileResponse GetCurrentUserProfile(long userId);

    IReadOnlyCollection<RoleSummaryResponse> GetRoles();
}
