<PackageReference Include="Microsoft.Identity.Client" Version="4.84.2-preview4-GetManagedIdentityCapabilitiesAsync" />

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.
Task FormatResultAsync(AuthenticationResult authenticationResult, CancellationToken cancellationToken = default)

Will be invoked instead of IAuthenticationOperation.FormatResult

Determines whether the cached token is still valid.