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