Sitelet https://github.com/npgsql/efcore.pg/issues/2704
Skip to content

Obsolete authentication callbacks on NpgsqlDbContextOptionsBuilder #2704

Description

@roji

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions