Class SignalRRegistrationOptions
Host-supplied configuration for the SignalR hubs. Everything here is a delegate on
purpose: the connector stays free of Redis, Azure and authentication dependencies, and the
host, which knows its own infrastructure, supplies them.
public sealed class SignalRRegistrationOptions
Inheritance
Properties
Authenticate
Authenticates a hub connection. Returns the principal to attach to the request (its
public Func<HttpContext, Task<ClaimsPrincipal?>>? Authenticate { get; set; }
Methods
ConfigureHubServices(Action<IServiceCollection, SignalRHubDescriptor>)
Adds services to the container of each hub: a SignalR backplane, extra protocols, an
public SignalRRegistrationOptions ConfigureHubServices(Action<IServiceCollection, SignalRHubDescriptor> configure)