using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TIAMWebApp.Shared.Application.Models; using TIAMWebApp.Shared.Application.Models.PageModels; namespace TIAMWebApp.Shared.Application.Interfaces { public interface IUserDataService { public User? User { get; set; } public Dictionary userRoleTypes { get; set; } public Task IsLoggedInAsync(); //mock method for now public Task AuthorizeUserAsync(int userType); public Task AuthenticateUser(LoginModel loginModel); public Task<(bool isSuccess, string ErrorMessage)> CreateUser(RegistrationModel regModel); public Task TestUserApi(int Param); public Task> GetUserRolesAsync(User user); Task RefreshToken(); } }