Azure.Identity.ClientSecretCredential
Enables authentication to Microsoft Entra ID using a client secret that was generated for an App Registration. More information on how
to configure a client secret can be found at
.
namespace Azure.Identity
{
public class ClientSecretCredential : TokenCredential
{
protected ClientSecretCredential();
public ClientSecretCredential(string tenantId, string clientId, string clientSecret);
public ClientSecretCredential(string tenantId, string clientId, string clientSecret, ClientSecretCredentialOptions options);
public ClientSecretCredential(string tenantId, string clientId, string clientSecret, TokenCredentialOptions options);
}
}