<PackageReference Include="Microsoft.Identity.Client" Version="4.82.1" />

Microsoft.Identity.Client.Internal.Requests.RequestBase

abstract class RequestBase
Base class for all flows. Use by implementing ExecuteAsync and optionally calling protected helper methods such as SendTokenRequestAsync, which know how to use all params when making the request.
protected RequestBase(IServiceBundle serviceBundle, AuthenticationRequestParameters authenticationRequestParameters, IAcquireTokenParameters acquireTokenParameters)

protected virtual void EnrichTelemetryApiEvent(ApiEvent apiEvent)

protected abstract Task<AuthenticationResult> ExecuteAsync(CancellationToken cancellationToken)

protected virtual KeyValuePair<string, string>? GetCcsHeader(IDictionary<string, string> additionalBodyParameters)

protected KeyValuePair<string, string>? GetCcsUpnHeader(string upnHeader)

protected virtual SortedSet<string> GetOverriddenScopes(ISet<string> inputScopes)

Return a custom set of scopes to override the default MSAL logic of merging input scopes with reserved scopes (openid, profile etc.) Leave as is / return null otherwise

public Task<AuthenticationResult> RunAsync(CancellationToken cancellationToken = default)

protected Task<MsalTokenResponse> SendTokenRequestAsync(string tokenEndpoint, IDictionary<string, string> additionalBodyParameters, CancellationToken cancellationToken)

protected virtual void ValidateAccountIdentifiers(ClientInfo fromServer)