EntraIdExtension Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class with extension methods for configuring Entra ID authentication with Npgsql data sources synchronously and asynchronously.
public static class EntraIdExtension
type EntraIdExtension = class
Public Module EntraIdExtension
- Inheritance
-
EntraIdExtension
Methods
| Name | Description |
|---|---|
| UseEntraAuthentication(NpgsqlDataSourceBuilder, TokenCredential, CancellationToken) |
Configures the NpgsqlDataSourceBuilder to use Entra ID authentication synchronously. |
| UseEntraAuthenticationAsync(NpgsqlDataSourceBuilder, TokenCredential, CancellationToken) |
Configures the NpgsqlDataSourceBuilder to use Entra ID authentication asynchronously. |