requiresAuthentication property

bool get requiresAuthentication

Whether connections must authenticate before sending normal commands.

Implementation

bool get requiresAuthentication => authentication.policy.requireForConnection;