本文介绍了WIF SessionSecurityTokenCache RemoveAll用法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello


我正在使用  SessionSecurityTokenCache类实现令牌缓存。我试图找到何时使用以下三个函数,如果我需要实现它们: 


public override System.Collections.Generic.IEnumerable< SessionSecurityToken> GetAll(string endpointId,System.Xml.UniqueId contextId)
$
public override void RemoveAll(string endpointId)

public override void RemoveAll(string endpointId,System.Xml.UniqueId contextId )


截至目前,我将它们编程为抛出NotImplementedException,但我还没看到它们被调用。


任何帮助都会受到欢迎因为关于这些函数的文档只告诉我可以重载它们。

解决方案

Hello

I am implementing a token cache by using the SessionSecurityTokenCache class. I am trying to find when the three following function are used, and if I need to implement them : 

public override System.Collections.Generic.IEnumerable<SessionSecurityToken> GetAll(string endpointId, System.Xml.UniqueId contextId)
public override void RemoveAll(string endpointId)
public override void RemoveAll(string endpointId, System.Xml.UniqueId contextId)

as of right now, I programmed them to throw NotImplementedException but I am yet to see them called.

Any help would be welcome becase the documentation on these functions only tell that I can overload them.

解决方案


这篇关于WIF SessionSecurityTokenCache RemoveAll用法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-25 01:06