Table of Contents

Method AcquireTokenViaConfidentialClientApp

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

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.

public Task<AuthenticationResult> AcquireTokenViaConfidentialClientApp()

Returns

Task<AuthenticationResult>

AuthenticationResult with access token in case of successful connection.