<PackageReference Include="Microsoft.IdentityModel.Protocols" Version="8.16.0" />

Microsoft.IdentityModel.Protocols.Configuration.IConfigurationEventHandler<T>

public interface IConfigurationEventHandler<T>
Defines event handlers for configuration retrieval and update operations.
namespace Microsoft.IdentityModel.Protocols.Configuration { public interface IConfigurationEventHandler<T> where T : class { Task<ConfigurationEventHandlerResult<T>> BeforeRetrieveAsync(string metadataAddress, CancellationToken cancellationToken = default(CancellationToken)); Task AfterUpdateAsync(string metadataAddress, T configuration, CancellationToken cancellationToken = default(CancellationToken)); } }