-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
TokenReplayDetectionElement.xml
142 lines (135 loc) · 8.82 KB
/
TokenReplayDetectionElement.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<Type Name="TokenReplayDetectionElement" FullName="System.IdentityModel.Configuration.TokenReplayDetectionElement">
<TypeSignature Language="C#" Value="public sealed class TokenReplayDetectionElement : System.Configuration.ConfigurationElement" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit TokenReplayDetectionElement extends System.Configuration.ConfigurationElement" />
<TypeSignature Language="DocId" Value="T:System.IdentityModel.Configuration.TokenReplayDetectionElement" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class TokenReplayDetectionElement
Inherits ConfigurationElement" />
<TypeSignature Language="F#" Value="type TokenReplayDetectionElement = class
 inherit ConfigurationElement" />
<TypeSignature Language="C++ CLI" Value="public ref class TokenReplayDetectionElement sealed : System::Configuration::ConfigurationElement" />
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Configuration.ConfigurationElement</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a <see langword="<tokenReplayDetection>" /> element in a configuration file. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The `<tokenReplayDetection>` element allows you to enable the detection logic for token replays. When enabled, WIF caches the security tokens that were received for the authentication and uses the cache for replay detection. A token remains in the cache until the expiration period specified by the <xref:System.IdentityModel.Configuration.TokenReplayDetectionElement.ExpirationPeriod%2A> property expires.
The token replay cache that WIF uses is specified by the `<caches>` element, which is represented by the <xref:System.IdentityModel.Configuration.TokenReplayDetectionElement> class. The token replay cache is configured through the <xref:System.IdentityModel.Configuration.IdentityModelCachesElement.TokenReplayCache%2A> property.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TokenReplayDetectionElement ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Configuration.TokenReplayDetectionElement.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 TokenReplayDetectionElement();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.IdentityModel.Configuration.TokenReplayDetectionElement" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Enabled">
<MemberSignature Language="C#" Value="public bool Enabled { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Enabled" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Configuration.TokenReplayDetectionElement.Enabled" />
<MemberSignature Language="VB.NET" Value="Public Property Enabled As Boolean" />
<MemberSignature Language="F#" Value="member this.Enabled : bool with get, set" Usage="System.IdentityModel.Configuration.TokenReplayDetectionElement.Enabled" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool Enabled { bool get(); void set(bool value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("enabled", DefaultValue=false, IsRequired=false)]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("enabled", DefaultValue=false, IsRequired=false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that indicates if replay detection should be performed.</summary>
<value>
<see langword="true" /> to perform replay detection; otherwise, <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property is optional. It represents the `enabled` attribute of the `<tokenReplayDetection>` element.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ExpirationPeriod">
<MemberSignature Language="C#" Value="public TimeSpan ExpirationPeriod { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.TimeSpan ExpirationPeriod" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Configuration.TokenReplayDetectionElement.ExpirationPeriod" />
<MemberSignature Language="VB.NET" Value="Public Property ExpirationPeriod As TimeSpan" />
<MemberSignature Language="F#" Value="member this.ExpirationPeriod : TimeSpan with get, set" Usage="System.IdentityModel.Configuration.TokenReplayDetectionElement.ExpirationPeriod" />
<MemberSignature Language="C++ CLI" Value="public:
 property TimeSpan ExpirationPeriod { TimeSpan get(); void set(TimeSpan value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.TypeConverter(typeof(System.IdentityModel.Configuration.TimeSpanOrInfiniteConverter))]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.TypeConverter(typeof(System.IdentityModel.Configuration.TimeSpanOrInfiniteConverter))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("expirationPeriod", DefaultValue="10675199.02:48:05.4775807", IsRequired=false)]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("expirationPeriod", DefaultValue="10675199.02:48:05.4775807", IsRequired=false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.TimeSpan</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the maximum amount of time before an item is considered expired and removed from the cache.</summary>
<value>The maximum amount of time before an item is considered expired and removed from the cache.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property is optional. It represents the `expirationPeriod` attribute of the `<tokenReplayDetection>` element.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Properties">
<MemberSignature Language="C#" Value="protected override System.Configuration.ConfigurationPropertyCollection Properties { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Configuration.ConfigurationPropertyCollection Properties" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Configuration.TokenReplayDetectionElement.Properties" />
<MemberSignature Language="VB.NET" Value="Protected Overrides ReadOnly Property Properties As ConfigurationPropertyCollection" />
<MemberSignature Language="F#" Value="member this.Properties : System.Configuration.ConfigurationPropertyCollection" Usage="System.IdentityModel.Configuration.TokenReplayDetectionElement.Properties" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual property System::Configuration::ConfigurationPropertyCollection ^ Properties { System::Configuration::ConfigurationPropertyCollection ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Configuration.ConfigurationPropertyCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>