<PackageReference Include="Azure.Core" Version="1.53.0" />

Azure.Identity.ClientAssertionCredential

Enables authentication of a Microsoft Entra service principal using a signed client assertion.
namespace Azure.Identity { public class ClientAssertionCredential : TokenCredential { protected ClientAssertionCredential(); public ClientAssertionCredential(string tenantId, string clientId, Func<CancellationToken, Task<string>> assertionCallback, ClientAssertionCredentialOptions options = null); public ClientAssertionCredential(string tenantId, string clientId, Func<string> assertionCallback, ClientAssertionCredentialOptions options = null); } }