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
.
protected ClientSecretCredential()
Protected constructor for mocking.
Creates an instance of the ClientSecretCredential with the details needed to authenticate against Microsoft Entra ID with a client secret.
public ClientSecretCredential(string tenantId, string clientId, string clientSecret, ClientSecretCredentialOptions options)
Creates an instance of the ClientSecretCredential with the details needed to authenticate against Microsoft Entra ID with a client secret.
public ClientSecretCredential(string tenantId, string clientId, string clientSecret, TokenCredentialOptions options)
Creates an instance of the ClientSecretCredential with the details needed to authenticate against Microsoft Entra ID with a client secret.