isAuthenticated property

bool get isAuthenticated

Returns true if this proxy requires authentication

Implementation

bool get isAuthenticated =>
    auth != null || (username != null && password != null);