RenewedSecurityTokenHandler 委托

定义

实现时,在续订令牌返回给客户端之前将调用委托。The delegate when implemented is called before a renewed token is returned to the client.

public delegate void RenewedSecurityTokenHandler(SecurityToken ^ newSecurityToken, SecurityToken ^ oldSecurityToken);
public delegate void RenewedSecurityTokenHandler(SecurityToken newSecurityToken, SecurityToken oldSecurityToken);
type RenewedSecurityTokenHandler = delegate of SecurityToken * SecurityToken -> unit
Public Delegate Sub RenewedSecurityTokenHandler(newSecurityToken As SecurityToken, oldSecurityToken As SecurityToken)

参数

newSecurityToken
SecurityToken

已续订的令牌。The renewed token.

oldSecurityToken
SecurityToken

已过期的安全令牌。The expired security token.

继承
RenewedSecurityTokenHandler

注解

在令牌即将过期时,客户端提出续订令牌的请求。The client makes renewal requests for a token when the token is about to expire. 委托将提供一个扩展性点来检查要被续订的令牌。The delegate provides an extensibility point to inspect the token being renewed.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于