5 references to GetConsumerIdentity
Aspire.Hosting.Azure.EntraId (5)
EntraIdApplicationResource.cs (5)
501
if (!target.IsExcludedFromPublish() && EntraIdFederatedIdentityCredential.
GetConsumerIdentity
(target) is { } targetIdentity)
508
identities.AddRange(Consumers.Where(c => !c.IsExcludedFromPublish()).Select(EntraIdFederatedIdentityCredential.
GetConsumerIdentity
).OfType<AzureUserAssignedIdentityResource>());
1221
var consumerIdentity =
GetConsumerIdentity
(consumer)
1244
return (credential.ManagedIdentity ??
GetConsumerIdentity
(consumer))!.ClientId;
1252
=> credential.ManagedIdentity is not null ||
GetConsumerIdentity
(consumer) is not null ? ClientId : null;