allowAuthenticationAttempt method

bool allowAuthenticationAttempt(
  1. Channel channel
)

Implementation

bool allowAuthenticationAttempt(Channel channel) {
  final source = _server?.getConnectionInfo(channel)?.address.host;
  return source != null && _authenticationRateLimiter.allow(source);
}