-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSystem.IdentityModel.Tokens.Jwt.xml
1460 lines (1460 loc) · 112 KB
/
System.IdentityModel.Tokens.Jwt.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
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>System.IdentityModel.Tokens.Jwt</name>
</assembly>
<members>
<member name="T:System.IdentityModel.Tokens.Jwt.ClaimTypeMapping">
<summary>
Defines the inbound and outbound mapping for claim claim types from jwt to .net claim
</summary>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.ClaimTypeMapping.#cctor">
<summary>
Initializes static members of the <see cref="T:System.IdentityModel.Tokens.Jwt.ClaimTypeMapping"/> class.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.ClaimTypeMapping.InboundClaimTypeMap">
<summary>
Gets the InboundClaimTypeMap used by JwtSecurityTokenHandler when producing claims from jwt.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.ClaimTypeMapping.OutboundClaimTypeMap">
<summary>
Gets the OutboundClaimTypeMap is used by JwtSecurityTokenHandler to shorten claim types when creating a jwt.
</summary>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.JsonClaimValueTypes">
<summary>
Constants for Json Web tokens.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JsonClaimValueTypes.Json">
<summary>
A URI that represents the JSON XML data type.
</summary>
<remarks>When mapping json to .Net Claim(s), if the value was not a string (or an enumeration of strings), the ClaimValue will serialized using the current JSON serializer, a property will be added with the .Net type and the ClaimTypeValue will be set to 'JsonClaimValueType'.</remarks>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JsonClaimValueTypes.JsonArray">
<summary>
A URI that represents the JSON array XML data type.
</summary>
<remarks>When mapping json to .Net Claim(s), if the value was not a string (or an enumeration of strings), the ClaimValue will serialized using the current JSON serializer, a property will be added with the .Net type and the ClaimTypeValue will be set to 'JsonClaimValueType'.</remarks>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JsonClaimValueTypes.JsonNull">
<summary>
A URI that represents the JSON null data type
</summary>
<remarks>When mapping json to .Net Claim(s), we use empty string to represent the claim value and set the ClaimValueType to JsonNull</remarks>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.Serializer">
<summary>
Delegate that can be set on <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to control serialization of objects into JSON.
</summary>
<param name="obj">Object to serialize</param>
<returns>The serialized object.</returns>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.Deserializer">
<summary>
Delegate that can be set on <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to control deserialization JSON into objects.
</summary>
<param name="obj">JSON to deserialize.</param>
<param name="targetType">Type expected.</param>
<returns>The deserialized object.</returns>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.JsonExtensions">
<summary>
Dictionary extensions for serializations
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer">
<summary>
Gets or sets a <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to use when serializing objects to JSON.
</summary>
<exception cref="T:System.ArgumentNullException">If 'value' is null.</exception>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer">
<summary>
Gets or sets a <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to use when deserializing objects from JSON.
</summary>
<exception cref="T:System.ArgumentNullException">If 'value' is null.</exception>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JsonExtensions.SerializeToJson(System.Object)">
<summary>
Serializes an object to JSON.
</summary>
<param name="value">The object to serialize</param>
<returns>The object as JSON.</returns>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JsonExtensions.DeserializeFromJson``1(System.String)">
<summary>
Deserialzes JSON into an instance of type T.
</summary>
<typeparam name="T">The object type.</typeparam>
<param name="jsonString">The JSON to deserialze.</param>
<returns>A new instance of type T.</returns>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JsonExtensions.DeserializeJwtHeader(System.String)">
<summary>
Deserialzes JSON into an instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
</summary>
<param name="jsonString">The JSON to deserialze.</param>
<returns>A new instance <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.</returns>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JsonExtensions.DeserializeJwtPayload(System.String)">
<summary>
Deserialzes JSON into an instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>.
</summary>
<param name="jsonString">The JSON to deserialze.</param>
<returns>A new instance <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>.</returns>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.JwtConstants">
<summary>
Constants for Json Web tokens.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtConstants.HeaderType">
<summary>
Short header type.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtConstants.HeaderTypeAlt">
<summary>
Long header type.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtConstants.TokenType">
<summary>
Short token type.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtConstants.TokenTypeAlt">
<summary>
Long token type.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtConstants.JsonCompactSerializationRegex">
<summary>
JWS - Token format: 'header.payload.signature'. Signature is optional, but '.' is required.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtConstants.JweCompactSerializationRegex">
<summary>
JWE - Token format: 'protectedheader.encryptedkey.iv.cyphertext.authenticationtag'.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtConstants.JweSegmentCount">
<summary>
The number of parts in a JWE token.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtConstants.JwsSegmentCount">
<summary>
The number of parts in a JWS token.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtConstants.MaxJwtSegmentCount">
<summary>
The maximum number of parts in a JWT.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtConstants.DirectKeyUseAlg">
<summary>
JWE header alg indicating a shared symmetric key is directly used as CEK.
</summary>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.JwtHeader">
<summary>
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> which contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT.
The member names within the JWT Header are referred to as Header Parameter Names.
<para>These names MUST be unique and the values must be <see cref="T:System.String"/>(s). The corresponding values are referred to as Header Parameter Values.</para>
</summary>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor">
<summary>
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> class. Default string comparer <see cref="P:System.StringComparer.Ordinal"/>.
</summary>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(Microsoft.IdentityModel.Tokens.SigningCredentials)">
<summary>
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
With the Header Parameters:
<para>{ { typ, JWT }, { alg, SigningCredentials.Algorithm } }</para>
</summary>
<param name="signingCredentials"><see cref="P:System.IdentityModel.Tokens.Jwt.JwtHeader.SigningCredentials"/> used creating a JWS Compact JSON.</param>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(Microsoft.IdentityModel.Tokens.EncryptingCredentials)">
<summary>
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
With the Header Parameters:
<para>{ { typ, JWT }, { alg, EncryptingCredentials.Alg }, { enc, EncryptingCredentials.Enc } }</para>
</summary>
<param name="encryptingCredentials"><see cref="P:System.IdentityModel.Tokens.Jwt.JwtHeader.EncryptingCredentials"/> used creating a JWE Compact JSON.</param>
<exception cref="T:System.ArgumentNullException">If 'encryptingCredentials' is null.</exception>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(Microsoft.IdentityModel.Tokens.SigningCredentials,System.Collections.Generic.IDictionary{System.String,System.String})">
<summary>
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
With the Header Parameters:
<para>{ { typ, JWT }, { alg, SigningCredentials.Algorithm } }</para>
</summary>
<param name="signingCredentials"><see cref="P:System.IdentityModel.Tokens.Jwt.JwtHeader.SigningCredentials"/> used when creating a JWS Compact JSON.</param>
<param name="outboundAlgorithmMap">provides a mapping for the 'alg' value so that values are within the JWT namespace.</param>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(Microsoft.IdentityModel.Tokens.EncryptingCredentials,System.Collections.Generic.IDictionary{System.String,System.String})">
<summary>
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
With the Header Parameters:
<para>{ { typ, JWT }, { alg, SigningCredentials.Algorithm } }</para>
</summary>
<param name="encryptingCredentials"><see cref="P:System.IdentityModel.Tokens.Jwt.JwtHeader.EncryptingCredentials"/> used when creating a JWS Compact JSON.</param>
<param name="outboundAlgorithmMap">provides a mapping for the 'alg' value so that values are within the JWT namespace.</param>
<exception cref="T:System.ArgumentNullException">If 'signingCredentials' is null.</exception>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.Alg">
<summary>
Gets the signature algorithm that was used to create the signature.
</summary>
<remarks>If the signature algorithm is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.Cty">
<summary>
Gets the content mime type (Cty) of the token.
</summary>
<remarks>If the content mime type is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.Enc">
<summary>
Gets the encryption algorithm (Enc) of the token.
</summary>
<remarks>If the content mime type is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.EncryptingCredentials">
<summary>
Gets the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtHeader.EncryptingCredentials"/> passed in the constructor.
</summary>
<remarks>This value may be null.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.IV">
<summary>
Gets the iv of symmetric key wrap.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.Kid">
<summary>
Gets the key identifier for the security key used to sign the token
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.SigningCredentials">
<summary>
Gets the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtHeader.SigningCredentials"/> passed in the constructor.
</summary>
<remarks>This value may be null.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.Typ">
<summary>
Gets the mime type (Typ) of the token.
</summary>
<remarks>If the mime type is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.X5t">
<summary>
Gets the thumbprint of the certificate used to sign the token
</summary>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.Base64UrlDeserialize(System.String)">
<summary>
Deserializes Base64UrlEncoded JSON into a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> instance.
</summary>
<param name="base64UrlEncodedJsonString">Base64url encoded JSON to deserialize.</param>
<returns>An instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.</returns>
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to customize JSON serialization.</remarks>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.Base64UrlEncode">
<summary>
Encodes this instance as Base64UrlEncoded JSON.
</summary>
<returns>Base64UrlEncoded JSON.</returns>
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to customize JSON serialization.</remarks>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.Deserialize(System.String)">
<summary>
Deserialzes JSON into a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> instance.
</summary>
<param name="jsonString"> The JSON to deserialize.</param>
<returns>An instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.</returns>
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to customize JSON serialization.</remarks>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.GetStandardClaim(System.String)">
<summary>
Gets a standard claim from the header.
A standard cliam is either a string or a value of another type serialized in JSON format.
</summary>
<param name="claimType">The key of the claim.</param>
<returns>The standard claim string; or null if not found.</returns>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.SerializeToJson">
<summary>
Serializes this instance to JSON.
</summary>
<returns>This instance as JSON.</returns>
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to customize JSON serialization.</remarks>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames">
<summary>
List of header parameter names see: http://tools.ietf.org/html/rfc7519#section-5.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Alg">
<summary>
see:https://tools.ietf.org/html/rfc7515#section-4.1.1
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Cty">
<summary>
see:https://tools.ietf.org/html/rfc7515#section-4.1.10
also:https://tools.ietf.org/html/rfc7519#section-5.2
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Enc">
<summary>
see:https://tools.ietf.org/html/rfc7516#section-4.1.2
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.IV">
<summary>
see:https://tools.ietf.org/html/rfc7518#section-4.7.1.1
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Jku">
<summary>
see:https://tools.ietf.org/html/rfc7515#section-4.1.2
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Jwk">
<summary>
see:https://tools.ietf.org/html/rfc7515#section-4.1.3
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Kid">
<summary>
see:https://tools.ietf.org/html/rfc7515#section-4.1.4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Typ">
<summary>
see:https://tools.ietf.org/html/rfc7515#section-4.1.9
also:https://tools.ietf.org/html/rfc7519#section-5.1
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.X5c">
<summary>
see:https://tools.ietf.org/html/rfc7515#section-4.1.6
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.X5t">
<summary>
see:https://tools.ietf.org/html/rfc7515#page-12
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.X5u">
<summary>
see:https://tools.ietf.org/html/rfc7515#section-4.1.5
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Zip">
<summary>
see:https://tools.ietf.org/html/rfc7516#section-4.1.3
</summary>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.JwtPayload">
<summary>
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> which contains JSON objects representing the claims contained in the JWT. Each claim is a JSON object of the form { Name, Value }.
</summary>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.#ctor">
<summary>
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> class with no claims. Default string comparer <see cref="P:System.StringComparer.Ordinal"/>.
Creates a empty <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>
</summary>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.#ctor(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})">
<summary>
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> class with <see cref="T:System.Collections.Generic.IEnumerable`1"/>. Default string comparer <see cref="P:System.StringComparer.Ordinal"/>.
<param name="claims">The claims to add.</param>
</summary>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.#ctor(System.String,System.String,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Nullable{System.DateTime},System.Nullable{System.DateTime})">
<summary>
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> class with claims added for each parameter specified. Default string comparer <see cref="P:System.StringComparer.Ordinal"/>.
</summary>
<param name="issuer">If this value is not null, a { iss, 'issuer' } claim will be added.</param>
<param name="audience">If this value is not null, a { aud, 'audience' } claim will be added</param>
<param name="claims">If this value is not null then for each <see cref="T:System.Security.Claims.Claim"/> a { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values.</param>
<param name="notBefore">If notbefore.HasValue is 'true' a { nbf, 'value' } claim is added.</param>
<param name="expires">If expires.HasValue is 'true' a { exp, 'value' } claim is added.</param>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.#ctor(System.String,System.String,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Nullable{System.DateTime})">
<summary>
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> class with claims added for each parameter specified. Default string comparer <see cref="P:System.StringComparer.Ordinal"/>.
</summary>
<param name="issuer">If this value is not null, a { iss, 'issuer' } claim will be added.</param>
<param name="audience">If this value is not null, a { aud, 'audience' } claim will be added</param>
<param name="claims">If this value is not null then for each <see cref="T:System.Security.Claims.Claim"/> a { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values.</param>
<param name="notBefore">If notbefore.HasValue is 'true' a { nbf, 'value' } claim is added.</param>
<param name="expires">If expires.HasValue is 'true' a { exp, 'value' } claim is added.</param>
<param name="issuedAt">If issuedAt.HasValue is 'true' a { iat, 'value' } claim is added.</param>
<remarks>Comparison is set to <see cref="P:System.StringComparer.Ordinal"/>
<para>The 4 parameters: 'issuer', 'audience', 'notBefore', 'expires' take precednece over <see cref="T:System.Security.Claims.Claim"/>(s) in 'claims'. The values in 'claims' will be overridden.</para></remarks>
<exception cref="T:System.ArgumentException">If 'expires' <= 'notbefore'.</exception>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Actort">
<summary>
Gets the 'value' of the 'actor' claim { actort, 'value' }.
</summary>
<remarks>If the 'actor' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Acr">
<summary>
Gets the 'value' of the 'acr' claim { acr, 'value' }.
</summary>
<remarks>If the 'acr' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Amr">
<summary>
Gets the 'value' of the 'amr' claim { amr, 'value' } as list of strings.
</summary>
<remarks>If the 'amr' claim is not found, an empty enumerable is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.AuthTime">
<summary>
Gets the 'value' of the 'auth_time' claim { auth_time, 'value' }.
</summary>
<remarks>If the 'auth_time' claim is not found OR could not be converted to <see cref="T:System.Int32"/>, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Aud">
<summary>
Gets the 'value' of the 'audience' claim { aud, 'value' } as a list of strings.
</summary>
<remarks>If the 'audience' claim is not found, an empty enumerable is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Azp">
<summary>
Gets the 'value' of the 'azp' claim { azp, 'value' }.
</summary>
<remarks>If the 'azp' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.CHash">
<summary>
Gets 'value' of the 'c_hash' claim { c_hash, 'value' }.
</summary>
<remarks>If the 'c_hash' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Exp">
<summary>
Gets the 'value' of the 'expiration' claim { exp, 'value' }.
</summary>
<remarks>If the 'expiration' claim is not found OR could not be converted to <see cref="T:System.Int32"/>, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Jti">
<summary>
Gets the 'value' of the 'JWT ID' claim { jti, 'value' }.
</summary>
<remarks>If the 'JWT ID' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Iat">
<summary>
Gets the 'value' of the 'Issued At' claim { iat, 'value' }.
</summary>
<remarks>If the 'Issued At' claim is not found OR cannot be converted to <see cref="T:System.Int32"/> null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Iss">
<summary>
Gets the 'value' of the 'issuer' claim { iss, 'value' }.
</summary>
<remarks>If the 'issuer' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Nbf">
<summary>
Gets the 'value' of the 'expiration' claim { nbf, 'value' }.
</summary>
<remarks>If the 'notbefore' claim is not found OR could not be converted to <see cref="T:System.Int32"/>, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Nonce">
<summary>
Gets the 'value' of the 'nonce' claim { nonce, 'value' }.
</summary>
<remarks>If the 'nonce' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Sub">
<summary>
Gets the 'value' of the 'subject' claim { sub, 'value' }.
</summary>
<remarks>If the 'subject' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.ValidFrom">
<summary>
Gets the 'value' of the 'notbefore' claim { nbf, 'value' } converted to a <see cref="T:System.DateTime"/> assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z).
</summary>
<remarks>If the 'notbefore' claim is not found, then <see cref="F:System.DateTime.MinValue"/> is returned. Time is returned as UTC.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.ValidTo">
<summary>
Gets the 'value' of the 'expiration' claim { exp, 'value' } converted to a <see cref="T:System.DateTime"/> assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z).
</summary>
<remarks>If the 'expiration' claim is not found, then <see cref="F:System.DateTime.MinValue"/> is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Claims">
<summary>
Gets a <see cref="T:System.Collections.Generic.IEnumerable`1"/><see cref="T:System.Security.Claims.Claim"/> for each JSON { name, value }.
</summary>
<remarks>Each <see cref="T:System.Security.Claims.Claim"/>(s) returned will have the <see cref="P:System.Security.Claims.Claim.Type"/> translated according to the mapping found in <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.InboundClaimTypeMap"/>. Adding and removing to <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.InboundClaimTypeMap"/> will affect the value of the <see cref="P:System.Security.Claims.Claim.Type"/>.
<para><see cref="P:System.Security.Claims.Claim.Issuer"/> and <see cref="P:System.Security.Claims.Claim.OriginalIssuer"/> will be set to the value of <see cref="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Iss"/> ( <see cref="F:System.String.Empty"/> if null).</para></remarks>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.AddClaim(System.Security.Claims.Claim)">
<summary>
Adds a JSON object representing the <see cref="T:System.Security.Claims.Claim"/> to the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>
</summary>
<param name="claim">{ 'Claim.Type', 'Claim.Value' } is added. If a JSON object is found with the name == <see cref="P:System.Security.Claims.Claim.Type"/> then a { 'Claim.Type', List<object> } will be created to contain the duplicate values.</param>
<remarks>See <see cref="M:System.IdentityModel.Tokens.Jwt.JwtPayload.AddClaims(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})"/> For details on how <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.OutboundClaimTypeMap"/> is applied.</remarks>
<exception cref="T:System.ArgumentNullException">'claim' is null.</exception>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.AddClaims(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})">
<summary>
Adds a number of <see cref="T:System.Security.Claims.Claim"/> to the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> as JSON { name, value } pairs.
</summary>
<param name="claims">For each <see cref="T:System.Security.Claims.Claim"/> a JSON pair { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values.</param>
<remarks>
<para>Any <see cref="T:System.Security.Claims.Claim"/> in the <see cref="T:System.Collections.Generic.IEnumerable`1"/> that is null, will be ignored.</para></remarks>
<exception cref="T:System.ArgumentNullException">'claims' is null.</exception>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.GetDateTime(System.String)">
<summary>
Gets the DateTime using the number of seconds from 1970-01-01T0:0:0Z (UTC)
</summary>
<param name="key">Claim in the payload that should map to an integer.</param>
<remarks>If the claim is not found, the function returns: DateTime.MinValue
</remarks>
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenException">If an overflow exception is thrown by the runtime.</exception>
<returns>The DateTime representation of a claim.</returns>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.SerializeToJson">
<summary>
Serializes this instance to JSON.
</summary>
<returns>This instance as JSON.</returns>
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to customize JSON serialization.</remarks>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.Base64UrlEncode">
<summary>
Encodes this instance as Base64UrlEncoded JSON.
</summary>
<returns>Base64UrlEncoded JSON.</returns>
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to customize JSON serialization.</remarks>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.Base64UrlDeserialize(System.String)">
<summary>
Deserializes Base64UrlEncoded JSON into a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> instance.
</summary>
<param name="base64UrlEncodedJsonString">base64url encoded JSON to deserialize.</param>
<returns>An instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>.</returns>
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to customize JSON serialization.</remarks>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.Deserialize(System.String)">
<summary>
Deserialzes JSON into a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> instance.
</summary>
<param name="jsonString">The JSON to deserialize.</param>
<returns>An instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>.</returns>
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to customize JSON serialization.</remarks>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames">
<summary>
List of registered claims from different sources
http://tools.ietf.org/html/rfc7519#section-4
http://openid.net/specs/openid-connect-core-1_0.html#IDToken
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Actort">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Acr">
<summary>
http://openid.net/specs/openid-connect-core-1_0.html#IDToken
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Amr">
<summary>
http://openid.net/specs/openid-connect-core-1_0.html#IDToken
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Aud">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.AuthTime">
<summary>
http://openid.net/specs/openid-connect-core-1_0.html#IDToken
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Azp">
<summary>
http://openid.net/specs/openid-connect-core-1_0.html#IDToken
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Birthdate">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.CHash">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.AtHash">
<summary>
http://openid.net/specs/openid-connect-core-1_0.html#CodeIDToken
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Email">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Exp">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Gender">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.FamilyName">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.GivenName">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Iat">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Iss">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Jti">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.NameId">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Nonce">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Nbf">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Prn">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Sid">
<summary>
http://openid.net/specs/openid-connect-frontchannel-1_0.html#OPLogout
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Sub">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Typ">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.UniqueName">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Website">
<summary>
http://tools.ietf.org/html/rfc7519#section-4
</summary>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken">
<summary>
A <see cref="T:Microsoft.IdentityModel.Tokens.SecurityToken"/> designed for representing a JSON Web Token (JWT).
</summary>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.String)">
<summary>
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> from a string in JWS Compact serialized format.
</summary>
<param name="jwtEncodedString">A JSON Web Token that has been serialized in JWS Compact serialized format.</param>
<exception cref="T:System.ArgumentNullException">'jwtEncodedString' is null.</exception>
<exception cref="T:System.ArgumentException">'jwtEncodedString' contains only whitespace.</exception>
<exception cref="T:System.ArgumentException">'jwtEncodedString' is not in JWS Compact serialized format.</exception>
<remarks>
The contents of this <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> have not been validated, the JSON Web Token is simply decoded. Validation can be accomplished using <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters,Microsoft.IdentityModel.Tokens.SecurityToken@)"/>
</remarks>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtPayload,System.String,System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> class where the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> contains the crypto algorithms applied to the encoded <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> and <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>. The jwtEncodedString is the result of those operations.
</summary>
<param name="header">Contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT</param>
<param name="payload">Contains JSON objects representing the claims contained in the JWT. Each claim is a JSON object of the form { Name, Value }</param>
<param name="rawHeader">base64urlencoded JwtHeader</param>
<param name="rawPayload">base64urlencoded JwtPayload</param>
<param name="rawSignature">base64urlencoded JwtSignature</param>
<exception cref="T:System.ArgumentNullException">'header' is null.</exception>
<exception cref="T:System.ArgumentNullException">'payload' is null.</exception>
<exception cref="T:System.ArgumentNullException">'rawSignature' is null.</exception>
<exception cref="T:System.ArgumentException">'rawHeader' or 'rawPayload' is null or whitespace.</exception>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtSecurityToken,System.String,System.String,System.String,System.String,System.String)">
<summary>
Initializes an instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> where the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> contains the crypto algorithms applied to the innerToken <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.
</summary>
<param name="header">Defines cryptographic operations applied to the 'innerToken'.</param>
<param name="innerToken"></param>
<param name="rawEncryptedKey">base64urlencoded key</param>
<param name="rawHeader">base64urlencoded JwtHeader</param>
<param name="rawInitializationVector">base64urlencoded initialization vector.</param>
<param name="rawCiphertext">base64urlencoded encrypted innerToken</param>
<param name="rawAuthenticationTag">base64urlencoded authentication tag.</param>
<exception cref="T:System.ArgumentNullException">'header' is null.</exception>
<exception cref="T:System.ArgumentNullException">'innerToken' is null.</exception>
<exception cref="T:System.ArgumentNullException">'rawHeader' is null.</exception>
<exception cref="T:System.ArgumentNullException">'rawEncryptedKey' is null.</exception>
<exception cref="T:System.ArgumentNullException">'rawInitialVector' is null or empty.</exception>
<exception cref="T:System.ArgumentNullException">'rawCiphertext' is null or empty.</exception>
<exception cref="T:System.ArgumentNullException">'rawAuthenticationTag' is null or empty.</exception>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtPayload)">
<summary>
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> class where the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> contains the crypto algorithms applied to the encoded <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> and <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>. The jwtEncodedString is the result of those operations.
</summary>
<param name="header">Contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT</param>
<param name="payload">Contains JSON objects representing the claims contained in the JWT. Each claim is a JSON object of the form { Name, Value }</param>
<exception cref="T:System.ArgumentNullException">'header' is null.</exception>
<exception cref="T:System.ArgumentNullException">'payload' is null.</exception>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.String,System.String,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Nullable{System.DateTime},System.Nullable{System.DateTime},Microsoft.IdentityModel.Tokens.SigningCredentials)">
<summary>
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> class specifying optional parameters.
</summary>
<param name="issuer">If this value is not null, a { iss, 'issuer' } claim will be added.</param>
<param name="audience">If this value is not null, a { aud, 'audience' } claim will be added</param>
<param name="claims">If this value is not null then for each <see cref="T:System.Security.Claims.Claim"/> a { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values.</param>
<param name="expires">If expires.HasValue a { exp, 'value' } claim is added.</param>
<param name="notBefore">If notbefore.HasValue a { nbf, 'value' } claim is added.</param>
<param name="signingCredentials">The <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningCredentials"/> that will be used to sign the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>. See <see cref="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(Microsoft.IdentityModel.Tokens.SigningCredentials)"/> for details pertaining to the Header Parameter(s).</param>
<exception cref="T:System.ArgumentException">If 'expires' <= 'notbefore'.</exception>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Actor">
<summary>
Gets the 'value' of the 'actor' claim { actort, 'value' }.
</summary>
<remarks>If the 'actor' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Audiences">
<summary>
Gets the list of 'audience' claim { aud, 'value' }.
</summary>
<remarks>If the 'audience' claim is not found, enumeration will be empty.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Claims">
<summary>
Gets the <see cref="T:System.Security.Claims.Claim"/>(s) for this token.
If this is a JWE token, this property only returns the encrypted claims;
the unencrypted claims should be read from the header seperately.
</summary>
<remarks><para><see cref="T:System.Security.Claims.Claim"/>(s) returned will NOT have the <see cref="P:System.Security.Claims.Claim.Type"/> translated according to <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.InboundClaimTypeMap"/></para></remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.EncodedHeader">
<summary>
Gets the Base64UrlEncoded <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> associated with this instance.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.EncodedPayload">
<summary>
Gets the Base64UrlEncoded <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> associated with this instance.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Header">
<summary>
Gets the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> associated with this instance if the token is signed.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Id">
<summary>
Gets the 'value' of the 'JWT ID' claim { jti, ''value' }.
</summary>
<remarks>If the 'JWT ID' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Issuer">
<summary>
Gets the 'value' of the 'issuer' claim { iss, 'value' }.
</summary>
<remarks>If the 'issuer' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Payload">
<summary>
Gets the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> associated with this instance.
Note that if this JWT is nested ( <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.InnerToken"/> != null, this property represnts the payload of the most inner token.
This property can be null if the content type of the most inner token is unrecognized, in that case
the content of the token is the string returned by PlainText property.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.InnerToken">
<summary>
Gets the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> associated with this instance.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawAuthenticationTag">
<summary>
Gets the original raw data of this instance when it was created.
</summary>
<remarks>The original JSON Compact serialized format passed to one of the two constructors <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.String)"/>
or <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtPayload,System.String,System.String,System.String)"/></remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawCiphertext">
<summary>
Gets the original raw data of this instance when it was created.
</summary>
<remarks>The original JSON Compact serialized format passed to one of the two constructors <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.String)"/>
or <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtPayload,System.String,System.String,System.String)"/></remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawData">
<summary>
Gets the original raw data of this instance when it was created.
</summary>
<remarks>The original JSON Compact serialized format passed to one of the two constructors <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.String)"/>
or <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtPayload,System.String,System.String,System.String)"/></remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawEncryptedKey">
<summary>
Gets the original raw data of this instance when it was created.
</summary>
<remarks>The original JSON Compact serialized format passed to one of the two constructors <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.String)"/>
or <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtPayload,System.String,System.String,System.String)"/></remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawInitializationVector">
<summary>
Gets the original raw data of this instance when it was created.
</summary>
<remarks>The original JSON Compact serialized format passed to one of the two constructors <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.String)"/>
or <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtPayload,System.String,System.String,System.String)"/></remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawHeader">
<summary>
Gets the original raw data of this instance when it was created.
</summary>
<remarks>The original JSON Compact serialized format passed to one of the two constructors <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.String)"/>
or <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtPayload,System.String,System.String,System.String)"/></remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawPayload">
<summary>
Gets the original raw data of this instance when it was created.
</summary>
<remarks>The original JSON Compact serialized format passed to one of the two constructors <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.String)"/>
or <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtPayload,System.String,System.String,System.String)"/></remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawSignature">
<summary>
Gets the original raw data of this instance when it was created.
</summary>
<remarks>The original JSON Compact serialized format passed to one of the two constructors <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.String)"/>
or <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.#ctor(System.IdentityModel.Tokens.Jwt.JwtHeader,System.IdentityModel.Tokens.Jwt.JwtPayload,System.String,System.String,System.String)"/></remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SecurityKey">
<summary>
Gets the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SecurityKey"/>s for this instance.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SignatureAlgorithm">
<summary>
Gets the signature algorithm associated with this instance.
</summary>
<remarks>If there is a <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningCredentials"/> associated with this instance, a value will be returned. Null otherwise.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningCredentials">
<summary>
Gets the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningCredentials"/> to use when writing this token.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.EncryptingCredentials">
<summary>
Gets teh <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.EncryptingCredentials"/> to use when writing this token.
</summary>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningKey">
<summary>
Gets or sets the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SecurityKey"/> that signed this instance.
</summary>
<remarks><see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler"/>.ValidateSignature(...) sets this value when a <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SecurityKey"/> is used to successfully validate a signature.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Subject">
<summary>
Gets the "value" of the 'subject' claim { sub, 'value' }.
</summary>
<remarks>If the 'subject' claim is not found, null is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.ValidFrom">
<summary>
Gets the 'value' of the 'notbefore' claim { nbf, 'value' } converted to a <see cref="T:System.DateTime"/> assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z).
</summary>
<remarks>If the 'notbefore' claim is not found, then <see cref="F:System.DateTime.MinValue"/> is returned.</remarks>
</member>
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.ValidTo">
<summary>
Gets the 'value' of the 'expiration' claim { exp, 'value' } converted to a <see cref="T:System.DateTime"/> assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z).
</summary>
<remarks>If the 'expiration' claim is not found, then <see cref="F:System.DateTime.MinValue"/> is returned.</remarks>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.ToString">
<summary>
Serializes the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> and <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>
</summary>
<returns>A string containing the header and payload in JSON format.</returns>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Decode(System.String[],System.String)">
<summary>
Decodes the string into the header, payload and signature.
</summary>
<param name="tokenParts">the tokenized string.</param>
<param name="rawData">the original token.</param>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.DecodeJws(System.String[])">
<summary>
Decodes the payload and signature from the JWS parts.
</summary>
<param name="tokenParts">Parts of the JWS including the header.</param>
<remarks>Assumes Header has already been set.</remarks>
</member>
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.DecodeJwe(System.String[])">
<summary>
Decodes the payload and signature from the JWE parts.
</summary>
<param name="tokenParts">Parts of the JWE including the header.</param>
<remarks>Assumes Header has already been set.</remarks>
</member>
<member name="T:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler">
<summary>
A <see cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenHandler"/> designed for creating and validating Json Web Tokens. See: http://tools.ietf.org/html/rfc7519 and http://www.rfc-editor.org/info/rfc7515
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.DefaultTokenLifetimeInMinutes">
<summary>
Default lifetime of tokens created. When creating tokens, if 'expires' and 'notbefore' are both null, then a default will be set to: expires = DateTime.UtcNow, notbefore = DateTime.UtcNow + TimeSpan.FromMinutes(TokenLifetimeInMinutes).
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.DefaultInboundClaimTypeMap">
<summary>
Default claim type mapping for inbound claims.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.DefaultMapInboundClaims">
<summary>
Default value for the flag that determines whether or not the InboundClaimTypeMap is used.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.DefaultOutboundClaimTypeMap">
<summary>
Default claim type mapping for outbound claims.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.DefaultInboundClaimFilter">
<summary>
Default claim type filter list.
</summary>
</member>
<member name="F:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.DefaultOutboundAlgorithmMap">
<summary>
Default JwtHeader algorithm mapping
</summary>