/
SamlSubject.xml
657 lines (595 loc) · 48.5 KB
/
SamlSubject.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
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
<Type Name="SamlSubject" FullName="System.IdentityModel.Tokens.SamlSubject">
<TypeSignature Language="C#" Value="public class SamlSubject" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SamlSubject extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.IdentityModel.Tokens.SamlSubject" />
<TypeSignature Language="VB.NET" Value="Public Class SamlSubject" />
<TypeSignature Language="F#" Value="type SamlSubject = class" />
<TypeSignature Language="C++ CLI" Value="public ref class SamlSubject" />
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents the subject of a SAML security token.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.IdentityModel.Tokens.SamlSecurityToken> security tokens specify their claims using SAML assertions, which can specify the subject of the security token. The claims in a SAML assertion are represented by SAML statements. The SAML specification defines a set of SAML statement types and one of them is a <xref:System.IdentityModel.Tokens.SamlSubjectStatement>. A <xref:System.IdentityModel.Tokens.SamlSubjectStatement> asserts the principal that is the subject of the <xref:System.IdentityModel.Tokens.SamlSecurityToken> security token. This principal is specified using a <xref:System.IdentityModel.Tokens.SamlSubject> class.
]]></format>
</remarks>
<altmember cref="T:System.IdentityModel.Tokens.SamlSubjectStatement" />
<altmember cref="T:System.IdentityModel.Tokens.SamlAssertion" />
<altmember cref="T:System.IdentityModel.Tokens.SamlSecurityToken" />
</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.SamlSubject" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SamlSubject ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.SamlSubject.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 SamlSubject();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.SamlSubject" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This constructor initializes the <xref:System.IdentityModel.Tokens.SamlSubject.IsReadOnly%2A> property to `false`.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SamlSubject (string nameFormat, string nameQualifier, string name);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string nameFormat, string nameQualifier, string name) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.SamlSubject.#ctor(System.String,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (nameFormat As String, nameQualifier As String, name As String)" />
<MemberSignature Language="F#" Value="new System.IdentityModel.Tokens.SamlSubject : string * string * string -> System.IdentityModel.Tokens.SamlSubject" Usage="new System.IdentityModel.Tokens.SamlSubject (nameFormat, nameQualifier, name)" />
<MemberSignature Language="C++ CLI" Value="public:
 SamlSubject(System::String ^ nameFormat, System::String ^ nameQualifier, System::String ^ name);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="nameFormat" Type="System.String" />
<Parameter Name="nameQualifier" Type="System.String" />
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="nameFormat">A URI reference that represents the format that the <paramref name="name" /> parameter is in. Sets the <see cref="P:System.IdentityModel.Tokens.SamlSubject.NameFormat" /> property.</param>
<param name="nameQualifier">The domain in which the <paramref name="name" /> parameter resides. Sets the <see cref="P:System.IdentityModel.Tokens.SamlSubject.NameQualifier" /> property.</param>
<param name="name">The subject name. Sets the <see cref="P:System.IdentityModel.Tokens.SamlSubject.Name" /> property.</param>
<summary>Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.SamlSubject" /> class using the specified name, the domain in which the name resides, and the format the name is in.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Although the format used to specify a name is extensible, the following table lists the formats defined by the SAML specification.
|Format|Description|
|------------|-----------------|
|<xref:System.IdentityModel.Tokens.SamlConstants.EmailNamespace%2A>|A URI that states the subject of a SAML assertion is specified as an email address.|
|<xref:System.IdentityModel.Tokens.SamlConstants.UserNameNamespace%2A>|A URI that states the subject of a SAML assertion is specified using a Windows domain account.|
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> is <see langword="null" /> or is <see cref="F:System.String.Empty" />.</exception>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SamlSubject (string nameFormat, string nameQualifier, string name, System.Collections.Generic.IEnumerable<string> confirmations, string confirmationData, System.IdentityModel.Tokens.SecurityKeyIdentifier securityKeyIdentifier);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string nameFormat, string nameQualifier, string name, class System.Collections.Generic.IEnumerable`1<string> confirmations, string confirmationData, class System.IdentityModel.Tokens.SecurityKeyIdentifier securityKeyIdentifier) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.SamlSubject.#ctor(System.String,System.String,System.String,System.Collections.Generic.IEnumerable{System.String},System.String,System.IdentityModel.Tokens.SecurityKeyIdentifier)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (nameFormat As String, nameQualifier As String, name As String, confirmations As IEnumerable(Of String), confirmationData As String, securityKeyIdentifier As SecurityKeyIdentifier)" />
<MemberSignature Language="F#" Value="new System.IdentityModel.Tokens.SamlSubject : string * string * string * seq<string> * string * System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.IdentityModel.Tokens.SamlSubject" Usage="new System.IdentityModel.Tokens.SamlSubject (nameFormat, nameQualifier, name, confirmations, confirmationData, securityKeyIdentifier)" />
<MemberSignature Language="C++ CLI" Value="public:
 SamlSubject(System::String ^ nameFormat, System::String ^ nameQualifier, System::String ^ name, System::Collections::Generic::IEnumerable<System::String ^> ^ confirmations, System::String ^ confirmationData, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ securityKeyIdentifier);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="nameFormat" Type="System.String" />
<Parameter Name="nameQualifier" Type="System.String" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="confirmations" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="confirmationData" Type="System.String" />
<Parameter Name="securityKeyIdentifier" Type="System.IdentityModel.Tokens.SecurityKeyIdentifier" />
</Parameters>
<Docs>
<param name="nameFormat">A URI reference that represents the format that the <paramref name="name" /> parameter is in. Sets the <see cref="P:System.IdentityModel.Tokens.SamlSubject.NameFormat" /> property.</param>
<param name="nameQualifier">The domain in which the <paramref name="name" /> parameter resides. Sets the <see cref="P:System.IdentityModel.Tokens.SamlSubject.NameQualifier" /> property.</param>
<param name="name">The subject name. Sets the <see cref="P:System.IdentityModel.Tokens.SamlSubject.Name" /> property.</param>
<param name="confirmations">An <see cref="T:System.Collections.Generic.IEnumerable`1" /> of type <see cref="T:System.String" /> that contains URI references that identify the protocols to authenticate the subject. Sets the <see cref="P:System.IdentityModel.Tokens.SamlSubject.ConfirmationMethods" /> property.</param>
<param name="confirmationData">Additional authentication information that can be used by authentication protocols. Sets the <see cref="P:System.IdentityModel.Tokens.SamlSubject.SubjectConfirmationData" /> property.</param>
<param name="securityKeyIdentifier">A <see cref="T:System.IdentityModel.Tokens.SecurityKeyIdentifier" /> that provides access to a cryptographic key held by the subject of the <see cref="T:System.IdentityModel.Tokens.SamlSecurityToken" /> security token. Sets the <see cref="P:System.IdentityModel.Tokens.SamlSubject.KeyIdentifier" /> property.</param>
<summary>Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.SamlSubject" /> class using the specified name, the domain in which the name resides, the format the name is in, authentication protocols, additional authentication information, and a key identifier.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The format used to specify a name for the `name` parameter is extensible; the following table lists the formats defined by the SAML specification.
|Format|Description|
|------------|-----------------|
|<xref:System.IdentityModel.Tokens.SamlConstants.EmailNamespace%2A>|A URI that states the subject of a SAML assertion is specified as an email address.|
|<xref:System.IdentityModel.Tokens.SamlConstants.UserNameNamespace%2A>|A URI that states the subject of a SAML assertion is specified using a Windows domain account.|
The set of authentication protocols to specify for the `confirmations` parameter is extensible; however the following table lists the protocols defined by the SAML specification.
|Protocol|Description|
|--------------|-----------------|
|<xref:System.IdentityModel.Tokens.SamlConstants.HolderOfKey%2A>|A URI that specifies that the recipient of a <xref:System.IdentityModel.Tokens.SamlSecurityToken> security token should use the <xref:System.IdentityModel.Tokens.SamlSubject.KeyIdentifier%2A> property to confirm that the SOAP message was sent by the SAML assertion's subject.|
|<xref:System.IdentityModel.Tokens.SamlConstants.SenderVouches%2A>|A URI that specifies that additional information is not available for a recipient of a SAML security token to confirm that the SOAP message was sent by the SAML assertion's subject.|
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> is <see langword="null" /> or is <see cref="F:System.String.Empty" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="confirmations" /> contains a <see langword="null" /> or <see cref="F:System.String.Empty" /> member.
-or-
<paramref name="confirmations" /> does not contain any members and <paramref name="name" /> is <see langword="null" /> or is <see cref="F:System.String.Empty" />.
-or-
<paramref name="confirmations" /> does not contain any members and <paramref name="confirmationData" /> or <paramref name="securityKeyIdentifier" /> are not <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="ConfirmationMethods">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IList<string> ConfirmationMethods { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IList`1<string> ConfirmationMethods" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.SamlSubject.ConfirmationMethods" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ConfirmationMethods As IList(Of String)" />
<MemberSignature Language="F#" Value="member this.ConfirmationMethods : System.Collections.Generic.IList<string>" Usage="System.IdentityModel.Tokens.SamlSubject.ConfirmationMethods" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Collections::Generic::IList<System::String ^> ^ ConfirmationMethods { System::Collections::Generic::IList<System::String ^> ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IList<System.String></ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a set of URI references that identify the protocols that should be used to authenticate the subject.</summary>
<value>An <see cref="T:System.Collections.Generic.IList`1" /> of type <see cref="T:System.String" /> that contains a set of URI references that identify the protocols that should be used to authenticate the subject.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Although the set of authentication protocols s extensible, the following table lists the protocols defined by the SAML specification.
|Protocol|Description|
|--------------|-----------------|
|<xref:System.IdentityModel.Tokens.SamlConstants.HolderOfKey%2A>|A URI that specifies that the recipient of a <xref:System.IdentityModel.Tokens.SamlSecurityToken> security token should use the <xref:System.IdentityModel.Tokens.SamlSubject.KeyIdentifier%2A> property to confirm that the SOAP message was sent by the SAML assertion's subject.|
|<xref:System.IdentityModel.Tokens.SamlConstants.SenderVouches%2A>|A URI that specifies that additional information is not available for a recipient of a SAML security token to confirm that the SOAP message was sent by the SAML assertion's subject.|
]]></format>
</remarks>
<altmember cref="P:System.IdentityModel.Tokens.SamlConstants.HolderOfKey" />
<altmember cref="P:System.IdentityModel.Tokens.SamlConstants.SenderVouches" />
</Docs>
</Member>
<Member MemberName="Crypto">
<MemberSignature Language="C#" Value="public System.IdentityModel.Tokens.SecurityKey Crypto { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.IdentityModel.Tokens.SecurityKey Crypto" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.SamlSubject.Crypto" />
<MemberSignature Language="VB.NET" Value="Public Property Crypto As SecurityKey" />
<MemberSignature Language="F#" Value="member this.Crypto : System.IdentityModel.Tokens.SecurityKey with get, set" Usage="System.IdentityModel.Tokens.SamlSubject.Crypto" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::IdentityModel::Tokens::SecurityKey ^ Crypto { System::IdentityModel::Tokens::SecurityKey ^ get(); void set(System::IdentityModel::Tokens::SecurityKey ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IdentityModel.Tokens.SecurityKey</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the cryptographic key that is used to verify the digital signature that is identified by this SAML subject statement.</summary>
<value>A <see cref="T:System.IdentityModel.Tokens.SecurityKey" /> that contains the cryptographic key that is used to verify the digital signature for a SAML security token.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When the <xref:System.IdentityModel.Tokens.SamlSubject> method is called, the cryptographic key specified in the `<ds:KeyInfo>` element of the digital signature for the SAML security token is used to set the <xref:System.IdentityModel.Tokens.SamlSubject.Crypto%2A> property. This cryptographic key identifies the subject.
The key identifier for the `<ds:KeyInfo>` element is represented by the <xref:System.IdentityModel.Tokens.SamlSubject.KeyIdentifier%2A> property.
]]></format>
</remarks>
<altmember cref="P:System.IdentityModel.Tokens.SamlSubject.KeyIdentifier" />
<altmember cref="T:System.IdentityModel.Tokens.SecurityKey" />
</Docs>
</Member>
<Member MemberName="ExtractClaims">
<MemberSignature Language="C#" Value="public virtual System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Claims.Claim> ExtractClaims ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.ObjectModel.ReadOnlyCollection`1<class System.IdentityModel.Claims.Claim> ExtractClaims() cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.SamlSubject.ExtractClaims" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function ExtractClaims () As ReadOnlyCollection(Of Claim)" />
<MemberSignature Language="F#" Value="abstract member ExtractClaims : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Claims.Claim>
override this.ExtractClaims : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Claims.Claim>" Usage="samlSubject.ExtractClaims " />
<MemberSignature Language="C++ CLI" Value="public:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Claims::Claim ^> ^ ExtractClaims();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Claims.Claim></ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets a set of claims using the properties of this class.</summary>
<returns>A <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> of type <see cref="T:System.IdentityModel.Claims.Claim" /> that contains the set of claims represented by this <see cref="T:System.IdentityModel.Tokens.SamlSubject" /> instance.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.IdentityModel.Tokens.SamlSubject.ExtractClaims%2A> method to get a set of claims associated with the identity of a <xref:System.IdentityModel.Tokens.SamlSecurityToken> security token.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ExtractSubjectKeyClaimSet">
<MemberSignature Language="C#" Value="public virtual System.IdentityModel.Claims.ClaimSet ExtractSubjectKeyClaimSet (System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator samlAuthenticator);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.IdentityModel.Claims.ClaimSet ExtractSubjectKeyClaimSet(class System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator samlAuthenticator) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.SamlSubject.ExtractSubjectKeyClaimSet(System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function ExtractSubjectKeyClaimSet (samlAuthenticator As SamlSecurityTokenAuthenticator) As ClaimSet" />
<MemberSignature Language="F#" Value="abstract member ExtractSubjectKeyClaimSet : System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator -> System.IdentityModel.Claims.ClaimSet
override this.ExtractSubjectKeyClaimSet : System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator -> System.IdentityModel.Claims.ClaimSet" Usage="samlSubject.ExtractSubjectKeyClaimSet samlAuthenticator" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual System::IdentityModel::Claims::ClaimSet ^ ExtractSubjectKeyClaimSet(System::IdentityModel::Selectors::SamlSecurityTokenAuthenticator ^ samlAuthenticator);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IdentityModel.Claims.ClaimSet</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="samlAuthenticator" Type="System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator" />
</Parameters>
<Docs>
<param name="samlAuthenticator">A <see cref="T:System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator" /> that authenticates the portion of a <see cref="T:System.IdentityModel.Tokens.SamlSecurityToken" /> security token that corresponds to the <see langword="<saml:Subject>" /> element.</param>
<summary>Gets a set of claims using the properties of this class and the specified SAML security token authenticator.</summary>
<returns>A <see cref="T:System.IdentityModel.Claims.ClaimSet" /> that contains the set of claims represented by this <see cref="T:System.IdentityModel.Tokens.SamlSubject" /> instance.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.IdentityModel.Tokens.SamlSubject.ExtractSubjectKeyClaimSet%28System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator%29> method to get a set of claims associated with the identity of a <xref:System.IdentityModel.Tokens.SamlSecurityToken> security token.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="samlAuthenticator" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="IsReadOnly">
<MemberSignature Language="C#" Value="public bool IsReadOnly { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsReadOnly" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.SamlSubject.IsReadOnly" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IsReadOnly As Boolean" />
<MemberSignature Language="F#" Value="member this.IsReadOnly : bool" Usage="System.IdentityModel.Tokens.SamlSubject.IsReadOnly" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool IsReadOnly { bool get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the properties of this instance are read-only.</summary>
<value>
<see langword="true" /> if the properties of this instance are read-only; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To make this instance of the <xref:System.IdentityModel.Tokens.SamlSubject> class read-only, call the <xref:System.IdentityModel.Tokens.SamlSubject.MakeReadOnly%2A> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="KeyIdentifier">
<MemberSignature Language="C#" Value="public System.IdentityModel.Tokens.SecurityKeyIdentifier KeyIdentifier { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.IdentityModel.Tokens.SecurityKeyIdentifier KeyIdentifier" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.SamlSubject.KeyIdentifier" />
<MemberSignature Language="VB.NET" Value="Public Property KeyIdentifier As SecurityKeyIdentifier" />
<MemberSignature Language="F#" Value="member this.KeyIdentifier : System.IdentityModel.Tokens.SecurityKeyIdentifier with get, set" Usage="System.IdentityModel.Tokens.SamlSubject.KeyIdentifier" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::IdentityModel::Tokens::SecurityKeyIdentifier ^ KeyIdentifier { System::IdentityModel::Tokens::SecurityKeyIdentifier ^ get(); void set(System::IdentityModel::Tokens::SecurityKeyIdentifier ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IdentityModel.Tokens.SecurityKeyIdentifier</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a key identifier that provides access to a cryptographic key held by the subject of the SAML security token.</summary>
<value>A <see cref="T:System.IdentityModel.Tokens.SecurityKeyIdentifier" /> that provides access to a cryptographic key held by the subject of the <see cref="T:System.IdentityModel.Tokens.SamlSecurityToken" /> security token.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The key included in the key identifier that is represented by the <xref:System.IdentityModel.Tokens.SamlSubject.KeyIdentifier%2A> property is decrypted and set to the <xref:System.IdentityModel.Tokens.SamlSubject.Crypto%2A> property when the <xref:System.IdentityModel.Tokens.SamlSubject> method is called.
The <xref:System.IdentityModel.Tokens.SamlSubject.KeyIdentifier%2A> property corresponds to the `<ds:KeyInfo>` child element of a `<saml:SubjectConfirmation>` element of a SAML assertion.
]]></format>
</remarks>
<altmember cref="P:System.IdentityModel.Tokens.SamlSubject.Crypto" />
<altmember cref="T:System.IdentityModel.Tokens.SecurityKeyIdentifier" />
</Docs>
</Member>
<Member MemberName="MakeReadOnly">
<MemberSignature Language="C#" Value="public void MakeReadOnly ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void MakeReadOnly() cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.SamlSubject.MakeReadOnly" />
<MemberSignature Language="VB.NET" Value="Public Sub MakeReadOnly ()" />
<MemberSignature Language="F#" Value="member this.MakeReadOnly : unit -> unit" Usage="samlSubject.MakeReadOnly " />
<MemberSignature Language="C++ CLI" Value="public:
 void MakeReadOnly();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Causes this instance to be read-only.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When the <xref:System.IdentityModel.Tokens.SamlSubject.MakeReadOnly%2A> method is called, the <xref:System.IdentityModel.Tokens.SamlSubject.IsReadOnly%2A> property is set to `true` and properties of this instance can no longer be set.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Name" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.SamlSubject.Name" />
<MemberSignature Language="VB.NET" Value="Public Property Name As String" />
<MemberSignature Language="F#" Value="member this.Name : string with get, set" Usage="System.IdentityModel.Tokens.SamlSubject.Name" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the subject name of a SAML security token.</summary>
<value>The subject name of a <see cref="T:System.IdentityModel.Tokens.SamlSecurityToken" /> security token.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.IdentityModel.Tokens.SamlSubject.NameFormat%2A> property specifies the format that the <xref:System.IdentityModel.Tokens.SamlSubject.Name%2A> property is in and the <xref:System.IdentityModel.Tokens.SamlSubject.NameQualifier%2A> property specifies the domain in which the <xref:System.IdentityModel.Tokens.SamlSubject.Name%2A> property resides in.
The <xref:System.IdentityModel.Tokens.SamlSubject.NameQualifier%2A> property corresponds to the `Format` attribute of the `<saml:NameIdentifier>` element that is defined in the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) specification.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="NameClaimType">
<MemberSignature Language="C#" Value="public static string NameClaimType { get; }" />
<MemberSignature Language="ILAsm" Value=".property string NameClaimType" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.SamlSubject.NameClaimType" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property NameClaimType As String" />
<MemberSignature Language="F#" Value="static member NameClaimType : string" Usage="System.IdentityModel.Tokens.SamlSubject.NameClaimType" />
<MemberSignature Language="C++ CLI" Value="public:
 static property System::String ^ NameClaimType { System::String ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the claim type that is used to represent the subject name of a SAML security token.</summary>
<value>The claim type that is used to represent the subject name of a SAML security token (<see cref="P:System.IdentityModel.Claims.ClaimTypes.NameIdentifier" />).</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.IdentityModel.Tokens.SamlSubject.NameClaimType%2A> returns a claim type for <xref:System.IdentityModel.Tokens.SamlSubject.Name%2A> property.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="NameFormat">
<MemberSignature Language="C#" Value="public string NameFormat { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string NameFormat" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.SamlSubject.NameFormat" />
<MemberSignature Language="VB.NET" Value="Public Property NameFormat As String" />
<MemberSignature Language="F#" Value="member this.NameFormat : string with get, set" Usage="System.IdentityModel.Tokens.SamlSubject.NameFormat" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ NameFormat { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a URI reference that represents the format that the subject name of a SAML security token is in.</summary>
<value>A URI reference that represents the format that the subject name of a SAML security token is in.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.IdentityModel.Tokens.SamlSubject.NameFormat%2A> property specifies the format that the <xref:System.IdentityModel.Tokens.SamlSubject.Name%2A> property is in.
Although the format used to specify a name is extensible, the following table lists the formats defined by the SAML specification.
|Format|Description|
|------------|-----------------|
|<xref:System.IdentityModel.Tokens.SamlConstants.EmailNamespace%2A>|A URI that states the subject of a SAML assertion is specified as an email address.|
|<xref:System.IdentityModel.Tokens.SamlConstants.UserNameNamespace%2A>|A URI that states the subject of a SAML assertion is specified using a Windows domain account.|
The <xref:System.IdentityModel.Tokens.SamlSubject.NameFormat%2A> property corresponds to the `Format` attribute of the `<saml:NameIdentifier>` element that is defined in the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) specification.
]]></format>
</remarks>
<altmember cref="P:System.IdentityModel.Tokens.SamlSubject.Name" />
<altmember cref="P:System.IdentityModel.Tokens.SamlConstants.EmailNamespace" />
<altmember cref="P:System.IdentityModel.Tokens.SamlConstants.UserNameNamespace" />
</Docs>
</Member>
<Member MemberName="NameQualifier">
<MemberSignature Language="C#" Value="public string NameQualifier { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string NameQualifier" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.SamlSubject.NameQualifier" />
<MemberSignature Language="VB.NET" Value="Public Property NameQualifier As String" />
<MemberSignature Language="F#" Value="member this.NameQualifier : string with get, set" Usage="System.IdentityModel.Tokens.SamlSubject.NameQualifier" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ NameQualifier { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the domain in which the subject name of a SAML security token resides in.</summary>
<value>The domain in which the subject name of a SAML security token resides in.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.IdentityModel.Tokens.SamlSubject.NameQualifier%2A> property specifies the domain in which the <xref:System.IdentityModel.Tokens.SamlSubject.Name%2A> property resides in.
The <xref:System.IdentityModel.Tokens.SamlSubject.NameQualifier%2A> property corresponds to the `NameQualifier` attribute of the `<saml:NameIdentifier>` element that is defined in the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) specification.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ReadXml">
<MemberSignature Language="C#" Value="public virtual void ReadXml (System.Xml.XmlDictionaryReader reader, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer, System.IdentityModel.Selectors.SecurityTokenResolver outOfBandTokenResolver);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ReadXml(class System.Xml.XmlDictionaryReader reader, class System.IdentityModel.Tokens.SamlSerializer samlSerializer, class System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer, class System.IdentityModel.Selectors.SecurityTokenResolver outOfBandTokenResolver) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.SamlSubject.ReadXml(System.Xml.XmlDictionaryReader,System.IdentityModel.Tokens.SamlSerializer,System.IdentityModel.Selectors.SecurityTokenSerializer,System.IdentityModel.Selectors.SecurityTokenResolver)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub ReadXml (reader As XmlDictionaryReader, samlSerializer As SamlSerializer, keyInfoSerializer As SecurityTokenSerializer, outOfBandTokenResolver As SecurityTokenResolver)" />
<MemberSignature Language="F#" Value="abstract member ReadXml : System.Xml.XmlDictionaryReader * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver -> unit
override this.ReadXml : System.Xml.XmlDictionaryReader * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver -> unit" Usage="samlSubject.ReadXml (reader, samlSerializer, keyInfoSerializer, outOfBandTokenResolver)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void ReadXml(System::Xml::XmlDictionaryReader ^ reader, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer, System::IdentityModel::Selectors::SecurityTokenResolver ^ outOfBandTokenResolver);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="reader" Type="System.Xml.XmlDictionaryReader" />
<Parameter Name="samlSerializer" Type="System.IdentityModel.Tokens.SamlSerializer" />
<Parameter Name="keyInfoSerializer" Type="System.IdentityModel.Selectors.SecurityTokenSerializer" />
<Parameter Name="outOfBandTokenResolver" Type="System.IdentityModel.Selectors.SecurityTokenResolver" />
</Parameters>
<Docs>
<param name="reader">A <see cref="T:System.Xml.XmlDictionaryReader" /> to read the <see langword="<saml:Subject>" /> element.</param>
<param name="samlSerializer">A <see cref="T:System.IdentityModel.Tokens.SamlSerializer" /> that is capable of reading XML elements in a SAML assertion.</param>
<param name="keyInfoSerializer">A <see cref="T:System.IdentityModel.Selectors.SecurityTokenSerializer" /> that reads the <see langword="KeyInfo" /> clause of the digital signature.</param>
<param name="outOfBandTokenResolver">A <see cref="T:System.IdentityModel.Selectors.SecurityTokenResolver" /> that determines the security token that created the digital signature.</param>
<summary>Reads the <see langword="<saml:Subject>" /> element from the specified XML reader.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.IdentityModel.Tokens.SamlSubject.ReadXml%28System.Xml.XmlDictionaryReader%2CSystem.IdentityModel.Tokens.SamlSerializer%2CSystem.IdentityModel.Selectors.SecurityTokenSerializer%2CSystem.IdentityModel.Selectors.SecurityTokenResolver%29> method sets the <xref:System.IdentityModel.Tokens.SamlSubject.Name%2A>, <xref:System.IdentityModel.Tokens.SamlSubject.NameFormat%2A>, <xref:System.IdentityModel.Tokens.SamlSubject.NameQualifier%2A>, <xref:System.IdentityModel.Tokens.SamlSubject.ConfirmationMethods%2A>, <xref:System.IdentityModel.Tokens.SamlSubject.Crypto%2A>, <xref:System.IdentityModel.Tokens.SamlSubject.KeyIdentifier%2A>, and <xref:System.IdentityModel.Tokens.SamlSubject.SubjectConfirmationData%2A> properties.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="reader" /> is <see langword="null" />.
-or-
<paramref name="samlSerializer" /> is <see langword="null" />.</exception>
<exception cref="T:System.IdentityModel.Tokens.SecurityTokenException">
<paramref name="reader" /> refers to an XML element in which one of the following is true:
Contains an <see langword="<saml:NameIdentifier>" /> element without a value.
-or-
Contains an <see langword="<saml:ConfirmationMethod>" /> element without a value.
-or-
Contains a <see langword="<saml:SubjectConfirmation>" /> element that does not have at least one <see langword="<saml:ConfirmationMethod>" /> child element.
-or-
Does not contain at least one <see langword="<saml:ConfirmationMethod>" /> or <see langword="<saml:NameIdentifier>" /> element.</exception>
<exception cref="T:System.Security.SecurityException">
<paramref name="reader" /> refers to an XML element that contains a <see langword="<ds:KeyInfo>" /> element that does not have a key that can be retrieved.</exception>
</Docs>
</Member>
<Member MemberName="SubjectConfirmationData">
<MemberSignature Language="C#" Value="public string SubjectConfirmationData { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string SubjectConfirmationData" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Tokens.SamlSubject.SubjectConfirmationData" />
<MemberSignature Language="VB.NET" Value="Public Property SubjectConfirmationData As String" />
<MemberSignature Language="F#" Value="member this.SubjectConfirmationData : string with get, set" Usage="System.IdentityModel.Tokens.SamlSubject.SubjectConfirmationData" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ SubjectConfirmationData { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets additional authentication information that can be used by authentication protocols.</summary>
<value>Additional authentication information that can be used by authentication protocols.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.IdentityModel.Tokens.SamlSubject.SubjectConfirmationData%2A> property refers to an extensible piece of data that can be customized for a specific authentication protocol.
The <xref:System.IdentityModel.Tokens.SamlSubject.SubjectConfirmationData%2A> property corresponds to the `<saml:SubjectConfirmationData>` element that is defined in the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) specification.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="WriteXml">
<MemberSignature Language="C#" Value="public virtual void WriteXml (System.Xml.XmlDictionaryWriter writer, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void WriteXml(class System.Xml.XmlDictionaryWriter writer, class System.IdentityModel.Tokens.SamlSerializer samlSerializer, class System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Tokens.SamlSubject.WriteXml(System.Xml.XmlDictionaryWriter,System.IdentityModel.Tokens.SamlSerializer,System.IdentityModel.Selectors.SecurityTokenSerializer)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub WriteXml (writer As XmlDictionaryWriter, samlSerializer As SamlSerializer, keyInfoSerializer As SecurityTokenSerializer)" />
<MemberSignature Language="F#" Value="abstract member WriteXml : System.Xml.XmlDictionaryWriter * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer -> unit
override this.WriteXml : System.Xml.XmlDictionaryWriter * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer -> unit" Usage="samlSubject.WriteXml (writer, samlSerializer, keyInfoSerializer)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void WriteXml(System::Xml::XmlDictionaryWriter ^ writer, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
<Parameter Name="samlSerializer" Type="System.IdentityModel.Tokens.SamlSerializer" />
<Parameter Name="keyInfoSerializer" Type="System.IdentityModel.Selectors.SecurityTokenSerializer" />
</Parameters>
<Docs>
<param name="writer">A <see cref="T:System.Xml.XmlDictionaryWriter" /> to write the <see langword="<saml:Subject>" /> element.</param>
<param name="samlSerializer">A <see cref="T:System.IdentityModel.Tokens.SamlSerializer" /> that is capable of writing XML elements in a SAML assertion.</param>
<param name="keyInfoSerializer">A <see cref="T:System.IdentityModel.Selectors.SecurityTokenSerializer" /> that is capable of writing <see langword="KeyInfo" /> clauses.</param>
<summary>Writes the <see langword="<saml:Subject>" /> element into the specified XML serializer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.IdentityModel.Tokens.SamlSubject.WriteXml%28System.Xml.XmlDictionaryWriter%2CSystem.IdentityModel.Tokens.SamlSerializer%2CSystem.IdentityModel.Selectors.SecurityTokenSerializer%29> method to write the properties of the current <xref:System.IdentityModel.Tokens.SamlSubject> instance into a `<saml:Subject>` element.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>