Edytuj

Udostępnij za pośrednictwem


SecurityContextSecurityTokenResolver.UpdateContextCachingTime Method

Definition

Updates the expiration date for a token in the cache.

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)

Parameters

context
SecurityContextSecurityToken

The security context.

expirationTime
DateTime

The new expiration time and date.

Implements

Applies to