migrare UI in WebAssembly + integrare Serviciu stocare info pe web + WebToken

This commit is contained in:
andrei-mihnea-cerbu
2024-04-10 06:57:48 +03:00
parent 9977a9b5f5
commit adba50e70b
1915 changed files with 16113 additions and 99991 deletions
@@ -0,0 +1,20 @@
namespace HealthcareManagerUiWebAssem.Services.UserSessionInformation;
public interface IUserSessionInformation
{
Task SaveUserInformationAsync(Guid id, string role, string username, string email, string token);
Task SetIdAsync(Guid id);
Task SetRoleAsync(string role);
Task SetUsernameAsync(string username);
Task SetEmailAsync(string email);
Task SetTokenAsync(string token);
Task<Guid> GetIdAsync();
Task<string> GetRoleAsync();
Task<string> GetUsernameAsync();
Task<string> GetEmailAsync();
Task<string> GetTokenAsync();
Task RefreshTokenAsync();
}