5 writes to UserIdentifier
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
578UserIdentifier = userIdProvider.GetUserId(this);
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
DefaultHubLifetimeManagerBenchmark.cs (1)
56hubConnectionContext.UserIdentifier = userIdentifier;
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\testassets\Tests.Utils\HubConnectionContextUtils.cs (1)
27UserIdentifier = userIdentifier,
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
RedisHubLifetimeManagerTests.cs (1)
138connection.UserIdentifier = "*";
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
HubConnectionContextUtils.cs (1)
27UserIdentifier = userIdentifier,
7 references to UserIdentifier
Microsoft.AspNetCore.SignalR.Core (3)
DefaultHubLifetimeManager.cs (2)
288return SendToAllConnections(methodName, args, (connection, state) => string.Equals(connection.UserIdentifier, (string)state!, StringComparison.Ordinal), userId, cancellationToken); 330return SendToAllConnections(methodName, args, (connection, state) => ((IReadOnlyList<string>)state!).Contains(connection.UserIdentifier), userIds, cancellationToken);
Internal\DefaultHubCallerContext.cs (1)
25public override string? UserIdentifier => _connection.UserIdentifier;
Microsoft.AspNetCore.SignalR.StackExchangeRedis (4)
RedisHubLifetimeManager.cs (4)
104if (!string.IsNullOrEmpty(connection.UserIdentifier)) 144if (!string.IsNullOrEmpty(connection.UserIdentifier)) 359var userChannel = _channels.User(connection.UserIdentifier!); 585var userChannel = _channels.User(connection.UserIdentifier!);