Sets the function to be called when a site is requesting authentication.
void setAuthenticate( Future<bool> Function(Uri url, String scheme, String? realm)? f);