4 references to User
Microsoft.AspNetCore.SignalR.Core (4)
DefaultUserIdProvider.cs (2)
10/// This provider gets the user ID from the connection's <see cref="HubConnectionContext.User"/> name identifier claim. 17return connection.User.FindFirst(ClaimTypes.NameIdentifier)?.Value;
Internal\DefaultHubCallerContext.cs (1)
28public override ClaimsPrincipal? User => _connection.User;
Internal\DefaultHubDispatcher.cs (1)
673return IsHubMethodAuthorizedSlow(provider, hubConnectionContext.User, descriptor.Policies, new HubInvocationContext(hubConnectionContext.HubCallerContext, provider, hub, descriptor.MethodExecutor.MethodInfo, hubMethodArguments));