-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Saml2SecurityToken.xml
380 lines (355 loc) · 27.5 KB
/
Saml2SecurityToken.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<Type Name="Saml2SecurityToken" FullName="System.IdentityModel.Tokens.Saml2SecurityToken">
<TypeSignature Language="C#" Value="public class Saml2SecurityToken : System.IdentityModel.Tokens.SecurityToken" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Saml2SecurityToken extends System.IdentityModel.Tokens.SecurityToken" />
<TypeSignature Language="DocId" Value="T:System.IdentityModel.Tokens.Saml2SecurityToken" />
<TypeSignature Language="VB.NET" Value="Public Class Saml2SecurityToken
Inherits SecurityToken" />
<TypeSignature Language="F#" Value="type Saml2SecurityToken = class
 inherit SecurityToken" />
<TypeSignature Language="C++ CLI" Value="public ref class Saml2SecurityToken : System::IdentityModel::Tokens::SecurityToken" />
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.IdentityModel.Tokens.SecurityToken</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a security token that is based upon a SAML assertion.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The claims for <xref:System.IdentityModel.Tokens.Saml2SecurityToken> security tokens are expressed as part of a <xref:System.IdentityModel.Tokens.Saml2Assertion>. A <xref:System.IdentityModel.Tokens.Saml2Assertion> has an extensible set of claims known as SAML statements that are represented by the <xref:System.IdentityModel.Tokens.Saml2Assertion.Statements%2A> property. The SAML authority that issued the SAML assertion is specified in the <xref:System.IdentityModel.Tokens.Saml2Assertion.Issuer%2A> property.
]]></format>
</remarks>
<altmember cref="T:System.IdentityModel.Tokens.Saml2Assertion" />
<altmember cref="T:System.IdentityModel.Tokens.Saml2Statement" />
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Saml2SecurityToken" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Saml2SecurityToken (System.IdentityModel.Tokens.Saml2Assertion assertion);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.IdentityModel.Tokens.Saml2Assertion assertion) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.Saml2SecurityToken.#ctor(System.IdentityModel.Tokens.Saml2Assertion)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (assertion As Saml2Assertion)" />
<MemberSignature Language="F#" Value="new System.IdentityModel.Tokens.Saml2SecurityToken : System.IdentityModel.Tokens.Saml2Assertion -> System.IdentityModel.Tokens.Saml2SecurityToken" Usage="new System.IdentityModel.Tokens.Saml2SecurityToken assertion" />
<MemberSignature Language="C++ CLI" Value="public:
 Saml2SecurityToken(System::IdentityModel::Tokens::Saml2Assertion ^ assertion);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="assertion" Type="System.IdentityModel.Tokens.Saml2Assertion" />
</Parameters>
<Docs>
<param name="assertion">A <see cref="T:System.IdentityModel.Tokens.Saml2Assertion" /> that represents the SAML assertion for this security token.</param>
<summary>Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Saml2SecurityToken" /> class using the specified SAML assertion.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For <xref:System.IdentityModel.Tokens.Saml2SecurityToken> security tokens, the claims are specified using a SAML assertion.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Saml2SecurityToken (System.IdentityModel.Tokens.Saml2Assertion assertion, System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey> keys, System.IdentityModel.Tokens.SecurityToken issuerToken);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.IdentityModel.Tokens.Saml2Assertion assertion, class System.Collections.ObjectModel.ReadOnlyCollection`1<class System.IdentityModel.Tokens.SecurityKey> keys, class System.IdentityModel.Tokens.SecurityToken issuerToken) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.Saml2SecurityToken.#ctor(System.IdentityModel.Tokens.Saml2Assertion,System.Collections.ObjectModel.ReadOnlyCollection{System.IdentityModel.Tokens.SecurityKey},System.IdentityModel.Tokens.SecurityToken)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (assertion As Saml2Assertion, keys As ReadOnlyCollection(Of SecurityKey), issuerToken As SecurityToken)" />
<MemberSignature Language="F#" Value="new System.IdentityModel.Tokens.Saml2SecurityToken : System.IdentityModel.Tokens.Saml2Assertion * System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey> * System.IdentityModel.Tokens.SecurityToken -> System.IdentityModel.Tokens.Saml2SecurityToken" Usage="new System.IdentityModel.Tokens.Saml2SecurityToken (assertion, keys, issuerToken)" />
<MemberSignature Language="C++ CLI" Value="public:
 Saml2SecurityToken(System::IdentityModel::Tokens::Saml2Assertion ^ assertion, System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityKey ^> ^ keys, System::IdentityModel::Tokens::SecurityToken ^ issuerToken);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="assertion" Type="System.IdentityModel.Tokens.Saml2Assertion" />
<Parameter Name="keys" Type="System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey>" />
<Parameter Name="issuerToken" Type="System.IdentityModel.Tokens.SecurityToken" />
</Parameters>
<Docs>
<param name="assertion">A <see cref="T:System.IdentityModel.Tokens.Saml2Assertion" /> that represents the SAML assertion for this security token.</param>
<param name="keys">The set of keys associated with this security token.</param>
<param name="issuerToken">The token of the issuer for this security token.</param>
<summary>Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Saml2SecurityToken" /> class using the specified SAML assertion, cryptographic keys and issuer token.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For <xref:System.IdentityModel.Tokens.Saml2SecurityToken> security tokens, the claims are specified using a SAML assertion.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Assertion">
<MemberSignature Language="C#" Value="public System.IdentityModel.Tokens.Saml2Assertion Assertion { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.IdentityModel.Tokens.Saml2Assertion Assertion" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.Saml2SecurityToken.Assertion" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Assertion As Saml2Assertion" />
<MemberSignature Language="F#" Value="member this.Assertion : System.IdentityModel.Tokens.Saml2Assertion" Usage="System.IdentityModel.Tokens.Saml2SecurityToken.Assertion" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::IdentityModel::Tokens::Saml2Assertion ^ Assertion { System::IdentityModel::Tokens::Saml2Assertion ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IdentityModel.Tokens.Saml2Assertion</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the SAML assertion for this security token.</summary>
<value>A <see cref="T:System.IdentityModel.Tokens.Saml2Assertion" /> that represents the SAML assertion for this security token.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For <xref:System.IdentityModel.Tokens.Saml2SecurityToken> security tokens, the claims are specified using a SAML assertion.
Use a constructor or the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.%23ctor%28System.IdentityModel.Tokens.Saml2Assertion%29?displayProperty=nameWithType> method to set the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.Assertion%2A> property.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CanCreateKeyIdentifierClause<T>">
<MemberSignature Language="C#" Value="public override bool CanCreateKeyIdentifierClause<T> () where T : System.IdentityModel.Tokens.SecurityKeyIdentifierClause;" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool CanCreateKeyIdentifierClause<(class System.IdentityModel.Tokens.SecurityKeyIdentifierClause) T>() cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.Saml2SecurityToken.CanCreateKeyIdentifierClause``1" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function CanCreateKeyIdentifierClause(Of T As SecurityKeyIdentifierClause) () As Boolean" />
<MemberSignature Language="F#" Value="override this.CanCreateKeyIdentifierClause : unit -> bool (requires 'T :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)" Usage="saml2SecurityToken.CanCreateKeyIdentifierClause " />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename T>
 where T : System::IdentityModel::Tokens::SecurityKeyIdentifierClause override bool CanCreateKeyIdentifierClause();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.IdentityModel.Tokens.SecurityKeyIdentifierClause</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters />
<Docs>
<typeparam name="T">A <see cref="T:System.IdentityModel.Tokens.SecurityKeyIdentifierClause" /> that specifies the key identifier to create.</typeparam>
<summary>Gets a value indicating whether this security token is capable of creating the specified key identifier.</summary>
<returns>
<see langword="true" /> when <paramref name="T" /> is of type <see cref="T:System.IdentityModel.Tokens.Saml2AssertionKeyIdentifierClause" />; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.CanCreateKeyIdentifierClause%2A> method to determine if a <xref:System.IdentityModel.Tokens.Saml2SecurityToken> security token can create a specific key identifier. To create the key identifier call the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.CreateKeyIdentifierClause%60%601> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateKeyIdentifierClause<T>">
<MemberSignature Language="C#" Value="public override T CreateKeyIdentifierClause<T> () where T : System.IdentityModel.Tokens.SecurityKeyIdentifierClause;" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance !!T CreateKeyIdentifierClause<(class System.IdentityModel.Tokens.SecurityKeyIdentifierClause) T>() cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.Saml2SecurityToken.CreateKeyIdentifierClause``1" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function CreateKeyIdentifierClause(Of T As SecurityKeyIdentifierClause) () As T" />
<MemberSignature Language="F#" Value="override this.CreateKeyIdentifierClause : unit -> 'T (requires 'T :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)" Usage="saml2SecurityToken.CreateKeyIdentifierClause " />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename T>
 where T : System::IdentityModel::Tokens::SecurityKeyIdentifierClause override T CreateKeyIdentifierClause();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.IdentityModel.Tokens.SecurityKeyIdentifierClause</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters />
<Docs>
<typeparam name="T">A <see cref="T:System.IdentityModel.Tokens.SecurityKeyIdentifierClause" /> that specifies the key identifier to create.</typeparam>
<summary>Creates the specified key identifier clause.</summary>
<returns>A <see cref="T:System.IdentityModel.Tokens.Saml2AssertionKeyIdentifierClause" /> that is a key identifier clause for a SAML security token.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.CanCreateKeyIdentifierClause%2A> method to determine if a <xref:System.IdentityModel.Tokens.Saml2SecurityToken> security token can create a specific key identifier. To create the key identifier call the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.CreateKeyIdentifierClause%60%601> method.
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">
<paramref name="T" /> is not of type <see cref="T:System.IdentityModel.Tokens.Saml2AssertionKeyIdentifierClause" />.</exception>
</Docs>
</Member>
<Member MemberName="Id">
<MemberSignature Language="C#" Value="public override string Id { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Id" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.Saml2SecurityToken.Id" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property Id As String" />
<MemberSignature Language="F#" Value="member this.Id : string" Usage="System.IdentityModel.Tokens.Saml2SecurityToken.Id" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::String ^ Id { System::String ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a unique identifier of the security token.</summary>
<value>The unique identifier of the security token.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When the <xref:System.IdentityModel.Tokens.Saml2SecurityToken> security token is serialized into XML, the value of the Id attribute is set to the value of the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.Id%2A> property.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IssuerToken">
<MemberSignature Language="C#" Value="public System.IdentityModel.Tokens.SecurityToken IssuerToken { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.IdentityModel.Tokens.SecurityToken IssuerToken" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.Saml2SecurityToken.IssuerToken" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IssuerToken As SecurityToken" />
<MemberSignature Language="F#" Value="member this.IssuerToken : System.IdentityModel.Tokens.SecurityToken" Usage="System.IdentityModel.Tokens.Saml2SecurityToken.IssuerToken" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::IdentityModel::Tokens::SecurityToken ^ IssuerToken { System::IdentityModel::Tokens::SecurityToken ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IdentityModel.Tokens.SecurityToken</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the security token of the issuer.</summary>
<value>The security token of the issuer.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MatchesKeyIdentifierClause">
<MemberSignature Language="C#" Value="public override bool MatchesKeyIdentifierClause (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool MatchesKeyIdentifierClause(class System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.Saml2SecurityToken.MatchesKeyIdentifierClause(System.IdentityModel.Tokens.SecurityKeyIdentifierClause)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function MatchesKeyIdentifierClause (keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean" />
<MemberSignature Language="F#" Value="override this.MatchesKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool" Usage="saml2SecurityToken.MatchesKeyIdentifierClause keyIdentifierClause" />
<MemberSignature Language="C++ CLI" Value="public:
 override bool MatchesKeyIdentifierClause(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="keyIdentifierClause" Type="System.IdentityModel.Tokens.SecurityKeyIdentifierClause" />
</Parameters>
<Docs>
<param name="keyIdentifierClause">An <see cref="T:System.IdentityModel.Tokens.SecurityKeyIdentifierClause" /> to compare to this instance.</param>
<summary>Returns a value indicating whether the key identifier for this instance is equal to the specified key identifier.</summary>
<returns>
<see langword="true" /> if <paramref name="keyIdentifierClause" /> is a <see cref="T:System.IdentityModel.Tokens.Saml2AssertionKeyIdentifierClause" /> and it has the same unique identifier as the <see cref="P:System.IdentityModel.Tokens.Saml2SecurityToken.Id" /> property; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SecurityKeys">
<MemberSignature Language="C#" Value="public override System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey> SecurityKeys { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ObjectModel.ReadOnlyCollection`1<class System.IdentityModel.Tokens.SecurityKey> SecurityKeys" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.Saml2SecurityToken.SecurityKeys" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property SecurityKeys As ReadOnlyCollection(Of SecurityKey)" />
<MemberSignature Language="F#" Value="member this.SecurityKeys : System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey>" Usage="System.IdentityModel.Tokens.Saml2SecurityToken.SecurityKeys" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityKey ^> ^ SecurityKeys { System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityKey ^> ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey></ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the cryptographic keys associated with the security token.</summary>
<value>A <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> of type <see cref="T:System.IdentityModel.Tokens.SecurityKey" /> that contains the set of keys associated with the security token.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.SecurityKeys%2A> property to set the cryptographic keys for this security token to protect a SOAP message. The keys can be used, among other things, to digitally sign or encrypt SOAP messages.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ValidFrom">
<MemberSignature Language="C#" Value="public override DateTime ValidFrom { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.DateTime ValidFrom" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.Saml2SecurityToken.ValidFrom" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property ValidFrom As DateTime" />
<MemberSignature Language="F#" Value="member this.ValidFrom : DateTime" Usage="System.IdentityModel.Tokens.Saml2SecurityToken.ValidFrom" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property DateTime ValidFrom { DateTime get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.DateTime</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the first instant in time at which this security token is valid.</summary>
<value>A <see cref="T:System.DateTime" /> that represents the first instant in time at which this security token is valid.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidFrom%2A> and <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidTo%2A> properties to determine the time period in which a <xref:System.IdentityModel.Tokens.Saml2SecurityToken> token is valid. The <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidFrom%2A> and <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidTo%2A> properties represent the first and last instants in time in which the security token is valid, respectively.
By default, a 5-minute clock skew is allowed between the sender and receiver of the security token. So, if the <xref:System.IdentityModel.Tokens.Saml2Conditions.NotBefore%2A> property is set to 1:00 PM, then the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidFrom%2A> property is set to 12:55 PM.
When the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidFrom%2A> property is set to <xref:System.DateTime.MinValue>, then the SAML assertion associated with this <xref:System.IdentityModel.Tokens.Saml2SecurityToken> security token does not have any conditions set.
]]></format>
</remarks>
<altmember cref="P:System.IdentityModel.Tokens.Saml2SecurityToken.ValidTo" />
<altmember cref="T:System.IdentityModel.Tokens.Saml2Assertion" />
<altmember cref="P:System.IdentityModel.Tokens.Saml2Assertion.Conditions" />
</Docs>
</Member>
<Member MemberName="ValidTo">
<MemberSignature Language="C#" Value="public override DateTime ValidTo { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.DateTime ValidTo" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.Saml2SecurityToken.ValidTo" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property ValidTo As DateTime" />
<MemberSignature Language="F#" Value="member this.ValidTo : DateTime" Usage="System.IdentityModel.Tokens.Saml2SecurityToken.ValidTo" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property DateTime ValidTo { DateTime get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.DateTime</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the last instant in time at which this security token is valid.</summary>
<value>A <see cref="T:System.DateTime" /> that represents the last instant in time at which this security token is valid.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidFrom%2A> and <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidTo%2A> properties to determine the time period in which a <xref:System.IdentityModel.Tokens.Saml2SecurityToken> token is valid. The <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidFrom%2A> and <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidTo%2A> properties represent the first and last instants in time in which the security token is valid, respectively.
By default, a 5-minute clock skew is allowed between the sender and receiver of the security token. So, if the <xref:System.IdentityModel.Tokens.Saml2Conditions.NotOnOrAfter%2A> property is set to 1:00 PM, then the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidFrom%2A> property is set to 1:05 PM.
When the <xref:System.IdentityModel.Tokens.Saml2SecurityToken.ValidTo%2A> property is set to <xref:System.DateTime.MaxValue>, then the SAML assertion associated with this <xref:System.IdentityModel.Tokens.Saml2SecurityToken> security token does not have any conditions set.
]]></format>
</remarks>
<altmember cref="P:System.IdentityModel.Tokens.Saml2SecurityToken.ValidFrom" />
<altmember cref="T:System.IdentityModel.Tokens.Saml2Assertion" />
<altmember cref="P:System.IdentityModel.Tokens.Saml2Assertion.Conditions" />
</Docs>
</Member>
</Members>
</Type>