Interface ITeamPrincipalAccessor
Resolves the current caller's ClaimsPrincipal for scope / access-level enforcement.
Abstracting this lets enforcement work outside an HTTP request — e.g. in an interactive Blazor Server
circuit where there is no HttpContext but the principal is available via
AuthenticationStateProvider. The default implementation reads IHttpContextAccessor.
public interface ITeamPrincipalAccessor
Methods
GetCurrentAsync()
The current principal, or null when no caller can be resolved.
ValueTask<ClaimsPrincipal> GetCurrentAsync()