3 references to s_databaseForPostgresSqlTokenRequestContext
Aspire.Azure.Npgsql (3)
src\Components\Common\ManagedIdentityTokenCredentialHelpers.cs (3)
40
token = credential.GetToken(
s_databaseForPostgresSqlTokenRequestContext
, default);
58
passwordProvider: _ => credential.GetToken(
s_databaseForPostgresSqlTokenRequestContext
, default).Token,
59
passwordProviderAsync: async (_, ct) => (await credential.GetTokenAsync(
s_databaseForPostgresSqlTokenRequestContext
, default).ConfigureAwait(false)).Token