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