2 types derived from AuthHub
Microsoft.AspNetCore.SignalR.Tests (2)
MapSignalRTests.cs (2)
378private class DoubleAuthHub : AuthHub 382private class InheritedAuthHub : AuthHub
12 references to AuthHub
Microsoft.AspNetCore.SignalR.Tests (12)
MapSignalRTests.cs (12)
55endpoints.MapHub<AuthHub>("/overloads"); 77using (var host = BuildWebHost(routes => routes.MapHub<AuthHub>("/path", options => 108using (var host = BuildWebHost(routes => routes.MapHub<AuthHub>("/path", options => 207using (var host = BuildWebHost(routes => routes.MapHub<AuthHub>("/path", options => 237using (var host = BuildWebHost(routes => routes.MapHub<AuthHub>("/path", options => 270endpoints.MapHub<AuthHub>("/path") 310endpoints.MapHub<AuthHub>("/path"); 323Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<HubMetadata>()?.HubType); 329Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<HubMetadata>()?.HubType); 341routes.MapHub<AuthHub>("/path"); 354Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<HubMetadata>()?.HubType); 360Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<HubMetadata>()?.HubType);