Microsoft.IdentityModel.Protocols.Configuration.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));
}
}