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