Property Authenticate
Authenticates hub connections. Without it the hub accepts anonymous connections and
UserIdentifier stays empty, which makes Clients.User(...) useless. Supplied by
the host (see AddRedbRouteSignalR(o => o.Authenticate = ...)) rather than built in,
because token validation belongs to whoever issues the tokens. The principal is put on every
exchange the hub 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; }