Implemented interface member:
property
User
Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature.User
2 writes to User
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
59
Connection.
User
= new ClaimsPrincipal(new ClaimsIdentity(claims));
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
TestClient.cs (1)
59
Connection.
User
= new ClaimsPrincipal(new ClaimsIdentity(claims));
2 references to User
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.cs (2)
2245
client.Connection.
User
.AddIdentity(new ClaimsIdentity(new[] { new Claim(ClaimTypes.NameIdentifier, "name") }));
2347
client.Connection.
User
.AddIdentity(new ClaimsIdentity(new[] { new Claim(ClaimTypes.NameIdentifier, "name") }));