Table of Contents

Class AzureConfClientADAuth

Namespace
Scaleout.Client.Azure
Assembly
Scaleout.Client.Azure.dll

This class is used to get authenticated and to obtain the access token from OAuth identity service (like Microsoft Entra) via confidential client flow with the use of certificate.

public class AzureConfClientADAuth
Inheritance
AzureConfClientADAuth
Inherited Members

Constructors

AzureConfClientADAuth(string, string, X509Certificate2, ILogger<AzureConfClientADAuth>)

Public constructor.

Methods

AcquireTokenViaConfidentialClientApp()

Acquires a token from the Microsoft Entra authority for the confidential client itself (not for a user) using the client credentials flow. See Client Credentials Flow. During this operation MSAL will first search in the cache for an unexpired token before acquiring a new one from Microsoft Entra ID.