13 references to ClaimsPrincipal
Aspire.Dashboard (1)
Authentication\AspirePolicyEvaluator.cs (1)
134var newPrincipal = new ClaimsPrincipal();
Microsoft.AspNetCore.Authentication (1)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (1)
31var newPrincipal = new ClaimsPrincipal();
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationTicket.cs (1)
61var principal = new ClaimsPrincipal();
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationHandler.cs (1)
136var newPrincipal = new ClaimsPrincipal();
Microsoft.AspNetCore.Authorization.Policy (1)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (1)
31var newPrincipal = new ClaimsPrincipal();
Microsoft.AspNetCore.Http.Connections (3)
Internal\HttpConnectionDispatcher.cs (2)
884?? new ClaimsPrincipal(); 1068newContext.User = new ClaimsPrincipal();
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (1)
31var newPrincipal = new ClaimsPrincipal();
Microsoft.AspNetCore.Mvc.Core (1)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (1)
31var newPrincipal = new ClaimsPrincipal();
Microsoft.AspNetCore.SignalR.Core (4)
HubConnectionContext.cs (3)
155return HubCallerContext.User ?? new ClaimsPrincipal(); 191_connectionContext.Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal()); 688var user = Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal();
Internal\DefaultHubDispatcher.cs (1)
769hubCallerContext.User ?? new ClaimsPrincipal(),