TokenReplayDetectionElement 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示配置文件中的 <tokenReplayDetection>
元素。 此类不能被继承。
public ref class TokenReplayDetectionElement sealed : System::Configuration::ConfigurationElement
public sealed class TokenReplayDetectionElement : System.Configuration.ConfigurationElement
type TokenReplayDetectionElement = class
inherit ConfigurationElement
Public NotInheritable Class TokenReplayDetectionElement
Inherits ConfigurationElement
- 继承
注解
<tokenReplayDetection>
元素允许你为令牌重播启用检测逻辑。 启用后,WIF 将缓存收到的用于身份验证的安全令牌,并使用缓存进行重播检测。 令牌将保留在缓存中,直到属性指定的过期期限 ExpirationPeriod 过期。
WIF 使用的令牌重播缓存由 <caches>
元素(由类表示)指定 TokenReplayDetectionElement 。 令牌重播缓存通过属性进行配置 TokenReplayCache 。
构造函数
TokenReplayDetectionElement() |
初始化 TokenReplayDetectionElement 类的新实例。 |