WIF SessionSecurityTokenCache RemoveAll用法 [英] WIF SessionSecurityTokenCache RemoveAll usage

查看:59
本文介绍了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,但我还没看到它们被调用。


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

解决方案

嗨David_Normand,


感谢您在此发帖。


对于您的问题,请为您提供测试代码。


您可以查看下面的MSDN文章。


SessionSecurityTokenCache.GetAll方法(String,UniqueId)


SessionSecurityTokenCache.Remo veAll方法(字符串)


SessionSecurityTokenCache.RemoveAll方法(String,UniqueId) 


最好的问候,


Wendy


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.

解决方案

Hi David_Normand,

Thank you for posting here.

For your question, please provide you code for us to test.

You could check the MSDN articles below.

SessionSecurityTokenCache.GetAll Method (String, UniqueId)

SessionSecurityTokenCache.RemoveAll Method (String)

SessionSecurityTokenCache.RemoveAll Method (String, UniqueId) 

Best Regards,

Wendy


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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆