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