Property Authenticate
Authenticates a handshake before the socket is upgraded. Supplied by the host through
AddRedbRouteWebSocket(o => o.Authenticate = ...); null means every connection is
accepted, which is the historical behaviour. The principal is put on every exchange the socket
produces (ExchangePrincipal); build its identity with an authentication type, because code
that reads it treats an identity that is not authenticated as anonymous.
public Func<HttpContext, Task<ClaimsPrincipal?>>? Authenticate { get; set; }