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

Microsoft.Identity.Client.Extensibility.MsalAuthenticationExtension

Enables the extension of the MSAL authentication process by providing a custom authentication operation. These operations are provided through the implementation of the IAuthenticationOperation interface.
namespace Microsoft.Identity.Client.Extensibility { public class MsalAuthenticationExtension { public Func<OnBeforeTokenRequestData, Task> OnBeforeTokenRequestHandler { get; set; } public IAuthenticationOperation AuthenticationOperation { get; set; } public IEnumerable<string> AdditionalCacheParameters { get; set; } public MsalAuthenticationExtension(); } }