SecurityContextSecurityTokenResolver.UpdateContextCachingTime 方法

定义

更新缓存中令牌的过期日期。

public:
 virtual void UpdateContextCachingTime(System::ServiceModel::Security::Tokens::SecurityContextSecurityToken ^ context, DateTime expirationTime);
public void UpdateContextCachingTime (System.ServiceModel.Security.Tokens.SecurityContextSecurityToken context, DateTime expirationTime);
abstract member UpdateContextCachingTime : System.ServiceModel.Security.Tokens.SecurityContextSecurityToken * DateTime -> unit
override this.UpdateContextCachingTime : System.ServiceModel.Security.Tokens.SecurityContextSecurityToken * DateTime -> unit
Public Sub UpdateContextCachingTime (context As SecurityContextSecurityToken, expirationTime As DateTime)

参数

context
SecurityContextSecurityToken

安全上下文。

expirationTime
DateTime

新的过期时间和日期。

实现

适用于