IConfigurationEventHandlerContextAware<T> 接口

定义

定义用于配置检索和更新操作的事件处理程序。

public interface IConfigurationEventHandlerContextAware<T> : Microsoft.IdentityModel.Protocols.Configuration.IConfigurationEventHandler<T> where T : class
type IConfigurationEventHandlerContextAware<'T (requires 'T : null)> = interface
    interface IConfigurationEventHandler<'T (requires 'T : null)>
Public Interface IConfigurationEventHandlerContextAware(Of T)
Implements IConfigurationEventHandler(Of T)

类型参数

T

配置的类型。

实现

方法

名称 说明
AfterUpdateAsync(String, T, CancellationToken)

在成功检索配置后调用,方式是火上加油。

(继承自 IConfigurationEventHandler<T>)
AfterUpdateAsync(String, T, ConfigurationRetrievalContext, CancellationToken)

成功检索配置后,以火忘方式调用。

BeforeRetrieveAsync(String, CancellationToken)

在从元数据终结点检索配置之前调用。

(继承自 IConfigurationEventHandler<T>)
BeforeRetrieveAsync(String, ConfigurationRetrievalContext, CancellationToken)

在从元数据终结点检索配置之前调用。

适用于