EntraIdFederatedIdentityCredential Properties

ClassProperties4 members
A federated identity credential (FIC) with managed identity for an Entra ID application.
ManagedIdentityClientIdSection titled ManagedIdentityClientIdnullablestring?
Gets the client ID of the user-assigned managed identity that supplies the signed assertion.
public string? ManagedIdentityClientId { get; }
This is the identity's client ID, not the object (principal) ID used as the federated credential's subject. Microsoft Entra's managed-identity federation scenario supports user-assigned identities only. It is null when Aspire resolves the identity, in which case each consuming resource uses its own user-assigned managed identity or the one it was configured with.
SourceTypeSection titled SourceTypeoverridestring
Gets the SourceType string used in the Microsoft.Identity.Web configuration.
public override string SourceType { get; }
TokenExchangeAuthoritySection titled TokenExchangeAuthoritynullablestring?
Gets or sets the token exchange authority URL.
public string? TokenExchangeAuthority { get; set; }
Used when the issuer for token exchange differs from the application's authority.
TokenExchangeUrlSection titled TokenExchangeUrlnullablestring?
Gets or sets the token exchange URL for federated identity credential scenarios.
public string? TokenExchangeUrl { get; set; }
If not specified, defaults to api://AzureADTokenExchange, or the audience of the application's cloud when the credential is backed by a managed identity resource.