Initial commit

This commit is contained in:
2026-06-02 10:51:14 +02:00
committed by kawa
commit d19092c84e
182 changed files with 13757 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
using SharepointToolbox.Web.Core.Models;
namespace SharepointToolbox.Web.Services.Session;
/// <summary>
/// Scoped per Blazor circuit. Holds the active tenant profile for the current user.
/// All feature pages read the profile from here instead of asking the user per-request.
/// </summary>
public interface IUserSessionService
{
TenantProfile? CurrentProfile { get; }
bool HasProfile { get; }
AppSettings Settings { get; }
void SetProfile(TenantProfile profile);
Task ClearSessionAsync();
void UpdateSettings(AppSettings settings);
event Action? ProfileChanged;
}