Class WsRegistrationOptions
Host-supplied configuration for WebSocket consumers. The route host is a generic host, not an
ASP.NET application, so authentication arrives as a delegate the host writes rather than
through an authentication stack the connector would have to depend on.
public sealed class WsRegistrationOptions
Inheritance
Properties
Authenticate
Authenticates a WebSocket handshake. Returns the principal to attach to the request (its
public Func<HttpContext, Task<ClaimsPrincipal?>>? Authenticate { get; set; }