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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
|
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vs="http://schemas.microsoft.com/Visual-Studio-Intellisense"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="dotNetOpenAuth">
<xs:annotation>
<xs:documentation>
Customizations and configuration of DotNetOpenAuth behavior.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="messaging">
<xs:annotation>
<xs:documentation>
Options for general messaging protocols, such as whitelist/blacklist hosts and maximum message age.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="untrustedWebRequest">
<xs:annotation>
<xs:documentation>
Restrictions and settings to apply to outgoing HTTP requests to hosts that are not
trusted by this web site. Useful for OpenID-supporting hosts because HTTP connections
are initiated based on user input to arbitrary servers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="whitelistHosts">
<xs:annotation>
<xs:documentation>
A set of host names (including domain names) to allow outgoing connections to
that would otherwise not be allowed based on security restrictions.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The host name to trust. For example: "localhost" or "www.mypartners.com".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The host name to NOT trust. For example: "localhost" or "www.mypartners.com".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:annotation>
<xs:documentation>
Clears all hosts from the whitelist.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="whitelistHostsRegex">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="blacklistHosts">
<xs:annotation>
<xs:documentation>
A set of host names (including domain names) to disallow outgoing connections to
that would otherwise be allowed based on security restrictions.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The host name known to add to the blacklist. For example: "localhost" or "www.mypartners.com".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The host name known to remove to the blacklist. For example: "localhost" or "www.mypartners.com".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:annotation>
<xs:documentation>
Clears all hosts from the blacklist.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="blacklistHostsRegex">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="timeout" type="xs:string">
<xs:annotation>
<xs:documentation>
The maximum time to allow for an outgoing HTTP request to complete before giving up.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="readWriteTimeout" type="xs:string">
<xs:annotation>
<xs:documentation>
The maximum time to allow for an outgoing HTTP request to either send or receive data before giving up.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximumBytesToRead" type="xs:int">
<xs:annotation>
<xs:documentation>
The maximum bytes to read from an untrusted server during an outgoing HTTP request before cutting off the response.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximumRedirections" type="xs:int">
<xs:annotation>
<xs:documentation>
The maximum redirection instructions to follow before giving up.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="webResourceUrlProvider">
<xs:annotation>
<xs:documentation>
The type that implements the DotNetOpenAuth.IEmbeddedResourceRetrieval interface
to instantiate for obtaining URLs that fetch embedded resource streams.
Primarily useful when the System.Web.UI.Page class is not used in the ASP.NET pipeline.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The fully-qualified name of the type that implements the IEmbeddedResourceRetrieval interface.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="xaml" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="lifetime" type="xs:string">
<xs:annotation>
<xs:documentation>
The maximum time allowed between a message being sent to when it is received before
it is considered expired.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="clockSkew" type="xs:string">
<xs:annotation>
<xs:documentation>
The maximum time to consider a safe difference in server clocks.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="strict" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
Whether remote parties will be held strictly to the protocol specifications.
Strict will require that remote parties adhere strictly to the specifications,
even when a loose interpretation would not compromise security.
true is a good default because it shakes out interoperability bugs in remote services
so they can be identified and corrected. But some web sites want things to Just Work
more than they want to file bugs against others, so false is the setting for them.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="relaxSslRequirements" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
Whether SSL requirements within the library are disabled/relaxed.
Use for TESTING ONLY.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximumIndirectMessageUrlLength" type="xs:int" default="2048">
<xs:annotation>
<xs:documentation>
The maximum allowable size for a 301 Redirect response before we send
a 200 OK response with a scripted form POST with the parameters instead
in order to ensure successfully sending a large payload to another server
that might have a maximum allowable size restriction on its GET request.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="privateSecretMaximumAge" type="xs:string" default="28.00:00:00">
<xs:annotation>
<xs:documentation>
The maximum age of a secret used for private signing or encryption before it is renewed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="openid">
<xs:annotation>
<xs:documentation>
Configuration for OpenID authentication (relying parties and providers).
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="relyingParty">
<xs:annotation>
<xs:documentation>
Configuration specific for OpenID relying parties.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="security">
<xs:annotation>
<xs:documentation>
Security settings that apply to OpenID relying parties.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="trustedProviders">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="endpoint" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The OpenID Provider Endpoint (aka "OP Endpoint") that this relying party trusts.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="endpoint" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="rejectAssertionsFromUntrustedProviders" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
A value indicating whether any login attempt coming from an OpenID Provider Endpoint that is not on this
whitelist of trusted OP Endpoints will be rejected. If the trusted providers list is empty and this value
is true, all assertions are rejected.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="requireSsl" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
Restricts OpenID logins to identifiers that use HTTPS throughout the discovery process,
and only uses HTTPS OpenID Provider endpoints.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="minimumRequiredOpenIdVersion">
<xs:annotation>
<xs:documentation>
Optionally restricts interoperability with remote parties that
implement older versions of OpenID.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="V10" />
<xs:enumeration value="V11" />
<xs:enumeration value="V20" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="minimumHashBitLength" type="xs:int">
<xs:annotation>
<xs:documentation>
Shared associations with OpenID Providers will only be formed or used if they
are willing to form associations equal to or greater than a given level of protection.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximumHashBitLength" type="xs:int">
<xs:annotation>
<xs:documentation>
Shared associaitons with OpenID Providers will only be formed or used if they
are willing to form associations equal to or less than a given level of protection.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="requireDirectedIdentity" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Requires that OpenID identifiers upon which authentication requests are created
are to be OP Identifiers. Claimed Identifiers are not allowed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="requireAssociation" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Requires that the relying party can form a shared association with an
OpenID Provider before creating an authentication request for it.
Note that this does not require that the Provider actually use a
shared association in its response.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="rejectUnsolicitedAssertions" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Requires that users begin their login experience at the relying party
rather than at a Provider or using other forms of unsolicited assertions.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="rejectDelegatingIdentifiers" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Requires that the claimed identifiers used to log into the relying party
be the same ones that are originally issued by the Provider.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ignoreUnsignedExtensions" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Makes it impossible for the relying party to read authentication response
extensions that are not signed by the Provider.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="allowDualPurposeIdentifiers" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Controls whether identifiers that are both OP Identifiers and Claimed Identifiers
should ever be recognized as claimed identifiers.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="allowApproximateIdentifierDiscovery" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Controls whether certain Claimed Identifiers that exploit
features that .NET does not have the ability to send exact HTTP requests for will
still be allowed by using an approximate HTTP request.
Only impacts hosts running under partial trust.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="protectDownlevelReplayAttacks" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Controls whether the relying party should take special care
to protect users against replay attacks when interoperating with OpenID 1.1 Providers.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="behaviors">
<xs:annotation>
<xs:documentation>
Manipulates the set of custom behaviors that are automatically applied
to incoming and outgoing OpenID messages.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The fully-qualified name of the type that implements the IRelyingPartyBehavior interface.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="xaml" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The fully-qualified name of the type that implements the IRelyingPartyBehavior interface.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="discoveryServices">
<xs:annotation>
<xs:documentation>
Adds or removes OpenID discovery mechanisms to use on OpenID identifiers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The fully-qualified name of the type that implements the IIdentifierDiscoveryService interface.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="xaml" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="hostMetaDiscovery">
<xs:annotation>
<xs:documentation>
Customizes the non-standard host-meta discovery process, when that discovery service is enabled.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="enableCertificateValidationCache" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
Allows DotNetOpenAuth to remember X509Certificates that it has already verified are valid
to avoid validating them each time. Use when operating on a server with long delays when
validating certificates.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="store">
<xs:annotation>
<xs:documentation>
A custom implementation of IRelyingPartyApplicationStore to use by default for new
instances of OpenIdRelyingParty.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="type" type="xs:string">
<xs:annotation>
<xs:documentation>
A fully-qualified type name of the custom implementation of IRelyingPartyApplicationStore.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="preserveUserSuppliedIdentifier" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
Whether "dnoa.userSuppliedIdentifier" is tacked onto the openid.return_to URL in order to preserve what the user typed into the OpenID box.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="provider">
<xs:annotation>
<xs:documentation>
Configuration specific for OpenID providers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="security">
<xs:annotation>
<xs:documentation>
Security settings that apply to OpenID providers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="associations">
<xs:annotation>
<xs:documentation>
Sets maximum ages for shared associations of various strengths.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The OpenID association type (i.e. HMAC-SHA1 or HMAC-SHA256)
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="lifetime" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The lifetime a shared association of this type will be used for.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The OpenID association type (i.e. HMAC-SHA1 or HMAC-SHA256)
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="requireSsl" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
Requires that relying parties' realm URLs be protected by HTTPS,
ensuring that the RP discovery step is not vulnerable to DNS poisoning attacks.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="protectDownlevelReplayAttacks" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Provides automatic security protections to OpenID 1.x relying parties
so security is comparable to OpenID 2.0 relying parties.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="encodeAssociationSecretsInHandles" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
Whether the Provider should ease the burden of storing associations
by encoding their secrets (in signed, encrypted form) into the association handles themselves, storing only
a few rotating, private symmetric keys in the Provider's store instead.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="unsolicitedAssertionVerification">
<xs:annotation>
<xs:documentation>
The level of verification done on a claimed identifier before an unsolicited
assertion for that identifier is issued by this Provider.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="RequireSuccess">
<xs:annotation>
<xs:documentation>
The claimed identifier being asserted must delegate to this Provider
and this must be verifiable by the Provider to send the assertion.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="LogWarningOnFailure">
<xs:annotation>
<xs:documentation>
The claimed identifier being asserted is checked for delegation to this Provider
and an warning is logged, but the assertion is allowed to go through.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="NeverVerify">
<xs:annotation>
<xs:documentation>
The claimed identifier being asserted is not checked to see that this Provider
has authority to assert its identity.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="minimumHashBitLength" type="xs:int">
<xs:annotation>
<xs:documentation>
The minimum shared association strength to form with relying parties.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximumHashBitLength" type="xs:int">
<xs:annotation>
<xs:documentation>
The maximum shared association strength to form with relying parties.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="behaviors">
<xs:annotation>
<xs:documentation>
Manipulates the set of custom behaviors that are automatically applied
to incoming and outgoing OpenID messages.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The fully-qualified name of the type that implements the IRelyingPartyBehavior interface.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="xaml" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="store">
<xs:annotation>
<xs:documentation>
A custom implementation of IProviderApplicationStore to use by default for new
instances of OpenIdRelyingParty.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="type" type="xs:string">
<xs:annotation>
<xs:documentation>
A fully-qualified type name of the custom implementation of IProviderApplicationStore.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="extensionFactories">
<xs:annotation>
<xs:documentation>
Adjusts the list of known OpenID extensions via the registration of extension factories.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The fully-qualified name of the type that implements IOpenIdExtensionFactory.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="xaml" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The fully-qualified name of the type that implements IOpenIdExtensionFactory.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="xriResolver">
<xs:annotation>
<xs:documentation>
Controls XRI resolution to XRDS documents.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="enabled" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Controls whether XRI identifiers are allowed at all.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="proxy" type="xs:string">
<xs:annotation>
<xs:documentation>
The XRI proxy resolver to use for obtaining XRDS documents from an XRI.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="maxAuthenticationTime" type="xs:string">
<xs:annotation>
<xs:documentation>
The maximum time a user can take at the Provider while logging in before a relying party considers
the authentication lost.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="cacheDiscovery" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Whether the results of identifier discovery should be cached for a short time to improve performance
on subsequent requests, at the potential risk of reading stale data.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="oauth">
<xs:annotation>
<xs:documentation>
Settings for OAuth consumers and service providers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="consumer">
<xs:annotation>
<xs:documentation>
Settings applicable to OAuth Consumers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="security">
<xs:annotation>
<xs:documentation>
Security settings applicable to OAuth Consumers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="serviceProvider">
<xs:annotation>
<xs:documentation>
Settings applicable to OAuth Service Providers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="security">
<xs:annotation>
<xs:documentation>
Security settings applicable to OAuth Service Providers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="minimumRequiredOAuthVersion" default="V10">
<xs:annotation>
<xs:documentation>
Optionally restricts interoperability with OAuth consumers that implement
older versions of OAuth.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="V10">
<xs:annotation>
<xs:documentation>
The initial version of OAuth, now known to be vulnerable to certain social engineering attacks.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="V10a">
<xs:annotation>
<xs:documentation>
The OAuth version that protects against social engineering attacks by introducing
the oauth_verifier parameter.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="maxAuthorizationTime" type="xs:string" default="0:05">
<xs:annotation>
<xs:documentation>
The maximum time allowed for users to authorize a consumer before request tokens expire.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="store">
<xs:annotation>
<xs:documentation>
Sets the custom type that implements the INonceStore interface to use for nonce checking.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="type" type="xs:string">
<xs:annotation>
<xs:documentation>
A fully-qualified type name of the custom implementation of INonceStore.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="oauth2">
<xs:annotation>
<xs:documentation>
Settings OAuth 2 clients, authorization servers and resource servers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="client">
<xs:annotation>
<xs:documentation>
Settings applicable to OAuth 2 Clients.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
</xs:choice>
<xs:attribute name="maxAuthorizationTime" type="xs:string">
<xs:annotation>
<xs:documentation>
The maximum time a user can take at the authorization server before the client considers
the authorization lost.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="authorizationServer">
<xs:annotation>
<xs:documentation>
Settings applicable to OAuth 2 Authorization Servers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="clientAuthenticationModules">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The fully-qualified name of the ClientAuthenticationModule-derived type.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="xaml" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The fully-qualified name of the ClientAuthenticationModule-derived type.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="clear">
<xs:complexType>
<!--tag is empty-->
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="resourceServer">
<xs:annotation>
<xs:documentation>
Settings applicable to OAuth 2 Resource Servers.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
</xs:choice>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="reporting">
<xs:annotation>
<xs:documentation>
Adjusts statistical reports DotNetOpenAuth may send to the library authors to
assist with future development of the library.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="enabled" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Controls whether reporting is active at all or entirely inactive.
Note that even if active, the reports may be more or less empty based
on other settings.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="minimumReportingInterval" type="xs:string">
<xs:annotation>
<xs:documentation>
Controls how frequently reports are collected and transmitted.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="minimumFlushInterval" type="xs:string">
<xs:annotation>
<xs:documentation>
Controls how frequently the statistics that are collected in memory are persisted to disk.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeFeatureUsage" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
Whether a list of features in DotNetOpenAuth that are actually used by this host
are included in the report.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeEventStatistics" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
Whether a set of counters that track how often certain events (such as an
successful or failed authentication) is included in the report.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeLocalRequestUris" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
Whether to include a few of this host's URLs that contain DotNetOpenAuth components.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeCultures" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
Whether to include the cultures as set on the user agents of incoming requests to pages
that contain DotNetOpenAuth components.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
|