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

Microsoft.Identity.Client.AuthScheme.IAuthenticationOperation2

This is an extensibility API and should only be used by SDKs. Enhanced version of IAuthenticationOperation that supports asynchronous token formatting. Used to modify the experience depending on the type of token asked with async capabilities.
namespace Microsoft.Identity.Client.AuthScheme { public interface IAuthenticationOperation2 : IAuthenticationOperation { Task FormatResultAsync(AuthenticationResult authenticationResult, CancellationToken cancellationToken = default(CancellationToken)); Task<bool> ValidateCachedTokenAsync(MsalCacheValidationData cachedTokenData); } }