<PackageReference Include="Microsoft.Identity.Client" Version="4.87.1-preview.2" />

Microsoft.Identity.Client.ManagedIdentity.AbstractManagedIdentity

abstract class AbstractManagedIdentity
protected bool _isMtlsPopRequested

protected bool _preferMsiV2

True when WithRequestOverMtls was called. The IMDSv2 attested mTLS flow is used, but token_type=bearer is requested from ESTS.

protected readonly RequestContext _requestContext

protected AbstractManagedIdentity(RequestContext requestContext, ManagedIdentitySource sourceType)

protected abstract Task<ManagedIdentityRequest> CreateRequestAsync(string resource)