using AyCode.Interfaces.Addresses; using AyCode.Interfaces.Logins; using AyCode.Interfaces.Profiles; using AyCode.Interfaces.ServiceProviders; using AyCode.Interfaces.Users; namespace AyCode.Services.Logins; public abstract class AcLoginServiceBase : IAcLoginServiceBase where TUser : class, IAcUser where TProfile : class, IAcProfile where TServiceProvider : class, IAcServiceProviderBase where TUserToServiceProvider : class, IAcUserToServiceProviderBase where TProfileAddress : class, IAcAddress { public virtual bool IsLoggedIn => LoggedInUser != null; public virtual TUser? LoggedInUser { get; protected set; } }