Microsoft.Identity.Client.Extensibility.AcquireTokenOnBehalfOfParameterBuilderExtensions
Extension methods for the AcquireTokenOnBehalfOfParameterBuilder
public static AcquireTokenOnBehalfOfParameterBuilder WithSearchInCacheForLongRunningProcess(this AcquireTokenOnBehalfOfParameterBuilder builder, bool searchInCache = true)
Only affects InitiateLongRunningProcessInWebApi.
When enabled, mimics MSAL 4.50.0 and below behavior - checks in cache for cached tokens first,
and if not found, then uses user assertion to request new tokens from AAD.
When disabled (default behavior), doesn't search in cache, but uses the user assertion to retrieve tokens from AAD.