2 implementations of User
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
78public ClaimsPrincipal? User { get; set; }
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
180public ClaimsPrincipal? User { get; set; }
3 references to User
Microsoft.AspNetCore.SignalR.Core (3)
HubConnectionContext.cs (2)
190_connectionContext.Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal()); 692var user = Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal();
HubConnectionHandler.cs (1)
329if (connectionUserFeature is not null && !ReferenceEquals(connectionUserFeature.User, user))