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