using SharepointToolbox.Web.Core.Models; namespace SharepointToolbox.Web.Services.Session; /// Scoped per Blazor circuit. Set once on circuit init from auth state. public interface IUserContextAccessor { string Email { get; } string DisplayName { get; } UserRole Role { get; } bool IsAuthenticated { get; } event Action? Initialized; void Initialize(AppUser user); }