ProvidePasswordCallback, ProvideClientCertificatesCallback and RemoteCertificateValidationCallback are defined on NpgsqlDbContextOptionsBuilder, but since the introduction of NpgsqlDataSource, these should be configured on the data source instead. ProvidePasswordCallback is obsolete at the ADO.NET level, we should do the same at the EF level to steer people towards using data source.