Azure.Identity.OnBehalfOfCredential
Enables authentication to Microsoft Entra ID using an On-Behalf-Of flow.
namespace Azure.Identity
{
public class OnBehalfOfCredential : TokenCredential
{
protected OnBehalfOfCredential();
public OnBehalfOfCredential(string tenantId, string clientId, X509Certificate2 clientCertificate, string userAssertion);
public OnBehalfOfCredential(string tenantId, string clientId, X509Certificate2 clientCertificate, string userAssertion, OnBehalfOfCredentialOptions options);
public OnBehalfOfCredential(string tenantId, string clientId, string clientSecret, string userAssertion);
public OnBehalfOfCredential(string tenantId, string clientId, string clientSecret, string userAssertion, OnBehalfOfCredentialOptions options);
public OnBehalfOfCredential(string tenantId, string clientId, Func<CancellationToken, Task<string>> clientAssertionCallback, string userAssertion, OnBehalfOfCredentialOptions options = null);
public OnBehalfOfCredential(string tenantId, string clientId, Func<string> clientAssertionCallback, string userAssertion, OnBehalfOfCredentialOptions options = null);
}
}