using HopFrame.Api.Models; using HopFrame.Security.Models; namespace HopFrame.Api.Logic; public interface IAuthLogic { Task>> Login(UserLogin login); Task>> Register(UserRegister register); /// /// Reassures that the user has a valid refresh token and generates a new access token /// /// The newly generated access token Task>> Authenticate(); Task Logout(); /// /// Deletes the user account that called the endpoint if the provided password is correct /// /// The password od the user /// Task Delete(UserPasswordValidation validation); }