isConnectionAuthorized method
- Channel channel
Whether channel may use commands that require an active connection.
Implementation
bool isConnectionAuthorized(Channel channel) {
return !requiresAuthentication || _authenticatedUsers.containsKey(channel);
}