@authhero/saml 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.d.ts CHANGED
@@ -5,3683 +5,503 @@ import { z } from '@hono/zod-openapi';
5
5
  export declare const samlIssuerSchema: z.ZodObject<{
6
6
  "#text": z.ZodString;
7
7
  "@_xmlns:saml": z.ZodOptional<z.ZodString>;
8
- }, "strip", z.ZodTypeAny, {
9
- "#text": string;
10
- "@_xmlns:saml"?: string | undefined;
11
- }, {
12
- "#text": string;
13
- "@_xmlns:saml"?: string | undefined;
14
- }>;
8
+ }, z.core.$strip>;
15
9
  export declare const samlRequestSchema: z.ZodObject<{
16
10
  "samlp:AuthnRequest": z.ZodObject<{
17
11
  "saml:Issuer": z.ZodObject<{
18
12
  "#text": z.ZodString;
19
13
  "@_xmlns:saml": z.ZodOptional<z.ZodString>;
20
- }, "strip", z.ZodTypeAny, {
21
- "#text": string;
22
- "@_xmlns:saml"?: string | undefined;
23
- }, {
24
- "#text": string;
25
- "@_xmlns:saml"?: string | undefined;
26
- }>;
14
+ }, z.core.$strip>;
27
15
  "@_xmlns:samlp": z.ZodString;
28
16
  "@_xmlns:saml": z.ZodOptional<z.ZodString>;
29
- "@_ForceAuthn": z.ZodOptional<z.ZodEffects<z.ZodString, boolean, string>>;
17
+ "@_ForceAuthn": z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<boolean, string>>>;
30
18
  "@_ID": z.ZodString;
31
19
  "@_IssueInstant": z.ZodString;
32
20
  "@_Destination": z.ZodString;
33
21
  "@_AssertionConsumerServiceURL": z.ZodOptional<z.ZodString>;
34
22
  "@_ProtocolBinding": z.ZodOptional<z.ZodString>;
35
23
  "@_Version": z.ZodString;
36
- }, "strip", z.ZodTypeAny, {
37
- "saml:Issuer": {
38
- "#text": string;
39
- "@_xmlns:saml"?: string | undefined;
40
- };
41
- "@_xmlns:samlp": string;
42
- "@_ID": string;
43
- "@_IssueInstant": string;
44
- "@_Destination": string;
45
- "@_Version": string;
46
- "@_xmlns:saml"?: string | undefined;
47
- "@_ForceAuthn"?: boolean | undefined;
48
- "@_AssertionConsumerServiceURL"?: string | undefined;
49
- "@_ProtocolBinding"?: string | undefined;
50
- }, {
51
- "saml:Issuer": {
52
- "#text": string;
53
- "@_xmlns:saml"?: string | undefined;
54
- };
55
- "@_xmlns:samlp": string;
56
- "@_ID": string;
57
- "@_IssueInstant": string;
58
- "@_Destination": string;
59
- "@_Version": string;
60
- "@_xmlns:saml"?: string | undefined;
61
- "@_ForceAuthn"?: string | undefined;
62
- "@_AssertionConsumerServiceURL"?: string | undefined;
63
- "@_ProtocolBinding"?: string | undefined;
64
- }>;
65
- }, "strip", z.ZodTypeAny, {
66
- "samlp:AuthnRequest": {
67
- "saml:Issuer": {
68
- "#text": string;
69
- "@_xmlns:saml"?: string | undefined;
70
- };
71
- "@_xmlns:samlp": string;
72
- "@_ID": string;
73
- "@_IssueInstant": string;
74
- "@_Destination": string;
75
- "@_Version": string;
76
- "@_xmlns:saml"?: string | undefined;
77
- "@_ForceAuthn"?: boolean | undefined;
78
- "@_AssertionConsumerServiceURL"?: string | undefined;
79
- "@_ProtocolBinding"?: string | undefined;
80
- };
81
- }, {
82
- "samlp:AuthnRequest": {
83
- "saml:Issuer": {
84
- "#text": string;
85
- "@_xmlns:saml"?: string | undefined;
86
- };
87
- "@_xmlns:samlp": string;
88
- "@_ID": string;
89
- "@_IssueInstant": string;
90
- "@_Destination": string;
91
- "@_Version": string;
92
- "@_xmlns:saml"?: string | undefined;
93
- "@_ForceAuthn"?: string | undefined;
94
- "@_AssertionConsumerServiceURL"?: string | undefined;
95
- "@_ProtocolBinding"?: string | undefined;
96
- };
97
- }>;
24
+ }, z.core.$strip>;
25
+ }, z.core.$strip>;
98
26
  export declare const samlMetadataResponseSchema: z.ZodArray<z.ZodObject<{
99
27
  ":@": z.ZodObject<{
100
28
  "@_xmlns": z.ZodString;
101
29
  "@_entityID": z.ZodString;
102
- }, "strip", z.ZodTypeAny, {
103
- "@_xmlns": string;
104
- "@_entityID": string;
105
- }, {
106
- "@_xmlns": string;
107
- "@_entityID": string;
108
- }>;
30
+ }, z.core.$strip>;
109
31
  EntityDescriptor: z.ZodArray<z.ZodObject<{
110
32
  ":@": z.ZodObject<{
111
33
  "@_protocolSupportEnumeration": z.ZodString;
112
- }, "strip", z.ZodTypeAny, {
113
- "@_protocolSupportEnumeration": string;
114
- }, {
115
- "@_protocolSupportEnumeration": string;
116
- }>;
117
- IDPSSODescriptor: z.ZodArray<z.ZodUnion<[
34
+ }, z.core.$strip>;
35
+ IDPSSODescriptor: z.ZodArray<z.ZodUnion<readonly [
118
36
  z.ZodObject<{
119
37
  KeyDescriptor: z.ZodArray<z.ZodObject<{
120
38
  KeyInfo: z.ZodArray<z.ZodObject<{
121
39
  X509Data: z.ZodArray<z.ZodObject<{
122
40
  X509Certificate: z.ZodArray<z.ZodObject<{
123
41
  "#text": z.ZodString;
124
- }, "strip", z.ZodTypeAny, {
125
- "#text": string;
126
- }, {
127
- "#text": string;
128
- }>, "many">;
129
- }, "strip", z.ZodTypeAny, {
130
- X509Certificate: {
131
- "#text": string;
132
- }[];
133
- }, {
134
- X509Certificate: {
135
- "#text": string;
136
- }[];
137
- }>, "many">;
138
- }, "strip", z.ZodTypeAny, {
139
- X509Data: {
140
- X509Certificate: {
141
- "#text": string;
142
- }[];
143
- }[];
144
- }, {
145
- X509Data: {
146
- X509Certificate: {
147
- "#text": string;
148
- }[];
149
- }[];
150
- }>, "many">;
42
+ }, z.core.$strip>>;
43
+ }, z.core.$strip>>;
44
+ }, z.core.$strip>>;
151
45
  ":@": z.ZodObject<{
152
46
  "@_xmlns": z.ZodString;
153
- }, "strip", z.ZodTypeAny, {
154
- "@_xmlns": string;
155
- }, {
156
- "@_xmlns": string;
157
- }>;
158
- }, "strip", z.ZodTypeAny, {
159
- ":@": {
160
- "@_xmlns": string;
161
- };
162
- KeyInfo: {
163
- X509Data: {
164
- X509Certificate: {
165
- "#text": string;
166
- }[];
167
- }[];
168
- }[];
169
- }, {
170
- ":@": {
171
- "@_xmlns": string;
172
- };
173
- KeyInfo: {
174
- X509Data: {
175
- X509Certificate: {
176
- "#text": string;
177
- }[];
178
- }[];
179
- }[];
180
- }>, "many">;
47
+ }, z.core.$strip>;
48
+ }, z.core.$strip>>;
181
49
  ":@": z.ZodObject<{
182
50
  "@_use": z.ZodString;
183
- }, "strip", z.ZodTypeAny, {
184
- "@_use": string;
185
- }, {
186
- "@_use": string;
187
- }>;
188
- }, "strip", z.ZodTypeAny, {
189
- ":@": {
190
- "@_use": string;
191
- };
192
- KeyDescriptor: {
193
- ":@": {
194
- "@_xmlns": string;
195
- };
196
- KeyInfo: {
197
- X509Data: {
198
- X509Certificate: {
199
- "#text": string;
200
- }[];
201
- }[];
202
- }[];
203
- }[];
204
- }, {
205
- ":@": {
206
- "@_use": string;
207
- };
208
- KeyDescriptor: {
209
- ":@": {
210
- "@_xmlns": string;
211
- };
212
- KeyInfo: {
213
- X509Data: {
214
- X509Certificate: {
215
- "#text": string;
216
- }[];
217
- }[];
218
- }[];
219
- }[];
220
- }>,
51
+ }, z.core.$strip>;
52
+ }, z.core.$strip>,
221
53
  z.ZodObject<{
222
- SingleLogoutService: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
54
+ SingleLogoutService: z.ZodArray<z.ZodObject<{}, z.core.$strip>>;
223
55
  ":@": z.ZodObject<{
224
56
  "@_Binding": z.ZodString;
225
57
  "@_Location": z.ZodString;
226
- }, "strip", z.ZodTypeAny, {
227
- "@_Binding": string;
228
- "@_Location": string;
229
- }, {
230
- "@_Binding": string;
231
- "@_Location": string;
232
- }>;
233
- }, "strip", z.ZodTypeAny, {
234
- ":@": {
235
- "@_Binding": string;
236
- "@_Location": string;
237
- };
238
- SingleLogoutService: {}[];
239
- }, {
240
- ":@": {
241
- "@_Binding": string;
242
- "@_Location": string;
243
- };
244
- SingleLogoutService: {}[];
245
- }>,
58
+ }, z.core.$strip>;
59
+ }, z.core.$strip>,
246
60
  z.ZodObject<{
247
61
  NameIDFormat: z.ZodArray<z.ZodObject<{
248
62
  "#text": z.ZodString;
249
- }, "strip", z.ZodTypeAny, {
250
- "#text": string;
251
- }, {
252
- "#text": string;
253
- }>, "many">;
254
- }, "strip", z.ZodTypeAny, {
255
- NameIDFormat: {
256
- "#text": string;
257
- }[];
258
- }, {
259
- NameIDFormat: {
260
- "#text": string;
261
- }[];
262
- }>,
63
+ }, z.core.$strip>>;
64
+ }, z.core.$strip>,
263
65
  z.ZodObject<{
264
- SingleSignOnService: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
66
+ SingleSignOnService: z.ZodArray<z.ZodObject<{}, z.core.$strip>>;
265
67
  ":@": z.ZodObject<{
266
68
  "@_Binding": z.ZodString;
267
69
  "@_Location": z.ZodString;
268
- }, "strip", z.ZodTypeAny, {
269
- "@_Binding": string;
270
- "@_Location": string;
271
- }, {
272
- "@_Binding": string;
273
- "@_Location": string;
274
- }>;
275
- }, "strip", z.ZodTypeAny, {
276
- ":@": {
277
- "@_Binding": string;
278
- "@_Location": string;
279
- };
280
- SingleSignOnService: {}[];
281
- }, {
282
- ":@": {
283
- "@_Binding": string;
284
- "@_Location": string;
285
- };
286
- SingleSignOnService: {}[];
287
- }>,
70
+ }, z.core.$strip>;
71
+ }, z.core.$strip>,
288
72
  z.ZodObject<{
289
- Attribute: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
73
+ Attribute: z.ZodArray<z.ZodObject<{}, z.core.$strip>>;
290
74
  ":@": z.ZodObject<{
291
75
  "@_Name": z.ZodString;
292
76
  "@_NameFormat": z.ZodString;
293
77
  "@_FriendlyName": z.ZodString;
294
78
  "@_xmlns": z.ZodString;
295
- }, "strip", z.ZodTypeAny, {
296
- "@_xmlns": string;
297
- "@_Name": string;
298
- "@_NameFormat": string;
299
- "@_FriendlyName": string;
300
- }, {
301
- "@_xmlns": string;
302
- "@_Name": string;
303
- "@_NameFormat": string;
304
- "@_FriendlyName": string;
305
- }>;
306
- }, "strip", z.ZodTypeAny, {
307
- ":@": {
308
- "@_xmlns": string;
309
- "@_Name": string;
310
- "@_NameFormat": string;
311
- "@_FriendlyName": string;
312
- };
313
- Attribute: {}[];
314
- }, {
315
- ":@": {
316
- "@_xmlns": string;
317
- "@_Name": string;
318
- "@_NameFormat": string;
319
- "@_FriendlyName": string;
320
- };
321
- Attribute: {}[];
322
- }>
323
- ]>, "many">;
324
- }, "strip", z.ZodTypeAny, {
325
- ":@": {
326
- "@_protocolSupportEnumeration": string;
327
- };
328
- IDPSSODescriptor: ({
329
- ":@": {
330
- "@_use": string;
331
- };
332
- KeyDescriptor: {
333
- ":@": {
334
- "@_xmlns": string;
335
- };
336
- KeyInfo: {
337
- X509Data: {
338
- X509Certificate: {
339
- "#text": string;
340
- }[];
341
- }[];
342
- }[];
343
- }[];
344
- } | {
345
- ":@": {
346
- "@_Binding": string;
347
- "@_Location": string;
348
- };
349
- SingleLogoutService: {}[];
350
- } | {
351
- NameIDFormat: {
352
- "#text": string;
353
- }[];
354
- } | {
355
- ":@": {
356
- "@_Binding": string;
357
- "@_Location": string;
358
- };
359
- SingleSignOnService: {}[];
360
- } | {
361
- ":@": {
362
- "@_xmlns": string;
363
- "@_Name": string;
364
- "@_NameFormat": string;
365
- "@_FriendlyName": string;
366
- };
367
- Attribute: {}[];
368
- })[];
369
- }, {
370
- ":@": {
371
- "@_protocolSupportEnumeration": string;
372
- };
373
- IDPSSODescriptor: ({
374
- ":@": {
375
- "@_use": string;
376
- };
377
- KeyDescriptor: {
378
- ":@": {
379
- "@_xmlns": string;
380
- };
381
- KeyInfo: {
382
- X509Data: {
383
- X509Certificate: {
384
- "#text": string;
385
- }[];
386
- }[];
387
- }[];
388
- }[];
389
- } | {
390
- ":@": {
391
- "@_Binding": string;
392
- "@_Location": string;
393
- };
394
- SingleLogoutService: {}[];
395
- } | {
396
- NameIDFormat: {
397
- "#text": string;
398
- }[];
399
- } | {
400
- ":@": {
401
- "@_Binding": string;
402
- "@_Location": string;
403
- };
404
- SingleSignOnService: {}[];
405
- } | {
406
- ":@": {
407
- "@_xmlns": string;
408
- "@_Name": string;
409
- "@_NameFormat": string;
410
- "@_FriendlyName": string;
411
- };
412
- Attribute: {}[];
413
- })[];
414
- }>, "many">;
415
- }, "strip", z.ZodTypeAny, {
416
- ":@": {
417
- "@_xmlns": string;
418
- "@_entityID": string;
419
- };
420
- EntityDescriptor: {
421
- ":@": {
422
- "@_protocolSupportEnumeration": string;
423
- };
424
- IDPSSODescriptor: ({
425
- ":@": {
426
- "@_use": string;
427
- };
428
- KeyDescriptor: {
429
- ":@": {
430
- "@_xmlns": string;
431
- };
432
- KeyInfo: {
433
- X509Data: {
434
- X509Certificate: {
435
- "#text": string;
436
- }[];
437
- }[];
438
- }[];
439
- }[];
440
- } | {
441
- ":@": {
442
- "@_Binding": string;
443
- "@_Location": string;
444
- };
445
- SingleLogoutService: {}[];
446
- } | {
447
- NameIDFormat: {
448
- "#text": string;
449
- }[];
450
- } | {
451
- ":@": {
452
- "@_Binding": string;
453
- "@_Location": string;
454
- };
455
- SingleSignOnService: {}[];
456
- } | {
457
- ":@": {
458
- "@_xmlns": string;
459
- "@_Name": string;
460
- "@_NameFormat": string;
461
- "@_FriendlyName": string;
462
- };
463
- Attribute: {}[];
464
- })[];
465
- }[];
466
- }, {
467
- ":@": {
468
- "@_xmlns": string;
469
- "@_entityID": string;
470
- };
471
- EntityDescriptor: {
472
- ":@": {
473
- "@_protocolSupportEnumeration": string;
474
- };
475
- IDPSSODescriptor: ({
476
- ":@": {
477
- "@_use": string;
478
- };
479
- KeyDescriptor: {
480
- ":@": {
481
- "@_xmlns": string;
482
- };
483
- KeyInfo: {
484
- X509Data: {
485
- X509Certificate: {
486
- "#text": string;
487
- }[];
488
- }[];
489
- }[];
490
- }[];
491
- } | {
492
- ":@": {
493
- "@_Binding": string;
494
- "@_Location": string;
495
- };
496
- SingleLogoutService: {}[];
497
- } | {
498
- NameIDFormat: {
499
- "#text": string;
500
- }[];
501
- } | {
502
- ":@": {
503
- "@_Binding": string;
504
- "@_Location": string;
505
- };
506
- SingleSignOnService: {}[];
507
- } | {
508
- ":@": {
509
- "@_xmlns": string;
510
- "@_Name": string;
511
- "@_NameFormat": string;
512
- "@_FriendlyName": string;
513
- };
514
- Attribute: {}[];
515
- })[];
516
- }[];
517
- }>, "many">;
79
+ }, z.core.$strip>;
80
+ }, z.core.$strip>
81
+ ]>>;
82
+ }, z.core.$strip>>;
83
+ }, z.core.$strip>>;
518
84
  export type SAMLMetadataResponse = z.infer<typeof samlMetadataResponseSchema>;
519
85
  export declare const dsSignatureSchema: z.ZodObject<{
520
- "ds:Signature": z.ZodArray<z.ZodUnion<[
86
+ "ds:Signature": z.ZodArray<z.ZodUnion<readonly [
521
87
  z.ZodObject<{
522
- "ds:SignedInfo": z.ZodArray<z.ZodUnion<[
88
+ "ds:SignedInfo": z.ZodArray<z.ZodUnion<readonly [
523
89
  z.ZodObject<{
524
90
  "ds:CanonicalizationMethod": z.ZodArray<z.ZodObject<{
525
91
  ":@": z.ZodObject<{
526
92
  "@_Algorithm": z.ZodString;
527
- }, "strip", z.ZodTypeAny, {
528
- "@_Algorithm": string;
529
- }, {
530
- "@_Algorithm": string;
531
- }>;
532
- }, "strip", z.ZodTypeAny, {
533
- ":@": {
534
- "@_Algorithm": string;
535
- };
536
- }, {
537
- ":@": {
538
- "@_Algorithm": string;
539
- };
540
- }>, "many">;
541
- }, "strip", z.ZodTypeAny, {
542
- "ds:CanonicalizationMethod": {
543
- ":@": {
544
- "@_Algorithm": string;
545
- };
546
- }[];
547
- }, {
548
- "ds:CanonicalizationMethod": {
549
- ":@": {
550
- "@_Algorithm": string;
551
- };
552
- }[];
553
- }>,
93
+ }, z.core.$strip>;
94
+ }, z.core.$strip>>;
95
+ }, z.core.$strip>,
554
96
  z.ZodObject<{
555
97
  "ds:SignatureMethod": z.ZodArray<z.ZodObject<{
556
98
  ":@": z.ZodObject<{
557
99
  "@_Algorithm": z.ZodString;
558
- }, "strip", z.ZodTypeAny, {
559
- "@_Algorithm": string;
560
- }, {
561
- "@_Algorithm": string;
562
- }>;
563
- }, "strip", z.ZodTypeAny, {
564
- ":@": {
565
- "@_Algorithm": string;
566
- };
567
- }, {
568
- ":@": {
569
- "@_Algorithm": string;
570
- };
571
- }>, "many">;
572
- }, "strip", z.ZodTypeAny, {
573
- "ds:SignatureMethod": {
574
- ":@": {
575
- "@_Algorithm": string;
576
- };
577
- }[];
578
- }, {
579
- "ds:SignatureMethod": {
580
- ":@": {
581
- "@_Algorithm": string;
582
- };
583
- }[];
584
- }>,
100
+ }, z.core.$strip>;
101
+ }, z.core.$strip>>;
102
+ }, z.core.$strip>,
585
103
  z.ZodObject<{
586
- "ds:Reference": z.ZodArray<z.ZodUnion<[
104
+ "ds:Reference": z.ZodArray<z.ZodUnion<readonly [
587
105
  z.ZodObject<{
588
106
  "ds:Transforms": z.ZodArray<z.ZodObject<{
589
- "ds:Transform": z.ZodArray<z.ZodAny, "many">;
107
+ "ds:Transform": z.ZodArray<z.ZodAny>;
590
108
  ":@": z.ZodObject<{
591
109
  "@_Algorithm": z.ZodString;
592
- }, "strip", z.ZodTypeAny, {
593
- "@_Algorithm": string;
594
- }, {
595
- "@_Algorithm": string;
596
- }>;
597
- }, "strip", z.ZodTypeAny, {
598
- ":@": {
599
- "@_Algorithm": string;
600
- };
601
- "ds:Transform": any[];
602
- }, {
603
- ":@": {
604
- "@_Algorithm": string;
605
- };
606
- "ds:Transform": any[];
607
- }>, "many">;
608
- }, "strip", z.ZodTypeAny, {
609
- "ds:Transforms": {
610
- ":@": {
611
- "@_Algorithm": string;
612
- };
613
- "ds:Transform": any[];
614
- }[];
615
- }, {
616
- "ds:Transforms": {
617
- ":@": {
618
- "@_Algorithm": string;
619
- };
620
- "ds:Transform": any[];
621
- }[];
622
- }>,
110
+ }, z.core.$strip>;
111
+ }, z.core.$strip>>;
112
+ }, z.core.$strip>,
623
113
  z.ZodObject<{
624
114
  "ds:DigestMethod": z.ZodArray<z.ZodObject<{
625
115
  ":@": z.ZodObject<{
626
116
  "@_Algorithm": z.ZodString;
627
- }, "strip", z.ZodTypeAny, {
628
- "@_Algorithm": string;
629
- }, {
630
- "@_Algorithm": string;
631
- }>;
632
- }, "strip", z.ZodTypeAny, {
633
- ":@": {
634
- "@_Algorithm": string;
635
- };
636
- }, {
637
- ":@": {
638
- "@_Algorithm": string;
639
- };
640
- }>, "many">;
641
- }, "strip", z.ZodTypeAny, {
642
- "ds:DigestMethod": {
643
- ":@": {
644
- "@_Algorithm": string;
645
- };
646
- }[];
647
- }, {
648
- "ds:DigestMethod": {
649
- ":@": {
650
- "@_Algorithm": string;
651
- };
652
- }[];
653
- }>,
117
+ }, z.core.$strip>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>,
654
120
  z.ZodObject<{
655
121
  "ds:DigestValue": z.ZodArray<z.ZodObject<{
656
122
  "#text": z.ZodString;
657
- }, "strip", z.ZodTypeAny, {
658
- "#text": string;
659
- }, {
660
- "#text": string;
661
- }>, "many">;
662
- }, "strip", z.ZodTypeAny, {
663
- "ds:DigestValue": {
664
- "#text": string;
665
- }[];
666
- }, {
667
- "ds:DigestValue": {
668
- "#text": string;
669
- }[];
670
- }>
671
- ]>, "many">;
123
+ }, z.core.$strip>>;
124
+ }, z.core.$strip>
125
+ ]>>;
672
126
  ":@": z.ZodOptional<z.ZodObject<{
673
127
  "@_URI": z.ZodOptional<z.ZodString>;
674
- }, "strip", z.ZodTypeAny, {
675
- "@_URI"?: string | undefined;
676
- }, {
677
- "@_URI"?: string | undefined;
678
- }>>;
679
- }, "strip", z.ZodTypeAny, {
680
- "ds:Reference": ({
681
- "ds:Transforms": {
682
- ":@": {
683
- "@_Algorithm": string;
684
- };
685
- "ds:Transform": any[];
686
- }[];
687
- } | {
688
- "ds:DigestMethod": {
689
- ":@": {
690
- "@_Algorithm": string;
691
- };
692
- }[];
693
- } | {
694
- "ds:DigestValue": {
695
- "#text": string;
696
- }[];
697
- })[];
698
- ":@"?: {
699
- "@_URI"?: string | undefined;
700
- } | undefined;
701
- }, {
702
- "ds:Reference": ({
703
- "ds:Transforms": {
704
- ":@": {
705
- "@_Algorithm": string;
706
- };
707
- "ds:Transform": any[];
708
- }[];
709
- } | {
710
- "ds:DigestMethod": {
711
- ":@": {
712
- "@_Algorithm": string;
713
- };
714
- }[];
715
- } | {
716
- "ds:DigestValue": {
717
- "#text": string;
718
- }[];
719
- })[];
720
- ":@"?: {
721
- "@_URI"?: string | undefined;
722
- } | undefined;
723
- }>
724
- ]>, "many">;
725
- }, "strip", z.ZodTypeAny, {
726
- "ds:SignedInfo": ({
727
- "ds:CanonicalizationMethod": {
728
- ":@": {
729
- "@_Algorithm": string;
730
- };
731
- }[];
732
- } | {
733
- "ds:SignatureMethod": {
734
- ":@": {
735
- "@_Algorithm": string;
736
- };
737
- }[];
738
- } | {
739
- "ds:Reference": ({
740
- "ds:Transforms": {
741
- ":@": {
742
- "@_Algorithm": string;
743
- };
744
- "ds:Transform": any[];
745
- }[];
746
- } | {
747
- "ds:DigestMethod": {
748
- ":@": {
749
- "@_Algorithm": string;
750
- };
751
- }[];
752
- } | {
753
- "ds:DigestValue": {
754
- "#text": string;
755
- }[];
756
- })[];
757
- ":@"?: {
758
- "@_URI"?: string | undefined;
759
- } | undefined;
760
- })[];
761
- }, {
762
- "ds:SignedInfo": ({
763
- "ds:CanonicalizationMethod": {
764
- ":@": {
765
- "@_Algorithm": string;
766
- };
767
- }[];
768
- } | {
769
- "ds:SignatureMethod": {
770
- ":@": {
771
- "@_Algorithm": string;
772
- };
773
- }[];
774
- } | {
775
- "ds:Reference": ({
776
- "ds:Transforms": {
777
- ":@": {
778
- "@_Algorithm": string;
779
- };
780
- "ds:Transform": any[];
781
- }[];
782
- } | {
783
- "ds:DigestMethod": {
784
- ":@": {
785
- "@_Algorithm": string;
786
- };
787
- }[];
788
- } | {
789
- "ds:DigestValue": {
790
- "#text": string;
791
- }[];
792
- })[];
793
- ":@"?: {
794
- "@_URI"?: string | undefined;
795
- } | undefined;
796
- })[];
797
- }>,
128
+ }, z.core.$strip>>;
129
+ }, z.core.$strip>
130
+ ]>>;
131
+ }, z.core.$strip>,
798
132
  z.ZodObject<{
799
133
  "ds:SignatureValue": z.ZodArray<z.ZodObject<{
800
134
  "#text": z.ZodString;
801
- }, "strip", z.ZodTypeAny, {
802
- "#text": string;
803
- }, {
804
- "#text": string;
805
- }>, "many">;
806
- }, "strip", z.ZodTypeAny, {
807
- "ds:SignatureValue": {
808
- "#text": string;
809
- }[];
810
- }, {
811
- "ds:SignatureValue": {
812
- "#text": string;
813
- }[];
814
- }>,
135
+ }, z.core.$strip>>;
136
+ }, z.core.$strip>,
815
137
  z.ZodObject<{
816
- "ds:KeyInfo": z.ZodArray<z.ZodUnion<[
138
+ "ds:KeyInfo": z.ZodArray<z.ZodUnion<readonly [
817
139
  z.ZodObject<{
818
140
  "ds:KeyValue": z.ZodArray<z.ZodObject<{
819
- "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<[
141
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [
820
142
  z.ZodObject<{
821
143
  "ds:Modulus": z.ZodArray<z.ZodObject<{
822
144
  "#text": z.ZodString;
823
- }, "strip", z.ZodTypeAny, {
824
- "#text": string;
825
- }, {
826
- "#text": string;
827
- }>, "many">;
828
- }, "strip", z.ZodTypeAny, {
829
- "ds:Modulus": {
830
- "#text": string;
831
- }[];
832
- }, {
833
- "ds:Modulus": {
834
- "#text": string;
835
- }[];
836
- }>,
145
+ }, z.core.$strip>>;
146
+ }, z.core.$strip>,
837
147
  z.ZodObject<{
838
148
  "ds:Exponent": z.ZodArray<z.ZodObject<{
839
149
  "#text": z.ZodString;
840
- }, "strip", z.ZodTypeAny, {
841
- "#text": string;
842
- }, {
843
- "#text": string;
844
- }>, "many">;
845
- }, "strip", z.ZodTypeAny, {
846
- "ds:Exponent": {
847
- "#text": string;
848
- }[];
849
- }, {
850
- "ds:Exponent": {
851
- "#text": string;
852
- }[];
853
- }>
854
- ]>, "many">;
855
- }, "strip", z.ZodTypeAny, {
856
- "ds:RSAKeyValue": ({
857
- "ds:Modulus": {
858
- "#text": string;
859
- }[];
860
- } | {
861
- "ds:Exponent": {
862
- "#text": string;
863
- }[];
864
- })[];
865
- }, {
866
- "ds:RSAKeyValue": ({
867
- "ds:Modulus": {
868
- "#text": string;
869
- }[];
870
- } | {
871
- "ds:Exponent": {
872
- "#text": string;
873
- }[];
874
- })[];
875
- }>, "many">;
876
- }, "strip", z.ZodTypeAny, {
877
- "ds:KeyValue": {
878
- "ds:RSAKeyValue": ({
879
- "ds:Modulus": {
880
- "#text": string;
881
- }[];
882
- } | {
883
- "ds:Exponent": {
884
- "#text": string;
885
- }[];
886
- })[];
887
- }[];
888
- }, {
889
- "ds:KeyValue": {
890
- "ds:RSAKeyValue": ({
891
- "ds:Modulus": {
892
- "#text": string;
893
- }[];
894
- } | {
895
- "ds:Exponent": {
896
- "#text": string;
897
- }[];
898
- })[];
899
- }[];
900
- }>,
150
+ }, z.core.$strip>>;
151
+ }, z.core.$strip>
152
+ ]>>;
153
+ }, z.core.$strip>>;
154
+ }, z.core.$strip>,
901
155
  z.ZodObject<{
902
156
  "ds:X509Data": z.ZodArray<z.ZodObject<{
903
157
  "ds:X509Certificate": z.ZodArray<z.ZodObject<{
904
158
  "#text": z.ZodString;
905
- }, "strip", z.ZodTypeAny, {
906
- "#text": string;
907
- }, {
908
- "#text": string;
909
- }>, "many">;
910
- }, "strip", z.ZodTypeAny, {
911
- "ds:X509Certificate": {
912
- "#text": string;
913
- }[];
914
- }, {
915
- "ds:X509Certificate": {
916
- "#text": string;
917
- }[];
918
- }>, "many">;
919
- }, "strip", z.ZodTypeAny, {
920
- "ds:X509Data": {
921
- "ds:X509Certificate": {
922
- "#text": string;
923
- }[];
924
- }[];
925
- }, {
926
- "ds:X509Data": {
927
- "ds:X509Certificate": {
928
- "#text": string;
929
- }[];
930
- }[];
931
- }>,
159
+ }, z.core.$strip>>;
160
+ }, z.core.$strip>>;
161
+ }, z.core.$strip>,
932
162
  z.ZodObject<{
933
163
  "ds:KeyValue": z.ZodArray<z.ZodObject<{
934
- "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<[
164
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [
935
165
  z.ZodObject<{
936
166
  "ds:Modulus": z.ZodArray<z.ZodObject<{
937
167
  "#text": z.ZodString;
938
- }, "strip", z.ZodTypeAny, {
939
- "#text": string;
940
- }, {
941
- "#text": string;
942
- }>, "many">;
943
- }, "strip", z.ZodTypeAny, {
944
- "ds:Modulus": {
945
- "#text": string;
946
- }[];
947
- }, {
948
- "ds:Modulus": {
949
- "#text": string;
950
- }[];
951
- }>,
168
+ }, z.core.$strip>>;
169
+ }, z.core.$strip>,
952
170
  z.ZodObject<{
953
171
  "ds:Exponent": z.ZodArray<z.ZodObject<{
954
172
  "#text": z.ZodString;
955
- }, "strip", z.ZodTypeAny, {
956
- "#text": string;
957
- }, {
958
- "#text": string;
959
- }>, "many">;
960
- }, "strip", z.ZodTypeAny, {
961
- "ds:Exponent": {
962
- "#text": string;
963
- }[];
964
- }, {
965
- "ds:Exponent": {
966
- "#text": string;
967
- }[];
968
- }>
969
- ]>, "many">;
970
- }, "strip", z.ZodTypeAny, {
971
- "ds:RSAKeyValue": ({
972
- "ds:Modulus": {
973
- "#text": string;
974
- }[];
975
- } | {
976
- "ds:Exponent": {
977
- "#text": string;
978
- }[];
979
- })[];
980
- }, {
981
- "ds:RSAKeyValue": ({
982
- "ds:Modulus": {
983
- "#text": string;
984
- }[];
985
- } | {
986
- "ds:Exponent": {
987
- "#text": string;
988
- }[];
989
- })[];
990
- }>, "many">;
173
+ }, z.core.$strip>>;
174
+ }, z.core.$strip>
175
+ ]>>;
176
+ }, z.core.$strip>>;
991
177
  "ds:X509Data": z.ZodArray<z.ZodObject<{
992
178
  "ds:X509Certificate": z.ZodArray<z.ZodObject<{
993
179
  "#text": z.ZodString;
994
- }, "strip", z.ZodTypeAny, {
995
- "#text": string;
996
- }, {
997
- "#text": string;
998
- }>, "many">;
999
- }, "strip", z.ZodTypeAny, {
1000
- "ds:X509Certificate": {
1001
- "#text": string;
1002
- }[];
1003
- }, {
1004
- "ds:X509Certificate": {
1005
- "#text": string;
1006
- }[];
1007
- }>, "many">;
1008
- }, "strip", z.ZodTypeAny, {
1009
- "ds:KeyValue": {
1010
- "ds:RSAKeyValue": ({
1011
- "ds:Modulus": {
1012
- "#text": string;
1013
- }[];
1014
- } | {
1015
- "ds:Exponent": {
1016
- "#text": string;
1017
- }[];
1018
- })[];
1019
- }[];
1020
- "ds:X509Data": {
1021
- "ds:X509Certificate": {
1022
- "#text": string;
1023
- }[];
1024
- }[];
1025
- }, {
1026
- "ds:KeyValue": {
1027
- "ds:RSAKeyValue": ({
1028
- "ds:Modulus": {
1029
- "#text": string;
1030
- }[];
1031
- } | {
1032
- "ds:Exponent": {
1033
- "#text": string;
1034
- }[];
1035
- })[];
1036
- }[];
1037
- "ds:X509Data": {
1038
- "ds:X509Certificate": {
1039
- "#text": string;
1040
- }[];
1041
- }[];
1042
- }>
1043
- ]>, "many">;
1044
- }, "strip", z.ZodTypeAny, {
1045
- "ds:KeyInfo": ({
1046
- "ds:KeyValue": {
1047
- "ds:RSAKeyValue": ({
1048
- "ds:Modulus": {
1049
- "#text": string;
1050
- }[];
1051
- } | {
1052
- "ds:Exponent": {
1053
- "#text": string;
1054
- }[];
1055
- })[];
1056
- }[];
1057
- } | {
1058
- "ds:X509Data": {
1059
- "ds:X509Certificate": {
1060
- "#text": string;
1061
- }[];
1062
- }[];
1063
- } | {
1064
- "ds:KeyValue": {
1065
- "ds:RSAKeyValue": ({
1066
- "ds:Modulus": {
1067
- "#text": string;
1068
- }[];
1069
- } | {
1070
- "ds:Exponent": {
1071
- "#text": string;
1072
- }[];
1073
- })[];
1074
- }[];
1075
- "ds:X509Data": {
1076
- "ds:X509Certificate": {
1077
- "#text": string;
1078
- }[];
1079
- }[];
1080
- })[];
1081
- }, {
1082
- "ds:KeyInfo": ({
1083
- "ds:KeyValue": {
1084
- "ds:RSAKeyValue": ({
1085
- "ds:Modulus": {
1086
- "#text": string;
1087
- }[];
1088
- } | {
1089
- "ds:Exponent": {
1090
- "#text": string;
1091
- }[];
1092
- })[];
1093
- }[];
1094
- } | {
1095
- "ds:X509Data": {
1096
- "ds:X509Certificate": {
1097
- "#text": string;
1098
- }[];
1099
- }[];
1100
- } | {
1101
- "ds:KeyValue": {
1102
- "ds:RSAKeyValue": ({
1103
- "ds:Modulus": {
1104
- "#text": string;
1105
- }[];
1106
- } | {
1107
- "ds:Exponent": {
1108
- "#text": string;
1109
- }[];
1110
- })[];
1111
- }[];
1112
- "ds:X509Data": {
1113
- "ds:X509Certificate": {
1114
- "#text": string;
1115
- }[];
1116
- }[];
1117
- })[];
1118
- }>
1119
- ]>, "many">;
180
+ }, z.core.$strip>>;
181
+ }, z.core.$strip>>;
182
+ }, z.core.$strip>
183
+ ]>>;
184
+ }, z.core.$strip>
185
+ ]>>;
1120
186
  ":@": z.ZodOptional<z.ZodObject<{
1121
187
  "@_xmlns:ds": z.ZodOptional<z.ZodString>;
1122
- }, "strip", z.ZodTypeAny, {
1123
- "@_xmlns:ds"?: string | undefined;
1124
- }, {
1125
- "@_xmlns:ds"?: string | undefined;
1126
- }>>;
1127
- }, "strip", z.ZodTypeAny, {
1128
- "ds:Signature": ({
1129
- "ds:SignedInfo": ({
1130
- "ds:CanonicalizationMethod": {
1131
- ":@": {
1132
- "@_Algorithm": string;
1133
- };
1134
- }[];
1135
- } | {
1136
- "ds:SignatureMethod": {
1137
- ":@": {
1138
- "@_Algorithm": string;
1139
- };
1140
- }[];
1141
- } | {
1142
- "ds:Reference": ({
1143
- "ds:Transforms": {
1144
- ":@": {
1145
- "@_Algorithm": string;
1146
- };
1147
- "ds:Transform": any[];
1148
- }[];
1149
- } | {
1150
- "ds:DigestMethod": {
1151
- ":@": {
1152
- "@_Algorithm": string;
1153
- };
1154
- }[];
1155
- } | {
1156
- "ds:DigestValue": {
1157
- "#text": string;
1158
- }[];
1159
- })[];
1160
- ":@"?: {
1161
- "@_URI"?: string | undefined;
1162
- } | undefined;
1163
- })[];
1164
- } | {
1165
- "ds:SignatureValue": {
1166
- "#text": string;
1167
- }[];
1168
- } | {
1169
- "ds:KeyInfo": ({
1170
- "ds:KeyValue": {
1171
- "ds:RSAKeyValue": ({
1172
- "ds:Modulus": {
1173
- "#text": string;
1174
- }[];
1175
- } | {
1176
- "ds:Exponent": {
1177
- "#text": string;
1178
- }[];
1179
- })[];
1180
- }[];
1181
- } | {
1182
- "ds:X509Data": {
1183
- "ds:X509Certificate": {
1184
- "#text": string;
1185
- }[];
1186
- }[];
1187
- } | {
1188
- "ds:KeyValue": {
1189
- "ds:RSAKeyValue": ({
1190
- "ds:Modulus": {
1191
- "#text": string;
1192
- }[];
1193
- } | {
1194
- "ds:Exponent": {
1195
- "#text": string;
1196
- }[];
1197
- })[];
1198
- }[];
1199
- "ds:X509Data": {
1200
- "ds:X509Certificate": {
1201
- "#text": string;
1202
- }[];
1203
- }[];
1204
- })[];
1205
- })[];
1206
- ":@"?: {
1207
- "@_xmlns:ds"?: string | undefined;
1208
- } | undefined;
1209
- }, {
1210
- "ds:Signature": ({
1211
- "ds:SignedInfo": ({
1212
- "ds:CanonicalizationMethod": {
1213
- ":@": {
1214
- "@_Algorithm": string;
1215
- };
1216
- }[];
1217
- } | {
1218
- "ds:SignatureMethod": {
1219
- ":@": {
1220
- "@_Algorithm": string;
1221
- };
1222
- }[];
1223
- } | {
1224
- "ds:Reference": ({
1225
- "ds:Transforms": {
1226
- ":@": {
1227
- "@_Algorithm": string;
1228
- };
1229
- "ds:Transform": any[];
1230
- }[];
1231
- } | {
1232
- "ds:DigestMethod": {
1233
- ":@": {
1234
- "@_Algorithm": string;
1235
- };
1236
- }[];
1237
- } | {
1238
- "ds:DigestValue": {
1239
- "#text": string;
1240
- }[];
1241
- })[];
1242
- ":@"?: {
1243
- "@_URI"?: string | undefined;
1244
- } | undefined;
1245
- })[];
1246
- } | {
1247
- "ds:SignatureValue": {
1248
- "#text": string;
1249
- }[];
1250
- } | {
1251
- "ds:KeyInfo": ({
1252
- "ds:KeyValue": {
1253
- "ds:RSAKeyValue": ({
1254
- "ds:Modulus": {
1255
- "#text": string;
1256
- }[];
1257
- } | {
1258
- "ds:Exponent": {
1259
- "#text": string;
1260
- }[];
1261
- })[];
1262
- }[];
1263
- } | {
1264
- "ds:X509Data": {
1265
- "ds:X509Certificate": {
1266
- "#text": string;
1267
- }[];
1268
- }[];
1269
- } | {
1270
- "ds:KeyValue": {
1271
- "ds:RSAKeyValue": ({
1272
- "ds:Modulus": {
1273
- "#text": string;
1274
- }[];
1275
- } | {
1276
- "ds:Exponent": {
1277
- "#text": string;
1278
- }[];
1279
- })[];
1280
- }[];
1281
- "ds:X509Data": {
1282
- "ds:X509Certificate": {
1283
- "#text": string;
1284
- }[];
1285
- }[];
1286
- })[];
1287
- })[];
1288
- ":@"?: {
1289
- "@_xmlns:ds"?: string | undefined;
1290
- } | undefined;
1291
- }>;
188
+ }, z.core.$strip>>;
189
+ }, z.core.$strip>;
1292
190
  export type DSIGSignature = z.infer<typeof dsSignatureSchema>;
1293
191
  export declare const samlResponseJsonSchema: z.ZodArray<z.ZodObject<{
1294
- "samlp:Response": z.ZodArray<z.ZodUnion<[
192
+ "samlp:Response": z.ZodArray<z.ZodUnion<readonly [
1295
193
  z.ZodObject<{
1296
194
  "saml:Issuer": z.ZodArray<z.ZodObject<{
1297
195
  "#text": z.ZodString;
1298
- }, "strip", z.ZodTypeAny, {
1299
- "#text": string;
1300
- }, {
1301
- "#text": string;
1302
- }>, "many">;
1303
- }, "strip", z.ZodTypeAny, {
1304
- "saml:Issuer": {
1305
- "#text": string;
1306
- }[];
1307
- }, {
1308
- "saml:Issuer": {
1309
- "#text": string;
1310
- }[];
1311
- }>,
196
+ }, z.core.$strip>>;
197
+ }, z.core.$strip>,
1312
198
  z.ZodObject<{
1313
- "ds:Signature": z.ZodArray<z.ZodUnion<[
199
+ "ds:Signature": z.ZodArray<z.ZodUnion<readonly [
1314
200
  z.ZodObject<{
1315
- "ds:SignedInfo": z.ZodArray<z.ZodUnion<[
201
+ "ds:SignedInfo": z.ZodArray<z.ZodUnion<readonly [
1316
202
  z.ZodObject<{
1317
203
  "ds:CanonicalizationMethod": z.ZodArray<z.ZodObject<{
1318
204
  ":@": z.ZodObject<{
1319
205
  "@_Algorithm": z.ZodString;
1320
- }, "strip", z.ZodTypeAny, {
1321
- "@_Algorithm": string;
1322
- }, {
1323
- "@_Algorithm": string;
1324
- }>;
1325
- }, "strip", z.ZodTypeAny, {
1326
- ":@": {
1327
- "@_Algorithm": string;
1328
- };
1329
- }, {
1330
- ":@": {
1331
- "@_Algorithm": string;
1332
- };
1333
- }>, "many">;
1334
- }, "strip", z.ZodTypeAny, {
1335
- "ds:CanonicalizationMethod": {
1336
- ":@": {
1337
- "@_Algorithm": string;
1338
- };
1339
- }[];
1340
- }, {
1341
- "ds:CanonicalizationMethod": {
1342
- ":@": {
1343
- "@_Algorithm": string;
1344
- };
1345
- }[];
1346
- }>,
206
+ }, z.core.$strip>;
207
+ }, z.core.$strip>>;
208
+ }, z.core.$strip>,
1347
209
  z.ZodObject<{
1348
210
  "ds:SignatureMethod": z.ZodArray<z.ZodObject<{
1349
211
  ":@": z.ZodObject<{
1350
212
  "@_Algorithm": z.ZodString;
1351
- }, "strip", z.ZodTypeAny, {
1352
- "@_Algorithm": string;
1353
- }, {
1354
- "@_Algorithm": string;
1355
- }>;
1356
- }, "strip", z.ZodTypeAny, {
1357
- ":@": {
1358
- "@_Algorithm": string;
1359
- };
1360
- }, {
1361
- ":@": {
1362
- "@_Algorithm": string;
1363
- };
1364
- }>, "many">;
1365
- }, "strip", z.ZodTypeAny, {
1366
- "ds:SignatureMethod": {
1367
- ":@": {
1368
- "@_Algorithm": string;
1369
- };
1370
- }[];
1371
- }, {
1372
- "ds:SignatureMethod": {
1373
- ":@": {
1374
- "@_Algorithm": string;
1375
- };
1376
- }[];
1377
- }>,
213
+ }, z.core.$strip>;
214
+ }, z.core.$strip>>;
215
+ }, z.core.$strip>,
1378
216
  z.ZodObject<{
1379
- "ds:Reference": z.ZodArray<z.ZodUnion<[
217
+ "ds:Reference": z.ZodArray<z.ZodUnion<readonly [
1380
218
  z.ZodObject<{
1381
219
  "ds:Transforms": z.ZodArray<z.ZodObject<{
1382
- "ds:Transform": z.ZodArray<z.ZodAny, "many">;
220
+ "ds:Transform": z.ZodArray<z.ZodAny>;
1383
221
  ":@": z.ZodObject<{
1384
222
  "@_Algorithm": z.ZodString;
1385
- }, "strip", z.ZodTypeAny, {
1386
- "@_Algorithm": string;
1387
- }, {
1388
- "@_Algorithm": string;
1389
- }>;
1390
- }, "strip", z.ZodTypeAny, {
1391
- ":@": {
1392
- "@_Algorithm": string;
1393
- };
1394
- "ds:Transform": any[];
1395
- }, {
1396
- ":@": {
1397
- "@_Algorithm": string;
1398
- };
1399
- "ds:Transform": any[];
1400
- }>, "many">;
1401
- }, "strip", z.ZodTypeAny, {
1402
- "ds:Transforms": {
1403
- ":@": {
1404
- "@_Algorithm": string;
1405
- };
1406
- "ds:Transform": any[];
1407
- }[];
1408
- }, {
1409
- "ds:Transforms": {
1410
- ":@": {
1411
- "@_Algorithm": string;
1412
- };
1413
- "ds:Transform": any[];
1414
- }[];
1415
- }>,
223
+ }, z.core.$strip>;
224
+ }, z.core.$strip>>;
225
+ }, z.core.$strip>,
1416
226
  z.ZodObject<{
1417
227
  "ds:DigestMethod": z.ZodArray<z.ZodObject<{
1418
228
  ":@": z.ZodObject<{
1419
229
  "@_Algorithm": z.ZodString;
1420
- }, "strip", z.ZodTypeAny, {
1421
- "@_Algorithm": string;
1422
- }, {
1423
- "@_Algorithm": string;
1424
- }>;
1425
- }, "strip", z.ZodTypeAny, {
1426
- ":@": {
1427
- "@_Algorithm": string;
1428
- };
1429
- }, {
1430
- ":@": {
1431
- "@_Algorithm": string;
1432
- };
1433
- }>, "many">;
1434
- }, "strip", z.ZodTypeAny, {
1435
- "ds:DigestMethod": {
1436
- ":@": {
1437
- "@_Algorithm": string;
1438
- };
1439
- }[];
1440
- }, {
1441
- "ds:DigestMethod": {
1442
- ":@": {
1443
- "@_Algorithm": string;
1444
- };
1445
- }[];
1446
- }>,
230
+ }, z.core.$strip>;
231
+ }, z.core.$strip>>;
232
+ }, z.core.$strip>,
1447
233
  z.ZodObject<{
1448
234
  "ds:DigestValue": z.ZodArray<z.ZodObject<{
1449
235
  "#text": z.ZodString;
1450
- }, "strip", z.ZodTypeAny, {
1451
- "#text": string;
1452
- }, {
1453
- "#text": string;
1454
- }>, "many">;
1455
- }, "strip", z.ZodTypeAny, {
1456
- "ds:DigestValue": {
1457
- "#text": string;
1458
- }[];
1459
- }, {
1460
- "ds:DigestValue": {
1461
- "#text": string;
1462
- }[];
1463
- }>
1464
- ]>, "many">;
236
+ }, z.core.$strip>>;
237
+ }, z.core.$strip>
238
+ ]>>;
1465
239
  ":@": z.ZodOptional<z.ZodObject<{
1466
240
  "@_URI": z.ZodOptional<z.ZodString>;
1467
- }, "strip", z.ZodTypeAny, {
1468
- "@_URI"?: string | undefined;
1469
- }, {
1470
- "@_URI"?: string | undefined;
1471
- }>>;
1472
- }, "strip", z.ZodTypeAny, {
1473
- "ds:Reference": ({
1474
- "ds:Transforms": {
1475
- ":@": {
1476
- "@_Algorithm": string;
1477
- };
1478
- "ds:Transform": any[];
1479
- }[];
1480
- } | {
1481
- "ds:DigestMethod": {
1482
- ":@": {
1483
- "@_Algorithm": string;
1484
- };
1485
- }[];
1486
- } | {
1487
- "ds:DigestValue": {
1488
- "#text": string;
1489
- }[];
1490
- })[];
1491
- ":@"?: {
1492
- "@_URI"?: string | undefined;
1493
- } | undefined;
1494
- }, {
1495
- "ds:Reference": ({
1496
- "ds:Transforms": {
1497
- ":@": {
1498
- "@_Algorithm": string;
1499
- };
1500
- "ds:Transform": any[];
1501
- }[];
1502
- } | {
1503
- "ds:DigestMethod": {
1504
- ":@": {
1505
- "@_Algorithm": string;
1506
- };
1507
- }[];
1508
- } | {
1509
- "ds:DigestValue": {
1510
- "#text": string;
1511
- }[];
1512
- })[];
1513
- ":@"?: {
1514
- "@_URI"?: string | undefined;
1515
- } | undefined;
1516
- }>
1517
- ]>, "many">;
1518
- }, "strip", z.ZodTypeAny, {
1519
- "ds:SignedInfo": ({
1520
- "ds:CanonicalizationMethod": {
1521
- ":@": {
1522
- "@_Algorithm": string;
1523
- };
1524
- }[];
1525
- } | {
1526
- "ds:SignatureMethod": {
1527
- ":@": {
1528
- "@_Algorithm": string;
1529
- };
1530
- }[];
1531
- } | {
1532
- "ds:Reference": ({
1533
- "ds:Transforms": {
1534
- ":@": {
1535
- "@_Algorithm": string;
1536
- };
1537
- "ds:Transform": any[];
1538
- }[];
1539
- } | {
1540
- "ds:DigestMethod": {
1541
- ":@": {
1542
- "@_Algorithm": string;
1543
- };
1544
- }[];
1545
- } | {
1546
- "ds:DigestValue": {
1547
- "#text": string;
1548
- }[];
1549
- })[];
1550
- ":@"?: {
1551
- "@_URI"?: string | undefined;
1552
- } | undefined;
1553
- })[];
1554
- }, {
1555
- "ds:SignedInfo": ({
1556
- "ds:CanonicalizationMethod": {
1557
- ":@": {
1558
- "@_Algorithm": string;
1559
- };
1560
- }[];
1561
- } | {
1562
- "ds:SignatureMethod": {
1563
- ":@": {
1564
- "@_Algorithm": string;
1565
- };
1566
- }[];
1567
- } | {
1568
- "ds:Reference": ({
1569
- "ds:Transforms": {
1570
- ":@": {
1571
- "@_Algorithm": string;
1572
- };
1573
- "ds:Transform": any[];
1574
- }[];
1575
- } | {
1576
- "ds:DigestMethod": {
1577
- ":@": {
1578
- "@_Algorithm": string;
1579
- };
1580
- }[];
1581
- } | {
1582
- "ds:DigestValue": {
1583
- "#text": string;
1584
- }[];
1585
- })[];
1586
- ":@"?: {
1587
- "@_URI"?: string | undefined;
1588
- } | undefined;
1589
- })[];
1590
- }>,
241
+ }, z.core.$strip>>;
242
+ }, z.core.$strip>
243
+ ]>>;
244
+ }, z.core.$strip>,
1591
245
  z.ZodObject<{
1592
246
  "ds:SignatureValue": z.ZodArray<z.ZodObject<{
1593
247
  "#text": z.ZodString;
1594
- }, "strip", z.ZodTypeAny, {
1595
- "#text": string;
1596
- }, {
1597
- "#text": string;
1598
- }>, "many">;
1599
- }, "strip", z.ZodTypeAny, {
1600
- "ds:SignatureValue": {
1601
- "#text": string;
1602
- }[];
1603
- }, {
1604
- "ds:SignatureValue": {
1605
- "#text": string;
1606
- }[];
1607
- }>,
248
+ }, z.core.$strip>>;
249
+ }, z.core.$strip>,
1608
250
  z.ZodObject<{
1609
- "ds:KeyInfo": z.ZodArray<z.ZodUnion<[
251
+ "ds:KeyInfo": z.ZodArray<z.ZodUnion<readonly [
1610
252
  z.ZodObject<{
1611
253
  "ds:KeyValue": z.ZodArray<z.ZodObject<{
1612
- "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<[
254
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [
1613
255
  z.ZodObject<{
1614
256
  "ds:Modulus": z.ZodArray<z.ZodObject<{
1615
257
  "#text": z.ZodString;
1616
- }, "strip", z.ZodTypeAny, {
1617
- "#text": string;
1618
- }, {
1619
- "#text": string;
1620
- }>, "many">;
1621
- }, "strip", z.ZodTypeAny, {
1622
- "ds:Modulus": {
1623
- "#text": string;
1624
- }[];
1625
- }, {
1626
- "ds:Modulus": {
1627
- "#text": string;
1628
- }[];
1629
- }>,
258
+ }, z.core.$strip>>;
259
+ }, z.core.$strip>,
1630
260
  z.ZodObject<{
1631
261
  "ds:Exponent": z.ZodArray<z.ZodObject<{
1632
262
  "#text": z.ZodString;
1633
- }, "strip", z.ZodTypeAny, {
1634
- "#text": string;
1635
- }, {
1636
- "#text": string;
1637
- }>, "many">;
1638
- }, "strip", z.ZodTypeAny, {
1639
- "ds:Exponent": {
1640
- "#text": string;
1641
- }[];
1642
- }, {
1643
- "ds:Exponent": {
1644
- "#text": string;
1645
- }[];
1646
- }>
1647
- ]>, "many">;
1648
- }, "strip", z.ZodTypeAny, {
1649
- "ds:RSAKeyValue": ({
1650
- "ds:Modulus": {
1651
- "#text": string;
1652
- }[];
1653
- } | {
1654
- "ds:Exponent": {
1655
- "#text": string;
1656
- }[];
1657
- })[];
1658
- }, {
1659
- "ds:RSAKeyValue": ({
1660
- "ds:Modulus": {
1661
- "#text": string;
1662
- }[];
1663
- } | {
1664
- "ds:Exponent": {
1665
- "#text": string;
1666
- }[];
1667
- })[];
1668
- }>, "many">;
1669
- }, "strip", z.ZodTypeAny, {
1670
- "ds:KeyValue": {
1671
- "ds:RSAKeyValue": ({
1672
- "ds:Modulus": {
1673
- "#text": string;
1674
- }[];
1675
- } | {
1676
- "ds:Exponent": {
1677
- "#text": string;
1678
- }[];
1679
- })[];
1680
- }[];
1681
- }, {
1682
- "ds:KeyValue": {
1683
- "ds:RSAKeyValue": ({
1684
- "ds:Modulus": {
1685
- "#text": string;
1686
- }[];
1687
- } | {
1688
- "ds:Exponent": {
1689
- "#text": string;
1690
- }[];
1691
- })[];
1692
- }[];
1693
- }>,
263
+ }, z.core.$strip>>;
264
+ }, z.core.$strip>
265
+ ]>>;
266
+ }, z.core.$strip>>;
267
+ }, z.core.$strip>,
1694
268
  z.ZodObject<{
1695
269
  "ds:X509Data": z.ZodArray<z.ZodObject<{
1696
270
  "ds:X509Certificate": z.ZodArray<z.ZodObject<{
1697
271
  "#text": z.ZodString;
1698
- }, "strip", z.ZodTypeAny, {
1699
- "#text": string;
1700
- }, {
1701
- "#text": string;
1702
- }>, "many">;
1703
- }, "strip", z.ZodTypeAny, {
1704
- "ds:X509Certificate": {
1705
- "#text": string;
1706
- }[];
1707
- }, {
1708
- "ds:X509Certificate": {
1709
- "#text": string;
1710
- }[];
1711
- }>, "many">;
1712
- }, "strip", z.ZodTypeAny, {
1713
- "ds:X509Data": {
1714
- "ds:X509Certificate": {
1715
- "#text": string;
1716
- }[];
1717
- }[];
1718
- }, {
1719
- "ds:X509Data": {
1720
- "ds:X509Certificate": {
1721
- "#text": string;
1722
- }[];
1723
- }[];
1724
- }>,
272
+ }, z.core.$strip>>;
273
+ }, z.core.$strip>>;
274
+ }, z.core.$strip>,
1725
275
  z.ZodObject<{
1726
276
  "ds:KeyValue": z.ZodArray<z.ZodObject<{
1727
- "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<[
277
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [
1728
278
  z.ZodObject<{
1729
279
  "ds:Modulus": z.ZodArray<z.ZodObject<{
1730
280
  "#text": z.ZodString;
1731
- }, "strip", z.ZodTypeAny, {
1732
- "#text": string;
1733
- }, {
1734
- "#text": string;
1735
- }>, "many">;
1736
- }, "strip", z.ZodTypeAny, {
1737
- "ds:Modulus": {
1738
- "#text": string;
1739
- }[];
1740
- }, {
1741
- "ds:Modulus": {
1742
- "#text": string;
1743
- }[];
1744
- }>,
281
+ }, z.core.$strip>>;
282
+ }, z.core.$strip>,
1745
283
  z.ZodObject<{
1746
284
  "ds:Exponent": z.ZodArray<z.ZodObject<{
1747
285
  "#text": z.ZodString;
1748
- }, "strip", z.ZodTypeAny, {
1749
- "#text": string;
1750
- }, {
1751
- "#text": string;
1752
- }>, "many">;
1753
- }, "strip", z.ZodTypeAny, {
1754
- "ds:Exponent": {
1755
- "#text": string;
1756
- }[];
1757
- }, {
1758
- "ds:Exponent": {
1759
- "#text": string;
1760
- }[];
1761
- }>
1762
- ]>, "many">;
1763
- }, "strip", z.ZodTypeAny, {
1764
- "ds:RSAKeyValue": ({
1765
- "ds:Modulus": {
1766
- "#text": string;
1767
- }[];
1768
- } | {
1769
- "ds:Exponent": {
1770
- "#text": string;
1771
- }[];
1772
- })[];
1773
- }, {
1774
- "ds:RSAKeyValue": ({
1775
- "ds:Modulus": {
1776
- "#text": string;
1777
- }[];
1778
- } | {
1779
- "ds:Exponent": {
1780
- "#text": string;
1781
- }[];
1782
- })[];
1783
- }>, "many">;
286
+ }, z.core.$strip>>;
287
+ }, z.core.$strip>
288
+ ]>>;
289
+ }, z.core.$strip>>;
1784
290
  "ds:X509Data": z.ZodArray<z.ZodObject<{
1785
291
  "ds:X509Certificate": z.ZodArray<z.ZodObject<{
1786
292
  "#text": z.ZodString;
1787
- }, "strip", z.ZodTypeAny, {
1788
- "#text": string;
1789
- }, {
1790
- "#text": string;
1791
- }>, "many">;
1792
- }, "strip", z.ZodTypeAny, {
1793
- "ds:X509Certificate": {
1794
- "#text": string;
1795
- }[];
1796
- }, {
1797
- "ds:X509Certificate": {
1798
- "#text": string;
1799
- }[];
1800
- }>, "many">;
1801
- }, "strip", z.ZodTypeAny, {
1802
- "ds:KeyValue": {
1803
- "ds:RSAKeyValue": ({
1804
- "ds:Modulus": {
1805
- "#text": string;
1806
- }[];
1807
- } | {
1808
- "ds:Exponent": {
1809
- "#text": string;
1810
- }[];
1811
- })[];
1812
- }[];
1813
- "ds:X509Data": {
1814
- "ds:X509Certificate": {
1815
- "#text": string;
1816
- }[];
1817
- }[];
1818
- }, {
1819
- "ds:KeyValue": {
1820
- "ds:RSAKeyValue": ({
1821
- "ds:Modulus": {
1822
- "#text": string;
1823
- }[];
1824
- } | {
1825
- "ds:Exponent": {
1826
- "#text": string;
1827
- }[];
1828
- })[];
1829
- }[];
1830
- "ds:X509Data": {
1831
- "ds:X509Certificate": {
1832
- "#text": string;
1833
- }[];
1834
- }[];
1835
- }>
1836
- ]>, "many">;
1837
- }, "strip", z.ZodTypeAny, {
1838
- "ds:KeyInfo": ({
1839
- "ds:KeyValue": {
1840
- "ds:RSAKeyValue": ({
1841
- "ds:Modulus": {
1842
- "#text": string;
1843
- }[];
1844
- } | {
1845
- "ds:Exponent": {
1846
- "#text": string;
1847
- }[];
1848
- })[];
1849
- }[];
1850
- } | {
1851
- "ds:X509Data": {
1852
- "ds:X509Certificate": {
1853
- "#text": string;
1854
- }[];
1855
- }[];
1856
- } | {
1857
- "ds:KeyValue": {
1858
- "ds:RSAKeyValue": ({
1859
- "ds:Modulus": {
1860
- "#text": string;
1861
- }[];
1862
- } | {
1863
- "ds:Exponent": {
1864
- "#text": string;
1865
- }[];
1866
- })[];
1867
- }[];
1868
- "ds:X509Data": {
1869
- "ds:X509Certificate": {
1870
- "#text": string;
1871
- }[];
1872
- }[];
1873
- })[];
1874
- }, {
1875
- "ds:KeyInfo": ({
1876
- "ds:KeyValue": {
1877
- "ds:RSAKeyValue": ({
1878
- "ds:Modulus": {
1879
- "#text": string;
1880
- }[];
1881
- } | {
1882
- "ds:Exponent": {
1883
- "#text": string;
1884
- }[];
1885
- })[];
1886
- }[];
1887
- } | {
1888
- "ds:X509Data": {
1889
- "ds:X509Certificate": {
1890
- "#text": string;
1891
- }[];
1892
- }[];
1893
- } | {
1894
- "ds:KeyValue": {
1895
- "ds:RSAKeyValue": ({
1896
- "ds:Modulus": {
1897
- "#text": string;
1898
- }[];
1899
- } | {
1900
- "ds:Exponent": {
1901
- "#text": string;
1902
- }[];
1903
- })[];
1904
- }[];
1905
- "ds:X509Data": {
1906
- "ds:X509Certificate": {
1907
- "#text": string;
1908
- }[];
1909
- }[];
1910
- })[];
1911
- }>
1912
- ]>, "many">;
293
+ }, z.core.$strip>>;
294
+ }, z.core.$strip>>;
295
+ }, z.core.$strip>
296
+ ]>>;
297
+ }, z.core.$strip>
298
+ ]>>;
1913
299
  ":@": z.ZodOptional<z.ZodObject<{
1914
300
  "@_xmlns:ds": z.ZodOptional<z.ZodString>;
1915
- }, "strip", z.ZodTypeAny, {
1916
- "@_xmlns:ds"?: string | undefined;
1917
- }, {
1918
- "@_xmlns:ds"?: string | undefined;
1919
- }>>;
1920
- }, "strip", z.ZodTypeAny, {
1921
- "ds:Signature": ({
1922
- "ds:SignedInfo": ({
1923
- "ds:CanonicalizationMethod": {
1924
- ":@": {
1925
- "@_Algorithm": string;
1926
- };
1927
- }[];
1928
- } | {
1929
- "ds:SignatureMethod": {
1930
- ":@": {
1931
- "@_Algorithm": string;
1932
- };
1933
- }[];
1934
- } | {
1935
- "ds:Reference": ({
1936
- "ds:Transforms": {
1937
- ":@": {
1938
- "@_Algorithm": string;
1939
- };
1940
- "ds:Transform": any[];
1941
- }[];
1942
- } | {
1943
- "ds:DigestMethod": {
1944
- ":@": {
1945
- "@_Algorithm": string;
1946
- };
1947
- }[];
1948
- } | {
1949
- "ds:DigestValue": {
1950
- "#text": string;
1951
- }[];
1952
- })[];
1953
- ":@"?: {
1954
- "@_URI"?: string | undefined;
1955
- } | undefined;
1956
- })[];
1957
- } | {
1958
- "ds:SignatureValue": {
1959
- "#text": string;
1960
- }[];
1961
- } | {
1962
- "ds:KeyInfo": ({
1963
- "ds:KeyValue": {
1964
- "ds:RSAKeyValue": ({
1965
- "ds:Modulus": {
1966
- "#text": string;
1967
- }[];
1968
- } | {
1969
- "ds:Exponent": {
1970
- "#text": string;
1971
- }[];
1972
- })[];
1973
- }[];
1974
- } | {
1975
- "ds:X509Data": {
1976
- "ds:X509Certificate": {
1977
- "#text": string;
1978
- }[];
1979
- }[];
1980
- } | {
1981
- "ds:KeyValue": {
1982
- "ds:RSAKeyValue": ({
1983
- "ds:Modulus": {
1984
- "#text": string;
1985
- }[];
1986
- } | {
1987
- "ds:Exponent": {
1988
- "#text": string;
1989
- }[];
1990
- })[];
1991
- }[];
1992
- "ds:X509Data": {
1993
- "ds:X509Certificate": {
1994
- "#text": string;
1995
- }[];
1996
- }[];
1997
- })[];
1998
- })[];
1999
- ":@"?: {
2000
- "@_xmlns:ds"?: string | undefined;
2001
- } | undefined;
2002
- }, {
2003
- "ds:Signature": ({
2004
- "ds:SignedInfo": ({
2005
- "ds:CanonicalizationMethod": {
2006
- ":@": {
2007
- "@_Algorithm": string;
2008
- };
2009
- }[];
2010
- } | {
2011
- "ds:SignatureMethod": {
2012
- ":@": {
2013
- "@_Algorithm": string;
2014
- };
2015
- }[];
2016
- } | {
2017
- "ds:Reference": ({
2018
- "ds:Transforms": {
2019
- ":@": {
2020
- "@_Algorithm": string;
2021
- };
2022
- "ds:Transform": any[];
2023
- }[];
2024
- } | {
2025
- "ds:DigestMethod": {
2026
- ":@": {
2027
- "@_Algorithm": string;
2028
- };
2029
- }[];
2030
- } | {
2031
- "ds:DigestValue": {
2032
- "#text": string;
2033
- }[];
2034
- })[];
2035
- ":@"?: {
2036
- "@_URI"?: string | undefined;
2037
- } | undefined;
2038
- })[];
2039
- } | {
2040
- "ds:SignatureValue": {
2041
- "#text": string;
2042
- }[];
2043
- } | {
2044
- "ds:KeyInfo": ({
2045
- "ds:KeyValue": {
2046
- "ds:RSAKeyValue": ({
2047
- "ds:Modulus": {
2048
- "#text": string;
2049
- }[];
2050
- } | {
2051
- "ds:Exponent": {
2052
- "#text": string;
2053
- }[];
2054
- })[];
2055
- }[];
2056
- } | {
2057
- "ds:X509Data": {
2058
- "ds:X509Certificate": {
2059
- "#text": string;
2060
- }[];
2061
- }[];
2062
- } | {
2063
- "ds:KeyValue": {
2064
- "ds:RSAKeyValue": ({
2065
- "ds:Modulus": {
2066
- "#text": string;
2067
- }[];
2068
- } | {
2069
- "ds:Exponent": {
2070
- "#text": string;
2071
- }[];
2072
- })[];
2073
- }[];
2074
- "ds:X509Data": {
2075
- "ds:X509Certificate": {
2076
- "#text": string;
2077
- }[];
2078
- }[];
2079
- })[];
2080
- })[];
2081
- ":@"?: {
2082
- "@_xmlns:ds"?: string | undefined;
2083
- } | undefined;
2084
- }>,
301
+ }, z.core.$strip>>;
302
+ }, z.core.$strip>,
2085
303
  z.ZodObject<{
2086
304
  "samlp:Status": z.ZodArray<z.ZodObject<{
2087
305
  "samlp:StatusCode": z.ZodArray<z.ZodObject<{
2088
306
  "#text": z.ZodString;
2089
- }, "strip", z.ZodTypeAny, {
2090
- "#text": string;
2091
- }, {
2092
- "#text": string;
2093
- }>, "many">;
307
+ }, z.core.$strip>>;
2094
308
  ":@": z.ZodObject<{
2095
309
  "@_Value": z.ZodString;
2096
- }, "strip", z.ZodTypeAny, {
2097
- "@_Value": string;
2098
- }, {
2099
- "@_Value": string;
2100
- }>;
2101
- }, "strip", z.ZodTypeAny, {
2102
- ":@": {
2103
- "@_Value": string;
2104
- };
2105
- "samlp:StatusCode": {
2106
- "#text": string;
2107
- }[];
2108
- }, {
2109
- ":@": {
2110
- "@_Value": string;
2111
- };
2112
- "samlp:StatusCode": {
2113
- "#text": string;
2114
- }[];
2115
- }>, "many">;
2116
- }, "strip", z.ZodTypeAny, {
2117
- "samlp:Status": {
2118
- ":@": {
2119
- "@_Value": string;
2120
- };
2121
- "samlp:StatusCode": {
2122
- "#text": string;
2123
- }[];
2124
- }[];
2125
- }, {
2126
- "samlp:Status": {
2127
- ":@": {
2128
- "@_Value": string;
2129
- };
2130
- "samlp:StatusCode": {
2131
- "#text": string;
2132
- }[];
2133
- }[];
2134
- }>,
310
+ }, z.core.$strip>;
311
+ }, z.core.$strip>>;
312
+ }, z.core.$strip>,
2135
313
  z.ZodObject<{
2136
- "saml:Assertion": z.ZodArray<z.ZodUnion<[
314
+ "saml:Assertion": z.ZodArray<z.ZodUnion<readonly [
2137
315
  z.ZodObject<{
2138
316
  "saml:Issuer": z.ZodArray<z.ZodObject<{
2139
317
  "#text": z.ZodString;
2140
- }, "strip", z.ZodTypeAny, {
2141
- "#text": string;
2142
- }, {
2143
- "#text": string;
2144
- }>, "many">;
2145
- }, "strip", z.ZodTypeAny, {
2146
- "saml:Issuer": {
2147
- "#text": string;
2148
- }[];
2149
- }, {
2150
- "saml:Issuer": {
2151
- "#text": string;
2152
- }[];
2153
- }>,
318
+ }, z.core.$strip>>;
319
+ }, z.core.$strip>,
2154
320
  z.ZodObject<{
2155
- "ds:Signature": z.ZodArray<z.ZodUnion<[
321
+ "ds:Signature": z.ZodArray<z.ZodUnion<readonly [
2156
322
  z.ZodObject<{
2157
- "ds:SignedInfo": z.ZodArray<z.ZodUnion<[
323
+ "ds:SignedInfo": z.ZodArray<z.ZodUnion<readonly [
2158
324
  z.ZodObject<{
2159
325
  "ds:CanonicalizationMethod": z.ZodArray<z.ZodObject<{
2160
326
  ":@": z.ZodObject<{
2161
327
  "@_Algorithm": z.ZodString;
2162
- }, "strip", z.ZodTypeAny, {
2163
- "@_Algorithm": string;
2164
- }, {
2165
- "@_Algorithm": string;
2166
- }>;
2167
- }, "strip", z.ZodTypeAny, {
2168
- ":@": {
2169
- "@_Algorithm": string;
2170
- };
2171
- }, {
2172
- ":@": {
2173
- "@_Algorithm": string;
2174
- };
2175
- }>, "many">;
2176
- }, "strip", z.ZodTypeAny, {
2177
- "ds:CanonicalizationMethod": {
2178
- ":@": {
2179
- "@_Algorithm": string;
2180
- };
2181
- }[];
2182
- }, {
2183
- "ds:CanonicalizationMethod": {
2184
- ":@": {
2185
- "@_Algorithm": string;
2186
- };
2187
- }[];
2188
- }>,
328
+ }, z.core.$strip>;
329
+ }, z.core.$strip>>;
330
+ }, z.core.$strip>,
2189
331
  z.ZodObject<{
2190
332
  "ds:SignatureMethod": z.ZodArray<z.ZodObject<{
2191
333
  ":@": z.ZodObject<{
2192
334
  "@_Algorithm": z.ZodString;
2193
- }, "strip", z.ZodTypeAny, {
2194
- "@_Algorithm": string;
2195
- }, {
2196
- "@_Algorithm": string;
2197
- }>;
2198
- }, "strip", z.ZodTypeAny, {
2199
- ":@": {
2200
- "@_Algorithm": string;
2201
- };
2202
- }, {
2203
- ":@": {
2204
- "@_Algorithm": string;
2205
- };
2206
- }>, "many">;
2207
- }, "strip", z.ZodTypeAny, {
2208
- "ds:SignatureMethod": {
2209
- ":@": {
2210
- "@_Algorithm": string;
2211
- };
2212
- }[];
2213
- }, {
2214
- "ds:SignatureMethod": {
2215
- ":@": {
2216
- "@_Algorithm": string;
2217
- };
2218
- }[];
2219
- }>,
335
+ }, z.core.$strip>;
336
+ }, z.core.$strip>>;
337
+ }, z.core.$strip>,
2220
338
  z.ZodObject<{
2221
- "ds:Reference": z.ZodArray<z.ZodUnion<[
339
+ "ds:Reference": z.ZodArray<z.ZodUnion<readonly [
2222
340
  z.ZodObject<{
2223
341
  "ds:Transforms": z.ZodArray<z.ZodObject<{
2224
- "ds:Transform": z.ZodArray<z.ZodAny, "many">;
342
+ "ds:Transform": z.ZodArray<z.ZodAny>;
2225
343
  ":@": z.ZodObject<{
2226
344
  "@_Algorithm": z.ZodString;
2227
- }, "strip", z.ZodTypeAny, {
2228
- "@_Algorithm": string;
2229
- }, {
2230
- "@_Algorithm": string;
2231
- }>;
2232
- }, "strip", z.ZodTypeAny, {
2233
- ":@": {
2234
- "@_Algorithm": string;
2235
- };
2236
- "ds:Transform": any[];
2237
- }, {
2238
- ":@": {
2239
- "@_Algorithm": string;
2240
- };
2241
- "ds:Transform": any[];
2242
- }>, "many">;
2243
- }, "strip", z.ZodTypeAny, {
2244
- "ds:Transforms": {
2245
- ":@": {
2246
- "@_Algorithm": string;
2247
- };
2248
- "ds:Transform": any[];
2249
- }[];
2250
- }, {
2251
- "ds:Transforms": {
2252
- ":@": {
2253
- "@_Algorithm": string;
2254
- };
2255
- "ds:Transform": any[];
2256
- }[];
2257
- }>,
345
+ }, z.core.$strip>;
346
+ }, z.core.$strip>>;
347
+ }, z.core.$strip>,
2258
348
  z.ZodObject<{
2259
349
  "ds:DigestMethod": z.ZodArray<z.ZodObject<{
2260
350
  ":@": z.ZodObject<{
2261
351
  "@_Algorithm": z.ZodString;
2262
- }, "strip", z.ZodTypeAny, {
2263
- "@_Algorithm": string;
2264
- }, {
2265
- "@_Algorithm": string;
2266
- }>;
2267
- }, "strip", z.ZodTypeAny, {
2268
- ":@": {
2269
- "@_Algorithm": string;
2270
- };
2271
- }, {
2272
- ":@": {
2273
- "@_Algorithm": string;
2274
- };
2275
- }>, "many">;
2276
- }, "strip", z.ZodTypeAny, {
2277
- "ds:DigestMethod": {
2278
- ":@": {
2279
- "@_Algorithm": string;
2280
- };
2281
- }[];
2282
- }, {
2283
- "ds:DigestMethod": {
2284
- ":@": {
2285
- "@_Algorithm": string;
2286
- };
2287
- }[];
2288
- }>,
352
+ }, z.core.$strip>;
353
+ }, z.core.$strip>>;
354
+ }, z.core.$strip>,
2289
355
  z.ZodObject<{
2290
356
  "ds:DigestValue": z.ZodArray<z.ZodObject<{
2291
357
  "#text": z.ZodString;
2292
- }, "strip", z.ZodTypeAny, {
2293
- "#text": string;
2294
- }, {
2295
- "#text": string;
2296
- }>, "many">;
2297
- }, "strip", z.ZodTypeAny, {
2298
- "ds:DigestValue": {
2299
- "#text": string;
2300
- }[];
2301
- }, {
2302
- "ds:DigestValue": {
2303
- "#text": string;
2304
- }[];
2305
- }>
2306
- ]>, "many">;
358
+ }, z.core.$strip>>;
359
+ }, z.core.$strip>
360
+ ]>>;
2307
361
  ":@": z.ZodOptional<z.ZodObject<{
2308
362
  "@_URI": z.ZodOptional<z.ZodString>;
2309
- }, "strip", z.ZodTypeAny, {
2310
- "@_URI"?: string | undefined;
2311
- }, {
2312
- "@_URI"?: string | undefined;
2313
- }>>;
2314
- }, "strip", z.ZodTypeAny, {
2315
- "ds:Reference": ({
2316
- "ds:Transforms": {
2317
- ":@": {
2318
- "@_Algorithm": string;
2319
- };
2320
- "ds:Transform": any[];
2321
- }[];
2322
- } | {
2323
- "ds:DigestMethod": {
2324
- ":@": {
2325
- "@_Algorithm": string;
2326
- };
2327
- }[];
2328
- } | {
2329
- "ds:DigestValue": {
2330
- "#text": string;
2331
- }[];
2332
- })[];
2333
- ":@"?: {
2334
- "@_URI"?: string | undefined;
2335
- } | undefined;
2336
- }, {
2337
- "ds:Reference": ({
2338
- "ds:Transforms": {
2339
- ":@": {
2340
- "@_Algorithm": string;
2341
- };
2342
- "ds:Transform": any[];
2343
- }[];
2344
- } | {
2345
- "ds:DigestMethod": {
2346
- ":@": {
2347
- "@_Algorithm": string;
2348
- };
2349
- }[];
2350
- } | {
2351
- "ds:DigestValue": {
2352
- "#text": string;
2353
- }[];
2354
- })[];
2355
- ":@"?: {
2356
- "@_URI"?: string | undefined;
2357
- } | undefined;
2358
- }>
2359
- ]>, "many">;
2360
- }, "strip", z.ZodTypeAny, {
2361
- "ds:SignedInfo": ({
2362
- "ds:CanonicalizationMethod": {
2363
- ":@": {
2364
- "@_Algorithm": string;
2365
- };
2366
- }[];
2367
- } | {
2368
- "ds:SignatureMethod": {
2369
- ":@": {
2370
- "@_Algorithm": string;
2371
- };
2372
- }[];
2373
- } | {
2374
- "ds:Reference": ({
2375
- "ds:Transforms": {
2376
- ":@": {
2377
- "@_Algorithm": string;
2378
- };
2379
- "ds:Transform": any[];
2380
- }[];
2381
- } | {
2382
- "ds:DigestMethod": {
2383
- ":@": {
2384
- "@_Algorithm": string;
2385
- };
2386
- }[];
2387
- } | {
2388
- "ds:DigestValue": {
2389
- "#text": string;
2390
- }[];
2391
- })[];
2392
- ":@"?: {
2393
- "@_URI"?: string | undefined;
2394
- } | undefined;
2395
- })[];
2396
- }, {
2397
- "ds:SignedInfo": ({
2398
- "ds:CanonicalizationMethod": {
2399
- ":@": {
2400
- "@_Algorithm": string;
2401
- };
2402
- }[];
2403
- } | {
2404
- "ds:SignatureMethod": {
2405
- ":@": {
2406
- "@_Algorithm": string;
2407
- };
2408
- }[];
2409
- } | {
2410
- "ds:Reference": ({
2411
- "ds:Transforms": {
2412
- ":@": {
2413
- "@_Algorithm": string;
2414
- };
2415
- "ds:Transform": any[];
2416
- }[];
2417
- } | {
2418
- "ds:DigestMethod": {
2419
- ":@": {
2420
- "@_Algorithm": string;
2421
- };
2422
- }[];
2423
- } | {
2424
- "ds:DigestValue": {
2425
- "#text": string;
2426
- }[];
2427
- })[];
2428
- ":@"?: {
2429
- "@_URI"?: string | undefined;
2430
- } | undefined;
2431
- })[];
2432
- }>,
363
+ }, z.core.$strip>>;
364
+ }, z.core.$strip>
365
+ ]>>;
366
+ }, z.core.$strip>,
2433
367
  z.ZodObject<{
2434
368
  "ds:SignatureValue": z.ZodArray<z.ZodObject<{
2435
369
  "#text": z.ZodString;
2436
- }, "strip", z.ZodTypeAny, {
2437
- "#text": string;
2438
- }, {
2439
- "#text": string;
2440
- }>, "many">;
2441
- }, "strip", z.ZodTypeAny, {
2442
- "ds:SignatureValue": {
2443
- "#text": string;
2444
- }[];
2445
- }, {
2446
- "ds:SignatureValue": {
2447
- "#text": string;
2448
- }[];
2449
- }>,
370
+ }, z.core.$strip>>;
371
+ }, z.core.$strip>,
2450
372
  z.ZodObject<{
2451
- "ds:KeyInfo": z.ZodArray<z.ZodUnion<[
373
+ "ds:KeyInfo": z.ZodArray<z.ZodUnion<readonly [
2452
374
  z.ZodObject<{
2453
375
  "ds:KeyValue": z.ZodArray<z.ZodObject<{
2454
- "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<[
376
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [
2455
377
  z.ZodObject<{
2456
378
  "ds:Modulus": z.ZodArray<z.ZodObject<{
2457
379
  "#text": z.ZodString;
2458
- }, "strip", z.ZodTypeAny, {
2459
- "#text": string;
2460
- }, {
2461
- "#text": string;
2462
- }>, "many">;
2463
- }, "strip", z.ZodTypeAny, {
2464
- "ds:Modulus": {
2465
- "#text": string;
2466
- }[];
2467
- }, {
2468
- "ds:Modulus": {
2469
- "#text": string;
2470
- }[];
2471
- }>,
380
+ }, z.core.$strip>>;
381
+ }, z.core.$strip>,
2472
382
  z.ZodObject<{
2473
383
  "ds:Exponent": z.ZodArray<z.ZodObject<{
2474
384
  "#text": z.ZodString;
2475
- }, "strip", z.ZodTypeAny, {
2476
- "#text": string;
2477
- }, {
2478
- "#text": string;
2479
- }>, "many">;
2480
- }, "strip", z.ZodTypeAny, {
2481
- "ds:Exponent": {
2482
- "#text": string;
2483
- }[];
2484
- }, {
2485
- "ds:Exponent": {
2486
- "#text": string;
2487
- }[];
2488
- }>
2489
- ]>, "many">;
2490
- }, "strip", z.ZodTypeAny, {
2491
- "ds:RSAKeyValue": ({
2492
- "ds:Modulus": {
2493
- "#text": string;
2494
- }[];
2495
- } | {
2496
- "ds:Exponent": {
2497
- "#text": string;
2498
- }[];
2499
- })[];
2500
- }, {
2501
- "ds:RSAKeyValue": ({
2502
- "ds:Modulus": {
2503
- "#text": string;
2504
- }[];
2505
- } | {
2506
- "ds:Exponent": {
2507
- "#text": string;
2508
- }[];
2509
- })[];
2510
- }>, "many">;
2511
- }, "strip", z.ZodTypeAny, {
2512
- "ds:KeyValue": {
2513
- "ds:RSAKeyValue": ({
2514
- "ds:Modulus": {
2515
- "#text": string;
2516
- }[];
2517
- } | {
2518
- "ds:Exponent": {
2519
- "#text": string;
2520
- }[];
2521
- })[];
2522
- }[];
2523
- }, {
2524
- "ds:KeyValue": {
2525
- "ds:RSAKeyValue": ({
2526
- "ds:Modulus": {
2527
- "#text": string;
2528
- }[];
2529
- } | {
2530
- "ds:Exponent": {
2531
- "#text": string;
2532
- }[];
2533
- })[];
2534
- }[];
2535
- }>,
385
+ }, z.core.$strip>>;
386
+ }, z.core.$strip>
387
+ ]>>;
388
+ }, z.core.$strip>>;
389
+ }, z.core.$strip>,
2536
390
  z.ZodObject<{
2537
391
  "ds:X509Data": z.ZodArray<z.ZodObject<{
2538
392
  "ds:X509Certificate": z.ZodArray<z.ZodObject<{
2539
393
  "#text": z.ZodString;
2540
- }, "strip", z.ZodTypeAny, {
2541
- "#text": string;
2542
- }, {
2543
- "#text": string;
2544
- }>, "many">;
2545
- }, "strip", z.ZodTypeAny, {
2546
- "ds:X509Certificate": {
2547
- "#text": string;
2548
- }[];
2549
- }, {
2550
- "ds:X509Certificate": {
2551
- "#text": string;
2552
- }[];
2553
- }>, "many">;
2554
- }, "strip", z.ZodTypeAny, {
2555
- "ds:X509Data": {
2556
- "ds:X509Certificate": {
2557
- "#text": string;
2558
- }[];
2559
- }[];
2560
- }, {
2561
- "ds:X509Data": {
2562
- "ds:X509Certificate": {
2563
- "#text": string;
2564
- }[];
2565
- }[];
2566
- }>,
394
+ }, z.core.$strip>>;
395
+ }, z.core.$strip>>;
396
+ }, z.core.$strip>,
2567
397
  z.ZodObject<{
2568
398
  "ds:KeyValue": z.ZodArray<z.ZodObject<{
2569
- "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<[
399
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [
2570
400
  z.ZodObject<{
2571
401
  "ds:Modulus": z.ZodArray<z.ZodObject<{
2572
402
  "#text": z.ZodString;
2573
- }, "strip", z.ZodTypeAny, {
2574
- "#text": string;
2575
- }, {
2576
- "#text": string;
2577
- }>, "many">;
2578
- }, "strip", z.ZodTypeAny, {
2579
- "ds:Modulus": {
2580
- "#text": string;
2581
- }[];
2582
- }, {
2583
- "ds:Modulus": {
2584
- "#text": string;
2585
- }[];
2586
- }>,
403
+ }, z.core.$strip>>;
404
+ }, z.core.$strip>,
2587
405
  z.ZodObject<{
2588
406
  "ds:Exponent": z.ZodArray<z.ZodObject<{
2589
407
  "#text": z.ZodString;
2590
- }, "strip", z.ZodTypeAny, {
2591
- "#text": string;
2592
- }, {
2593
- "#text": string;
2594
- }>, "many">;
2595
- }, "strip", z.ZodTypeAny, {
2596
- "ds:Exponent": {
2597
- "#text": string;
2598
- }[];
2599
- }, {
2600
- "ds:Exponent": {
2601
- "#text": string;
2602
- }[];
2603
- }>
2604
- ]>, "many">;
2605
- }, "strip", z.ZodTypeAny, {
2606
- "ds:RSAKeyValue": ({
2607
- "ds:Modulus": {
2608
- "#text": string;
2609
- }[];
2610
- } | {
2611
- "ds:Exponent": {
2612
- "#text": string;
2613
- }[];
2614
- })[];
2615
- }, {
2616
- "ds:RSAKeyValue": ({
2617
- "ds:Modulus": {
2618
- "#text": string;
2619
- }[];
2620
- } | {
2621
- "ds:Exponent": {
2622
- "#text": string;
2623
- }[];
2624
- })[];
2625
- }>, "many">;
408
+ }, z.core.$strip>>;
409
+ }, z.core.$strip>
410
+ ]>>;
411
+ }, z.core.$strip>>;
2626
412
  "ds:X509Data": z.ZodArray<z.ZodObject<{
2627
413
  "ds:X509Certificate": z.ZodArray<z.ZodObject<{
2628
414
  "#text": z.ZodString;
2629
- }, "strip", z.ZodTypeAny, {
2630
- "#text": string;
2631
- }, {
2632
- "#text": string;
2633
- }>, "many">;
2634
- }, "strip", z.ZodTypeAny, {
2635
- "ds:X509Certificate": {
2636
- "#text": string;
2637
- }[];
2638
- }, {
2639
- "ds:X509Certificate": {
2640
- "#text": string;
2641
- }[];
2642
- }>, "many">;
2643
- }, "strip", z.ZodTypeAny, {
2644
- "ds:KeyValue": {
2645
- "ds:RSAKeyValue": ({
2646
- "ds:Modulus": {
2647
- "#text": string;
2648
- }[];
2649
- } | {
2650
- "ds:Exponent": {
2651
- "#text": string;
2652
- }[];
2653
- })[];
2654
- }[];
2655
- "ds:X509Data": {
2656
- "ds:X509Certificate": {
2657
- "#text": string;
2658
- }[];
2659
- }[];
2660
- }, {
2661
- "ds:KeyValue": {
2662
- "ds:RSAKeyValue": ({
2663
- "ds:Modulus": {
2664
- "#text": string;
2665
- }[];
2666
- } | {
2667
- "ds:Exponent": {
2668
- "#text": string;
2669
- }[];
2670
- })[];
2671
- }[];
2672
- "ds:X509Data": {
2673
- "ds:X509Certificate": {
2674
- "#text": string;
2675
- }[];
2676
- }[];
2677
- }>
2678
- ]>, "many">;
2679
- }, "strip", z.ZodTypeAny, {
2680
- "ds:KeyInfo": ({
2681
- "ds:KeyValue": {
2682
- "ds:RSAKeyValue": ({
2683
- "ds:Modulus": {
2684
- "#text": string;
2685
- }[];
2686
- } | {
2687
- "ds:Exponent": {
2688
- "#text": string;
2689
- }[];
2690
- })[];
2691
- }[];
2692
- } | {
2693
- "ds:X509Data": {
2694
- "ds:X509Certificate": {
2695
- "#text": string;
2696
- }[];
2697
- }[];
2698
- } | {
2699
- "ds:KeyValue": {
2700
- "ds:RSAKeyValue": ({
2701
- "ds:Modulus": {
2702
- "#text": string;
2703
- }[];
2704
- } | {
2705
- "ds:Exponent": {
2706
- "#text": string;
2707
- }[];
2708
- })[];
2709
- }[];
2710
- "ds:X509Data": {
2711
- "ds:X509Certificate": {
2712
- "#text": string;
2713
- }[];
2714
- }[];
2715
- })[];
2716
- }, {
2717
- "ds:KeyInfo": ({
2718
- "ds:KeyValue": {
2719
- "ds:RSAKeyValue": ({
2720
- "ds:Modulus": {
2721
- "#text": string;
2722
- }[];
2723
- } | {
2724
- "ds:Exponent": {
2725
- "#text": string;
2726
- }[];
2727
- })[];
2728
- }[];
2729
- } | {
2730
- "ds:X509Data": {
2731
- "ds:X509Certificate": {
2732
- "#text": string;
2733
- }[];
2734
- }[];
2735
- } | {
2736
- "ds:KeyValue": {
2737
- "ds:RSAKeyValue": ({
2738
- "ds:Modulus": {
2739
- "#text": string;
2740
- }[];
2741
- } | {
2742
- "ds:Exponent": {
2743
- "#text": string;
2744
- }[];
2745
- })[];
2746
- }[];
2747
- "ds:X509Data": {
2748
- "ds:X509Certificate": {
2749
- "#text": string;
2750
- }[];
2751
- }[];
2752
- })[];
2753
- }>
2754
- ]>, "many">;
415
+ }, z.core.$strip>>;
416
+ }, z.core.$strip>>;
417
+ }, z.core.$strip>
418
+ ]>>;
419
+ }, z.core.$strip>
420
+ ]>>;
2755
421
  ":@": z.ZodOptional<z.ZodObject<{
2756
422
  "@_xmlns:ds": z.ZodOptional<z.ZodString>;
2757
- }, "strip", z.ZodTypeAny, {
2758
- "@_xmlns:ds"?: string | undefined;
2759
- }, {
2760
- "@_xmlns:ds"?: string | undefined;
2761
- }>>;
2762
- }, "strip", z.ZodTypeAny, {
2763
- "ds:Signature": ({
2764
- "ds:SignedInfo": ({
2765
- "ds:CanonicalizationMethod": {
2766
- ":@": {
2767
- "@_Algorithm": string;
2768
- };
2769
- }[];
2770
- } | {
2771
- "ds:SignatureMethod": {
2772
- ":@": {
2773
- "@_Algorithm": string;
2774
- };
2775
- }[];
2776
- } | {
2777
- "ds:Reference": ({
2778
- "ds:Transforms": {
2779
- ":@": {
2780
- "@_Algorithm": string;
2781
- };
2782
- "ds:Transform": any[];
2783
- }[];
2784
- } | {
2785
- "ds:DigestMethod": {
2786
- ":@": {
2787
- "@_Algorithm": string;
2788
- };
2789
- }[];
2790
- } | {
2791
- "ds:DigestValue": {
2792
- "#text": string;
2793
- }[];
2794
- })[];
2795
- ":@"?: {
2796
- "@_URI"?: string | undefined;
2797
- } | undefined;
2798
- })[];
2799
- } | {
2800
- "ds:SignatureValue": {
2801
- "#text": string;
2802
- }[];
2803
- } | {
2804
- "ds:KeyInfo": ({
2805
- "ds:KeyValue": {
2806
- "ds:RSAKeyValue": ({
2807
- "ds:Modulus": {
2808
- "#text": string;
2809
- }[];
2810
- } | {
2811
- "ds:Exponent": {
2812
- "#text": string;
2813
- }[];
2814
- })[];
2815
- }[];
2816
- } | {
2817
- "ds:X509Data": {
2818
- "ds:X509Certificate": {
2819
- "#text": string;
2820
- }[];
2821
- }[];
2822
- } | {
2823
- "ds:KeyValue": {
2824
- "ds:RSAKeyValue": ({
2825
- "ds:Modulus": {
2826
- "#text": string;
2827
- }[];
2828
- } | {
2829
- "ds:Exponent": {
2830
- "#text": string;
2831
- }[];
2832
- })[];
2833
- }[];
2834
- "ds:X509Data": {
2835
- "ds:X509Certificate": {
2836
- "#text": string;
2837
- }[];
2838
- }[];
2839
- })[];
2840
- })[];
2841
- ":@"?: {
2842
- "@_xmlns:ds"?: string | undefined;
2843
- } | undefined;
2844
- }, {
2845
- "ds:Signature": ({
2846
- "ds:SignedInfo": ({
2847
- "ds:CanonicalizationMethod": {
2848
- ":@": {
2849
- "@_Algorithm": string;
2850
- };
2851
- }[];
2852
- } | {
2853
- "ds:SignatureMethod": {
2854
- ":@": {
2855
- "@_Algorithm": string;
2856
- };
2857
- }[];
2858
- } | {
2859
- "ds:Reference": ({
2860
- "ds:Transforms": {
2861
- ":@": {
2862
- "@_Algorithm": string;
2863
- };
2864
- "ds:Transform": any[];
2865
- }[];
2866
- } | {
2867
- "ds:DigestMethod": {
2868
- ":@": {
2869
- "@_Algorithm": string;
2870
- };
2871
- }[];
2872
- } | {
2873
- "ds:DigestValue": {
2874
- "#text": string;
2875
- }[];
2876
- })[];
2877
- ":@"?: {
2878
- "@_URI"?: string | undefined;
2879
- } | undefined;
2880
- })[];
2881
- } | {
2882
- "ds:SignatureValue": {
2883
- "#text": string;
2884
- }[];
2885
- } | {
2886
- "ds:KeyInfo": ({
2887
- "ds:KeyValue": {
2888
- "ds:RSAKeyValue": ({
2889
- "ds:Modulus": {
2890
- "#text": string;
2891
- }[];
2892
- } | {
2893
- "ds:Exponent": {
2894
- "#text": string;
2895
- }[];
2896
- })[];
2897
- }[];
2898
- } | {
2899
- "ds:X509Data": {
2900
- "ds:X509Certificate": {
2901
- "#text": string;
2902
- }[];
2903
- }[];
2904
- } | {
2905
- "ds:KeyValue": {
2906
- "ds:RSAKeyValue": ({
2907
- "ds:Modulus": {
2908
- "#text": string;
2909
- }[];
2910
- } | {
2911
- "ds:Exponent": {
2912
- "#text": string;
2913
- }[];
2914
- })[];
2915
- }[];
2916
- "ds:X509Data": {
2917
- "ds:X509Certificate": {
2918
- "#text": string;
2919
- }[];
2920
- }[];
2921
- })[];
2922
- })[];
2923
- ":@"?: {
2924
- "@_xmlns:ds"?: string | undefined;
2925
- } | undefined;
2926
- }>,
423
+ }, z.core.$strip>>;
424
+ }, z.core.$strip>,
2927
425
  z.ZodObject<{
2928
- "saml:Subject": z.ZodArray<z.ZodUnion<[
426
+ "saml:Subject": z.ZodArray<z.ZodUnion<readonly [
2929
427
  z.ZodObject<{
2930
428
  "saml:NameID": z.ZodArray<z.ZodObject<{
2931
429
  "#text": z.ZodString;
2932
- }, "strip", z.ZodTypeAny, {
2933
- "#text": string;
2934
- }, {
2935
- "#text": string;
2936
- }>, "many">;
430
+ }, z.core.$strip>>;
2937
431
  ":@": z.ZodObject<{
2938
432
  "@_Format": z.ZodString;
2939
- }, "strip", z.ZodTypeAny, {
2940
- "@_Format": string;
2941
- }, {
2942
- "@_Format": string;
2943
- }>;
2944
- }, "strip", z.ZodTypeAny, {
2945
- ":@": {
2946
- "@_Format": string;
2947
- };
2948
- "saml:NameID": {
2949
- "#text": string;
2950
- }[];
2951
- }, {
2952
- ":@": {
2953
- "@_Format": string;
2954
- };
2955
- "saml:NameID": {
2956
- "#text": string;
2957
- }[];
2958
- }>,
433
+ }, z.core.$strip>;
434
+ }, z.core.$strip>,
2959
435
  z.ZodObject<{
2960
436
  "saml:SubjectConfirmation": z.ZodArray<z.ZodObject<{
2961
- "saml:SubjectConfirmationData": z.ZodArray<z.ZodAny, "many">;
437
+ "saml:SubjectConfirmationData": z.ZodArray<z.ZodAny>;
2962
438
  ":@": z.ZodObject<{
2963
439
  "@_InResponseTo": z.ZodString;
2964
440
  "@_NotOnOrAfter": z.ZodString;
2965
441
  "@_Recipient": z.ZodString;
2966
- }, "strip", z.ZodTypeAny, {
2967
- "@_InResponseTo": string;
2968
- "@_NotOnOrAfter": string;
2969
- "@_Recipient": string;
2970
- }, {
2971
- "@_InResponseTo": string;
2972
- "@_NotOnOrAfter": string;
2973
- "@_Recipient": string;
2974
- }>;
2975
- }, "strip", z.ZodTypeAny, {
2976
- ":@": {
2977
- "@_InResponseTo": string;
2978
- "@_NotOnOrAfter": string;
2979
- "@_Recipient": string;
2980
- };
2981
- "saml:SubjectConfirmationData": any[];
2982
- }, {
2983
- ":@": {
2984
- "@_InResponseTo": string;
2985
- "@_NotOnOrAfter": string;
2986
- "@_Recipient": string;
2987
- };
2988
- "saml:SubjectConfirmationData": any[];
2989
- }>, "many">;
442
+ }, z.core.$strip>;
443
+ }, z.core.$strip>>;
2990
444
  ":@": z.ZodObject<{
2991
445
  "@_Method": z.ZodString;
2992
- }, "strip", z.ZodTypeAny, {
2993
- "@_Method": string;
2994
- }, {
2995
- "@_Method": string;
2996
- }>;
2997
- }, "strip", z.ZodTypeAny, {
2998
- ":@": {
2999
- "@_Method": string;
3000
- };
3001
- "saml:SubjectConfirmation": {
3002
- ":@": {
3003
- "@_InResponseTo": string;
3004
- "@_NotOnOrAfter": string;
3005
- "@_Recipient": string;
3006
- };
3007
- "saml:SubjectConfirmationData": any[];
3008
- }[];
3009
- }, {
3010
- ":@": {
3011
- "@_Method": string;
3012
- };
3013
- "saml:SubjectConfirmation": {
3014
- ":@": {
3015
- "@_InResponseTo": string;
3016
- "@_NotOnOrAfter": string;
3017
- "@_Recipient": string;
3018
- };
3019
- "saml:SubjectConfirmationData": any[];
3020
- }[];
3021
- }>
3022
- ]>, "many">;
3023
- }, "strip", z.ZodTypeAny, {
3024
- "saml:Subject": ({
3025
- ":@": {
3026
- "@_Format": string;
3027
- };
3028
- "saml:NameID": {
3029
- "#text": string;
3030
- }[];
3031
- } | {
3032
- ":@": {
3033
- "@_Method": string;
3034
- };
3035
- "saml:SubjectConfirmation": {
3036
- ":@": {
3037
- "@_InResponseTo": string;
3038
- "@_NotOnOrAfter": string;
3039
- "@_Recipient": string;
3040
- };
3041
- "saml:SubjectConfirmationData": any[];
3042
- }[];
3043
- })[];
3044
- }, {
3045
- "saml:Subject": ({
3046
- ":@": {
3047
- "@_Format": string;
3048
- };
3049
- "saml:NameID": {
3050
- "#text": string;
3051
- }[];
3052
- } | {
3053
- ":@": {
3054
- "@_Method": string;
3055
- };
3056
- "saml:SubjectConfirmation": {
3057
- ":@": {
3058
- "@_InResponseTo": string;
3059
- "@_NotOnOrAfter": string;
3060
- "@_Recipient": string;
3061
- };
3062
- "saml:SubjectConfirmationData": any[];
3063
- }[];
3064
- })[];
3065
- }>,
446
+ }, z.core.$strip>;
447
+ }, z.core.$strip>
448
+ ]>>;
449
+ }, z.core.$strip>,
3066
450
  z.ZodObject<{
3067
451
  "saml:Conditions": z.ZodArray<z.ZodObject<{
3068
452
  "saml:AudienceRestriction": z.ZodArray<z.ZodObject<{
3069
453
  "saml:Audience": z.ZodArray<z.ZodObject<{
3070
454
  "#text": z.ZodString;
3071
- }, "strip", z.ZodTypeAny, {
3072
- "#text": string;
3073
- }, {
3074
- "#text": string;
3075
- }>, "many">;
3076
- }, "strip", z.ZodTypeAny, {
3077
- "saml:Audience": {
3078
- "#text": string;
3079
- }[];
3080
- }, {
3081
- "saml:Audience": {
3082
- "#text": string;
3083
- }[];
3084
- }>, "many">;
3085
- }, "strip", z.ZodTypeAny, {
3086
- "saml:AudienceRestriction": {
3087
- "saml:Audience": {
3088
- "#text": string;
3089
- }[];
3090
- }[];
3091
- }, {
3092
- "saml:AudienceRestriction": {
3093
- "saml:Audience": {
3094
- "#text": string;
3095
- }[];
3096
- }[];
3097
- }>, "many">;
455
+ }, z.core.$strip>>;
456
+ }, z.core.$strip>>;
457
+ }, z.core.$strip>>;
3098
458
  ":@": z.ZodObject<{
3099
459
  "@_NotBefore": z.ZodString;
3100
460
  "@_NotOnOrAfter": z.ZodString;
3101
- }, "strip", z.ZodTypeAny, {
3102
- "@_NotOnOrAfter": string;
3103
- "@_NotBefore": string;
3104
- }, {
3105
- "@_NotOnOrAfter": string;
3106
- "@_NotBefore": string;
3107
- }>;
3108
- }, "strip", z.ZodTypeAny, {
3109
- ":@": {
3110
- "@_NotOnOrAfter": string;
3111
- "@_NotBefore": string;
3112
- };
3113
- "saml:Conditions": {
3114
- "saml:AudienceRestriction": {
3115
- "saml:Audience": {
3116
- "#text": string;
3117
- }[];
3118
- }[];
3119
- }[];
3120
- }, {
3121
- ":@": {
3122
- "@_NotOnOrAfter": string;
3123
- "@_NotBefore": string;
3124
- };
3125
- "saml:Conditions": {
3126
- "saml:AudienceRestriction": {
3127
- "saml:Audience": {
3128
- "#text": string;
3129
- }[];
3130
- }[];
3131
- }[];
3132
- }>,
461
+ }, z.core.$strip>;
462
+ }, z.core.$strip>,
3133
463
  z.ZodObject<{
3134
464
  "saml:AuthnStatement": z.ZodArray<z.ZodObject<{
3135
465
  "saml:AuthnContext": z.ZodArray<z.ZodObject<{
3136
466
  "saml:AuthnContextClassRef": z.ZodArray<z.ZodObject<{
3137
467
  "#text": z.ZodString;
3138
- }, "strip", z.ZodTypeAny, {
3139
- "#text": string;
3140
- }, {
3141
- "#text": string;
3142
- }>, "many">;
3143
- }, "strip", z.ZodTypeAny, {
3144
- "saml:AuthnContextClassRef": {
3145
- "#text": string;
3146
- }[];
3147
- }, {
3148
- "saml:AuthnContextClassRef": {
3149
- "#text": string;
3150
- }[];
3151
- }>, "many">;
3152
- }, "strip", z.ZodTypeAny, {
3153
- "saml:AuthnContext": {
3154
- "saml:AuthnContextClassRef": {
3155
- "#text": string;
3156
- }[];
3157
- }[];
3158
- }, {
3159
- "saml:AuthnContext": {
3160
- "saml:AuthnContextClassRef": {
3161
- "#text": string;
3162
- }[];
3163
- }[];
3164
- }>, "many">;
468
+ }, z.core.$strip>>;
469
+ }, z.core.$strip>>;
470
+ }, z.core.$strip>>;
3165
471
  ":@": z.ZodObject<{
3166
472
  "@_AuthnInstant": z.ZodString;
3167
473
  "@_SessionIndex": z.ZodString;
3168
474
  "@_SessionNotOnOrAfter": z.ZodString;
3169
- }, "strip", z.ZodTypeAny, {
3170
- "@_AuthnInstant": string;
3171
- "@_SessionIndex": string;
3172
- "@_SessionNotOnOrAfter": string;
3173
- }, {
3174
- "@_AuthnInstant": string;
3175
- "@_SessionIndex": string;
3176
- "@_SessionNotOnOrAfter": string;
3177
- }>;
3178
- }, "strip", z.ZodTypeAny, {
3179
- ":@": {
3180
- "@_AuthnInstant": string;
3181
- "@_SessionIndex": string;
3182
- "@_SessionNotOnOrAfter": string;
3183
- };
3184
- "saml:AuthnStatement": {
3185
- "saml:AuthnContext": {
3186
- "saml:AuthnContextClassRef": {
3187
- "#text": string;
3188
- }[];
3189
- }[];
3190
- }[];
3191
- }, {
3192
- ":@": {
3193
- "@_AuthnInstant": string;
3194
- "@_SessionIndex": string;
3195
- "@_SessionNotOnOrAfter": string;
3196
- };
3197
- "saml:AuthnStatement": {
3198
- "saml:AuthnContext": {
3199
- "saml:AuthnContextClassRef": {
3200
- "#text": string;
3201
- }[];
3202
- }[];
3203
- }[];
3204
- }>,
475
+ }, z.core.$strip>;
476
+ }, z.core.$strip>,
3205
477
  z.ZodObject<{
3206
478
  "saml:AttributeStatement": z.ZodArray<z.ZodObject<{
3207
479
  "saml:Attribute": z.ZodArray<z.ZodObject<{
3208
- ":@": z.ZodObject<{
3209
- "@_Name": z.ZodString;
3210
- "@_NameFormat": z.ZodString;
3211
- "@_FriendlyName": z.ZodOptional<z.ZodString>;
3212
- }, "strip", z.ZodTypeAny, {
3213
- "@_Name": string;
3214
- "@_NameFormat": string;
3215
- "@_FriendlyName"?: string | undefined;
3216
- }, {
3217
- "@_Name": string;
3218
- "@_NameFormat": string;
3219
- "@_FriendlyName"?: string | undefined;
3220
- }>;
3221
480
  "saml:AttributeValue": z.ZodArray<z.ZodObject<{
3222
481
  "#text": z.ZodString;
3223
- ":@": z.ZodOptional<z.ZodObject<{
3224
- "@_xmlns:xs": z.ZodOptional<z.ZodString>;
3225
- "@_xmlns:xsi": z.ZodString;
3226
- "@_xsi:type": z.ZodString;
3227
- }, "strip", z.ZodTypeAny, {
3228
- "@_xmlns:xsi": string;
3229
- "@_xsi:type": string;
3230
- "@_xmlns:xs"?: string | undefined;
3231
- }, {
3232
- "@_xmlns:xsi": string;
3233
- "@_xsi:type": string;
3234
- "@_xmlns:xs"?: string | undefined;
3235
- }>>;
3236
- }, "strip", z.ZodTypeAny, {
3237
- "#text": string;
3238
- ":@"?: {
3239
- "@_xmlns:xsi": string;
3240
- "@_xsi:type": string;
3241
- "@_xmlns:xs"?: string | undefined;
3242
- } | undefined;
3243
- }, {
3244
- "#text": string;
3245
- ":@"?: {
3246
- "@_xmlns:xsi": string;
3247
- "@_xsi:type": string;
3248
- "@_xmlns:xs"?: string | undefined;
3249
- } | undefined;
3250
- }>, "many">;
3251
- }, "strip", z.ZodTypeAny, {
3252
- ":@": {
3253
- "@_Name": string;
3254
- "@_NameFormat": string;
3255
- "@_FriendlyName"?: string | undefined;
3256
- };
3257
- "saml:AttributeValue": {
3258
- "#text": string;
3259
- ":@"?: {
3260
- "@_xmlns:xsi": string;
3261
- "@_xsi:type": string;
3262
- "@_xmlns:xs"?: string | undefined;
3263
- } | undefined;
3264
- }[];
3265
- }, {
3266
- ":@": {
3267
- "@_Name": string;
3268
- "@_NameFormat": string;
3269
- "@_FriendlyName"?: string | undefined;
3270
- };
3271
- "saml:AttributeValue": {
3272
- "#text": string;
3273
- ":@"?: {
3274
- "@_xmlns:xsi": string;
3275
- "@_xsi:type": string;
3276
- "@_xmlns:xs"?: string | undefined;
3277
- } | undefined;
3278
- }[];
3279
- }>, "many">;
3280
- }, "strip", z.ZodTypeAny, {
3281
- "saml:Attribute": {
3282
- ":@": {
3283
- "@_Name": string;
3284
- "@_NameFormat": string;
3285
- "@_FriendlyName"?: string | undefined;
3286
- };
3287
- "saml:AttributeValue": {
3288
- "#text": string;
3289
- ":@"?: {
3290
- "@_xmlns:xsi": string;
3291
- "@_xsi:type": string;
3292
- "@_xmlns:xs"?: string | undefined;
3293
- } | undefined;
3294
- }[];
3295
- }[];
3296
- }, {
3297
- "saml:Attribute": {
3298
- ":@": {
3299
- "@_Name": string;
3300
- "@_NameFormat": string;
3301
- "@_FriendlyName"?: string | undefined;
3302
- };
3303
- "saml:AttributeValue": {
3304
- "#text": string;
3305
- ":@"?: {
3306
- "@_xmlns:xsi": string;
3307
- "@_xsi:type": string;
3308
- "@_xmlns:xs"?: string | undefined;
3309
- } | undefined;
3310
- }[];
3311
- }[];
3312
- }>, "many">;
3313
- }, "strip", z.ZodTypeAny, {
3314
- "saml:AttributeStatement": {
3315
- "saml:Attribute": {
3316
- ":@": {
3317
- "@_Name": string;
3318
- "@_NameFormat": string;
3319
- "@_FriendlyName"?: string | undefined;
3320
- };
3321
- "saml:AttributeValue": {
3322
- "#text": string;
3323
- ":@"?: {
3324
- "@_xmlns:xsi": string;
3325
- "@_xsi:type": string;
3326
- "@_xmlns:xs"?: string | undefined;
3327
- } | undefined;
3328
- }[];
3329
- }[];
3330
- }[];
3331
- }, {
3332
- "saml:AttributeStatement": {
3333
- "saml:Attribute": {
3334
- ":@": {
3335
- "@_Name": string;
3336
- "@_NameFormat": string;
3337
- "@_FriendlyName"?: string | undefined;
3338
- };
3339
- "saml:AttributeValue": {
3340
- "#text": string;
3341
- ":@"?: {
3342
- "@_xmlns:xsi": string;
3343
- "@_xsi:type": string;
3344
- "@_xmlns:xs"?: string | undefined;
3345
- } | undefined;
3346
- }[];
3347
- }[];
3348
- }[];
3349
- }>
3350
- ]>, "many">;
482
+ }, z.core.$strip>>;
483
+ ":@": z.ZodOptional<z.ZodObject<{
484
+ "@_xmlns:xs": z.ZodOptional<z.ZodString>;
485
+ "@_xmlns:xsi": z.ZodString;
486
+ "@_xsi:type": z.ZodString;
487
+ }, z.core.$strip>>;
488
+ }, z.core.$strip>>;
489
+ ":@": z.ZodObject<{
490
+ "@_Name": z.ZodString;
491
+ "@_NameFormat": z.ZodString;
492
+ "@_FriendlyName": z.ZodOptional<z.ZodString>;
493
+ }, z.core.$strip>;
494
+ }, z.core.$strip>>;
495
+ }, z.core.$strip>
496
+ ]>>;
3351
497
  ":@": z.ZodObject<{
3352
498
  "@_xmlns": z.ZodString;
3353
499
  "@_ID": z.ZodString;
3354
500
  "@_IssueInstant": z.ZodString;
3355
501
  "@_Version": z.ZodString;
3356
- }, "strip", z.ZodTypeAny, {
3357
- "@_ID": string;
3358
- "@_IssueInstant": string;
3359
- "@_Version": string;
3360
- "@_xmlns": string;
3361
- }, {
3362
- "@_ID": string;
3363
- "@_IssueInstant": string;
3364
- "@_Version": string;
3365
- "@_xmlns": string;
3366
- }>;
3367
- }, "strip", z.ZodTypeAny, {
3368
- ":@": {
3369
- "@_ID": string;
3370
- "@_IssueInstant": string;
3371
- "@_Version": string;
3372
- "@_xmlns": string;
3373
- };
3374
- "saml:Assertion": ({
3375
- "ds:Signature": ({
3376
- "ds:SignedInfo": ({
3377
- "ds:CanonicalizationMethod": {
3378
- ":@": {
3379
- "@_Algorithm": string;
3380
- };
3381
- }[];
3382
- } | {
3383
- "ds:SignatureMethod": {
3384
- ":@": {
3385
- "@_Algorithm": string;
3386
- };
3387
- }[];
3388
- } | {
3389
- "ds:Reference": ({
3390
- "ds:Transforms": {
3391
- ":@": {
3392
- "@_Algorithm": string;
3393
- };
3394
- "ds:Transform": any[];
3395
- }[];
3396
- } | {
3397
- "ds:DigestMethod": {
3398
- ":@": {
3399
- "@_Algorithm": string;
3400
- };
3401
- }[];
3402
- } | {
3403
- "ds:DigestValue": {
3404
- "#text": string;
3405
- }[];
3406
- })[];
3407
- ":@"?: {
3408
- "@_URI"?: string | undefined;
3409
- } | undefined;
3410
- })[];
3411
- } | {
3412
- "ds:SignatureValue": {
3413
- "#text": string;
3414
- }[];
3415
- } | {
3416
- "ds:KeyInfo": ({
3417
- "ds:KeyValue": {
3418
- "ds:RSAKeyValue": ({
3419
- "ds:Modulus": {
3420
- "#text": string;
3421
- }[];
3422
- } | {
3423
- "ds:Exponent": {
3424
- "#text": string;
3425
- }[];
3426
- })[];
3427
- }[];
3428
- } | {
3429
- "ds:X509Data": {
3430
- "ds:X509Certificate": {
3431
- "#text": string;
3432
- }[];
3433
- }[];
3434
- } | {
3435
- "ds:KeyValue": {
3436
- "ds:RSAKeyValue": ({
3437
- "ds:Modulus": {
3438
- "#text": string;
3439
- }[];
3440
- } | {
3441
- "ds:Exponent": {
3442
- "#text": string;
3443
- }[];
3444
- })[];
3445
- }[];
3446
- "ds:X509Data": {
3447
- "ds:X509Certificate": {
3448
- "#text": string;
3449
- }[];
3450
- }[];
3451
- })[];
3452
- })[];
3453
- ":@"?: {
3454
- "@_xmlns:ds"?: string | undefined;
3455
- } | undefined;
3456
- } | {
3457
- "saml:Issuer": {
3458
- "#text": string;
3459
- }[];
3460
- } | {
3461
- "saml:Subject": ({
3462
- ":@": {
3463
- "@_Format": string;
3464
- };
3465
- "saml:NameID": {
3466
- "#text": string;
3467
- }[];
3468
- } | {
3469
- ":@": {
3470
- "@_Method": string;
3471
- };
3472
- "saml:SubjectConfirmation": {
3473
- ":@": {
3474
- "@_InResponseTo": string;
3475
- "@_NotOnOrAfter": string;
3476
- "@_Recipient": string;
3477
- };
3478
- "saml:SubjectConfirmationData": any[];
3479
- }[];
3480
- })[];
3481
- } | {
3482
- ":@": {
3483
- "@_NotOnOrAfter": string;
3484
- "@_NotBefore": string;
3485
- };
3486
- "saml:Conditions": {
3487
- "saml:AudienceRestriction": {
3488
- "saml:Audience": {
3489
- "#text": string;
3490
- }[];
3491
- }[];
3492
- }[];
3493
- } | {
3494
- ":@": {
3495
- "@_AuthnInstant": string;
3496
- "@_SessionIndex": string;
3497
- "@_SessionNotOnOrAfter": string;
3498
- };
3499
- "saml:AuthnStatement": {
3500
- "saml:AuthnContext": {
3501
- "saml:AuthnContextClassRef": {
3502
- "#text": string;
3503
- }[];
3504
- }[];
3505
- }[];
3506
- } | {
3507
- "saml:AttributeStatement": {
3508
- "saml:Attribute": {
3509
- ":@": {
3510
- "@_Name": string;
3511
- "@_NameFormat": string;
3512
- "@_FriendlyName"?: string | undefined;
3513
- };
3514
- "saml:AttributeValue": {
3515
- "#text": string;
3516
- ":@"?: {
3517
- "@_xmlns:xsi": string;
3518
- "@_xsi:type": string;
3519
- "@_xmlns:xs"?: string | undefined;
3520
- } | undefined;
3521
- }[];
3522
- }[];
3523
- }[];
3524
- })[];
3525
- }, {
3526
- ":@": {
3527
- "@_ID": string;
3528
- "@_IssueInstant": string;
3529
- "@_Version": string;
3530
- "@_xmlns": string;
3531
- };
3532
- "saml:Assertion": ({
3533
- "ds:Signature": ({
3534
- "ds:SignedInfo": ({
3535
- "ds:CanonicalizationMethod": {
3536
- ":@": {
3537
- "@_Algorithm": string;
3538
- };
3539
- }[];
3540
- } | {
3541
- "ds:SignatureMethod": {
3542
- ":@": {
3543
- "@_Algorithm": string;
3544
- };
3545
- }[];
3546
- } | {
3547
- "ds:Reference": ({
3548
- "ds:Transforms": {
3549
- ":@": {
3550
- "@_Algorithm": string;
3551
- };
3552
- "ds:Transform": any[];
3553
- }[];
3554
- } | {
3555
- "ds:DigestMethod": {
3556
- ":@": {
3557
- "@_Algorithm": string;
3558
- };
3559
- }[];
3560
- } | {
3561
- "ds:DigestValue": {
3562
- "#text": string;
3563
- }[];
3564
- })[];
3565
- ":@"?: {
3566
- "@_URI"?: string | undefined;
3567
- } | undefined;
3568
- })[];
3569
- } | {
3570
- "ds:SignatureValue": {
3571
- "#text": string;
3572
- }[];
3573
- } | {
3574
- "ds:KeyInfo": ({
3575
- "ds:KeyValue": {
3576
- "ds:RSAKeyValue": ({
3577
- "ds:Modulus": {
3578
- "#text": string;
3579
- }[];
3580
- } | {
3581
- "ds:Exponent": {
3582
- "#text": string;
3583
- }[];
3584
- })[];
3585
- }[];
3586
- } | {
3587
- "ds:X509Data": {
3588
- "ds:X509Certificate": {
3589
- "#text": string;
3590
- }[];
3591
- }[];
3592
- } | {
3593
- "ds:KeyValue": {
3594
- "ds:RSAKeyValue": ({
3595
- "ds:Modulus": {
3596
- "#text": string;
3597
- }[];
3598
- } | {
3599
- "ds:Exponent": {
3600
- "#text": string;
3601
- }[];
3602
- })[];
3603
- }[];
3604
- "ds:X509Data": {
3605
- "ds:X509Certificate": {
3606
- "#text": string;
3607
- }[];
3608
- }[];
3609
- })[];
3610
- })[];
3611
- ":@"?: {
3612
- "@_xmlns:ds"?: string | undefined;
3613
- } | undefined;
3614
- } | {
3615
- "saml:Issuer": {
3616
- "#text": string;
3617
- }[];
3618
- } | {
3619
- "saml:Subject": ({
3620
- ":@": {
3621
- "@_Format": string;
3622
- };
3623
- "saml:NameID": {
3624
- "#text": string;
3625
- }[];
3626
- } | {
3627
- ":@": {
3628
- "@_Method": string;
3629
- };
3630
- "saml:SubjectConfirmation": {
3631
- ":@": {
3632
- "@_InResponseTo": string;
3633
- "@_NotOnOrAfter": string;
3634
- "@_Recipient": string;
3635
- };
3636
- "saml:SubjectConfirmationData": any[];
3637
- }[];
3638
- })[];
3639
- } | {
3640
- ":@": {
3641
- "@_NotOnOrAfter": string;
3642
- "@_NotBefore": string;
3643
- };
3644
- "saml:Conditions": {
3645
- "saml:AudienceRestriction": {
3646
- "saml:Audience": {
3647
- "#text": string;
3648
- }[];
3649
- }[];
3650
- }[];
3651
- } | {
3652
- ":@": {
3653
- "@_AuthnInstant": string;
3654
- "@_SessionIndex": string;
3655
- "@_SessionNotOnOrAfter": string;
3656
- };
3657
- "saml:AuthnStatement": {
3658
- "saml:AuthnContext": {
3659
- "saml:AuthnContextClassRef": {
3660
- "#text": string;
3661
- }[];
3662
- }[];
3663
- }[];
3664
- } | {
3665
- "saml:AttributeStatement": {
3666
- "saml:Attribute": {
3667
- ":@": {
3668
- "@_Name": string;
3669
- "@_NameFormat": string;
3670
- "@_FriendlyName"?: string | undefined;
3671
- };
3672
- "saml:AttributeValue": {
3673
- "#text": string;
3674
- ":@"?: {
3675
- "@_xmlns:xsi": string;
3676
- "@_xsi:type": string;
3677
- "@_xmlns:xs"?: string | undefined;
3678
- } | undefined;
3679
- }[];
3680
- }[];
3681
- }[];
3682
- })[];
3683
- }>
3684
- ]>, "many">;
502
+ }, z.core.$strip>;
503
+ }, z.core.$strip>
504
+ ]>>;
3685
505
  ":@": z.ZodObject<{
3686
506
  "@_xmlns:samlp": z.ZodString;
3687
507
  "@_xmlns:saml": z.ZodString;
@@ -3690,552 +510,8 @@ export declare const samlResponseJsonSchema: z.ZodArray<z.ZodObject<{
3690
510
  "@_InResponseTo": z.ZodString;
3691
511
  "@_IssueInstant": z.ZodString;
3692
512
  "@_Version": z.ZodString;
3693
- }, "strip", z.ZodTypeAny, {
3694
- "@_xmlns:saml": string;
3695
- "@_xmlns:samlp": string;
3696
- "@_ID": string;
3697
- "@_IssueInstant": string;
3698
- "@_Destination": string;
3699
- "@_Version": string;
3700
- "@_InResponseTo": string;
3701
- }, {
3702
- "@_xmlns:saml": string;
3703
- "@_xmlns:samlp": string;
3704
- "@_ID": string;
3705
- "@_IssueInstant": string;
3706
- "@_Destination": string;
3707
- "@_Version": string;
3708
- "@_InResponseTo": string;
3709
- }>;
3710
- }, "strip", z.ZodTypeAny, {
3711
- ":@": {
3712
- "@_xmlns:saml": string;
3713
- "@_xmlns:samlp": string;
3714
- "@_ID": string;
3715
- "@_IssueInstant": string;
3716
- "@_Destination": string;
3717
- "@_Version": string;
3718
- "@_InResponseTo": string;
3719
- };
3720
- "samlp:Response": ({
3721
- "ds:Signature": ({
3722
- "ds:SignedInfo": ({
3723
- "ds:CanonicalizationMethod": {
3724
- ":@": {
3725
- "@_Algorithm": string;
3726
- };
3727
- }[];
3728
- } | {
3729
- "ds:SignatureMethod": {
3730
- ":@": {
3731
- "@_Algorithm": string;
3732
- };
3733
- }[];
3734
- } | {
3735
- "ds:Reference": ({
3736
- "ds:Transforms": {
3737
- ":@": {
3738
- "@_Algorithm": string;
3739
- };
3740
- "ds:Transform": any[];
3741
- }[];
3742
- } | {
3743
- "ds:DigestMethod": {
3744
- ":@": {
3745
- "@_Algorithm": string;
3746
- };
3747
- }[];
3748
- } | {
3749
- "ds:DigestValue": {
3750
- "#text": string;
3751
- }[];
3752
- })[];
3753
- ":@"?: {
3754
- "@_URI"?: string | undefined;
3755
- } | undefined;
3756
- })[];
3757
- } | {
3758
- "ds:SignatureValue": {
3759
- "#text": string;
3760
- }[];
3761
- } | {
3762
- "ds:KeyInfo": ({
3763
- "ds:KeyValue": {
3764
- "ds:RSAKeyValue": ({
3765
- "ds:Modulus": {
3766
- "#text": string;
3767
- }[];
3768
- } | {
3769
- "ds:Exponent": {
3770
- "#text": string;
3771
- }[];
3772
- })[];
3773
- }[];
3774
- } | {
3775
- "ds:X509Data": {
3776
- "ds:X509Certificate": {
3777
- "#text": string;
3778
- }[];
3779
- }[];
3780
- } | {
3781
- "ds:KeyValue": {
3782
- "ds:RSAKeyValue": ({
3783
- "ds:Modulus": {
3784
- "#text": string;
3785
- }[];
3786
- } | {
3787
- "ds:Exponent": {
3788
- "#text": string;
3789
- }[];
3790
- })[];
3791
- }[];
3792
- "ds:X509Data": {
3793
- "ds:X509Certificate": {
3794
- "#text": string;
3795
- }[];
3796
- }[];
3797
- })[];
3798
- })[];
3799
- ":@"?: {
3800
- "@_xmlns:ds"?: string | undefined;
3801
- } | undefined;
3802
- } | {
3803
- "saml:Issuer": {
3804
- "#text": string;
3805
- }[];
3806
- } | {
3807
- "samlp:Status": {
3808
- ":@": {
3809
- "@_Value": string;
3810
- };
3811
- "samlp:StatusCode": {
3812
- "#text": string;
3813
- }[];
3814
- }[];
3815
- } | {
3816
- ":@": {
3817
- "@_ID": string;
3818
- "@_IssueInstant": string;
3819
- "@_Version": string;
3820
- "@_xmlns": string;
3821
- };
3822
- "saml:Assertion": ({
3823
- "ds:Signature": ({
3824
- "ds:SignedInfo": ({
3825
- "ds:CanonicalizationMethod": {
3826
- ":@": {
3827
- "@_Algorithm": string;
3828
- };
3829
- }[];
3830
- } | {
3831
- "ds:SignatureMethod": {
3832
- ":@": {
3833
- "@_Algorithm": string;
3834
- };
3835
- }[];
3836
- } | {
3837
- "ds:Reference": ({
3838
- "ds:Transforms": {
3839
- ":@": {
3840
- "@_Algorithm": string;
3841
- };
3842
- "ds:Transform": any[];
3843
- }[];
3844
- } | {
3845
- "ds:DigestMethod": {
3846
- ":@": {
3847
- "@_Algorithm": string;
3848
- };
3849
- }[];
3850
- } | {
3851
- "ds:DigestValue": {
3852
- "#text": string;
3853
- }[];
3854
- })[];
3855
- ":@"?: {
3856
- "@_URI"?: string | undefined;
3857
- } | undefined;
3858
- })[];
3859
- } | {
3860
- "ds:SignatureValue": {
3861
- "#text": string;
3862
- }[];
3863
- } | {
3864
- "ds:KeyInfo": ({
3865
- "ds:KeyValue": {
3866
- "ds:RSAKeyValue": ({
3867
- "ds:Modulus": {
3868
- "#text": string;
3869
- }[];
3870
- } | {
3871
- "ds:Exponent": {
3872
- "#text": string;
3873
- }[];
3874
- })[];
3875
- }[];
3876
- } | {
3877
- "ds:X509Data": {
3878
- "ds:X509Certificate": {
3879
- "#text": string;
3880
- }[];
3881
- }[];
3882
- } | {
3883
- "ds:KeyValue": {
3884
- "ds:RSAKeyValue": ({
3885
- "ds:Modulus": {
3886
- "#text": string;
3887
- }[];
3888
- } | {
3889
- "ds:Exponent": {
3890
- "#text": string;
3891
- }[];
3892
- })[];
3893
- }[];
3894
- "ds:X509Data": {
3895
- "ds:X509Certificate": {
3896
- "#text": string;
3897
- }[];
3898
- }[];
3899
- })[];
3900
- })[];
3901
- ":@"?: {
3902
- "@_xmlns:ds"?: string | undefined;
3903
- } | undefined;
3904
- } | {
3905
- "saml:Issuer": {
3906
- "#text": string;
3907
- }[];
3908
- } | {
3909
- "saml:Subject": ({
3910
- ":@": {
3911
- "@_Format": string;
3912
- };
3913
- "saml:NameID": {
3914
- "#text": string;
3915
- }[];
3916
- } | {
3917
- ":@": {
3918
- "@_Method": string;
3919
- };
3920
- "saml:SubjectConfirmation": {
3921
- ":@": {
3922
- "@_InResponseTo": string;
3923
- "@_NotOnOrAfter": string;
3924
- "@_Recipient": string;
3925
- };
3926
- "saml:SubjectConfirmationData": any[];
3927
- }[];
3928
- })[];
3929
- } | {
3930
- ":@": {
3931
- "@_NotOnOrAfter": string;
3932
- "@_NotBefore": string;
3933
- };
3934
- "saml:Conditions": {
3935
- "saml:AudienceRestriction": {
3936
- "saml:Audience": {
3937
- "#text": string;
3938
- }[];
3939
- }[];
3940
- }[];
3941
- } | {
3942
- ":@": {
3943
- "@_AuthnInstant": string;
3944
- "@_SessionIndex": string;
3945
- "@_SessionNotOnOrAfter": string;
3946
- };
3947
- "saml:AuthnStatement": {
3948
- "saml:AuthnContext": {
3949
- "saml:AuthnContextClassRef": {
3950
- "#text": string;
3951
- }[];
3952
- }[];
3953
- }[];
3954
- } | {
3955
- "saml:AttributeStatement": {
3956
- "saml:Attribute": {
3957
- ":@": {
3958
- "@_Name": string;
3959
- "@_NameFormat": string;
3960
- "@_FriendlyName"?: string | undefined;
3961
- };
3962
- "saml:AttributeValue": {
3963
- "#text": string;
3964
- ":@"?: {
3965
- "@_xmlns:xsi": string;
3966
- "@_xsi:type": string;
3967
- "@_xmlns:xs"?: string | undefined;
3968
- } | undefined;
3969
- }[];
3970
- }[];
3971
- }[];
3972
- })[];
3973
- })[];
3974
- }, {
3975
- ":@": {
3976
- "@_xmlns:saml": string;
3977
- "@_xmlns:samlp": string;
3978
- "@_ID": string;
3979
- "@_IssueInstant": string;
3980
- "@_Destination": string;
3981
- "@_Version": string;
3982
- "@_InResponseTo": string;
3983
- };
3984
- "samlp:Response": ({
3985
- "ds:Signature": ({
3986
- "ds:SignedInfo": ({
3987
- "ds:CanonicalizationMethod": {
3988
- ":@": {
3989
- "@_Algorithm": string;
3990
- };
3991
- }[];
3992
- } | {
3993
- "ds:SignatureMethod": {
3994
- ":@": {
3995
- "@_Algorithm": string;
3996
- };
3997
- }[];
3998
- } | {
3999
- "ds:Reference": ({
4000
- "ds:Transforms": {
4001
- ":@": {
4002
- "@_Algorithm": string;
4003
- };
4004
- "ds:Transform": any[];
4005
- }[];
4006
- } | {
4007
- "ds:DigestMethod": {
4008
- ":@": {
4009
- "@_Algorithm": string;
4010
- };
4011
- }[];
4012
- } | {
4013
- "ds:DigestValue": {
4014
- "#text": string;
4015
- }[];
4016
- })[];
4017
- ":@"?: {
4018
- "@_URI"?: string | undefined;
4019
- } | undefined;
4020
- })[];
4021
- } | {
4022
- "ds:SignatureValue": {
4023
- "#text": string;
4024
- }[];
4025
- } | {
4026
- "ds:KeyInfo": ({
4027
- "ds:KeyValue": {
4028
- "ds:RSAKeyValue": ({
4029
- "ds:Modulus": {
4030
- "#text": string;
4031
- }[];
4032
- } | {
4033
- "ds:Exponent": {
4034
- "#text": string;
4035
- }[];
4036
- })[];
4037
- }[];
4038
- } | {
4039
- "ds:X509Data": {
4040
- "ds:X509Certificate": {
4041
- "#text": string;
4042
- }[];
4043
- }[];
4044
- } | {
4045
- "ds:KeyValue": {
4046
- "ds:RSAKeyValue": ({
4047
- "ds:Modulus": {
4048
- "#text": string;
4049
- }[];
4050
- } | {
4051
- "ds:Exponent": {
4052
- "#text": string;
4053
- }[];
4054
- })[];
4055
- }[];
4056
- "ds:X509Data": {
4057
- "ds:X509Certificate": {
4058
- "#text": string;
4059
- }[];
4060
- }[];
4061
- })[];
4062
- })[];
4063
- ":@"?: {
4064
- "@_xmlns:ds"?: string | undefined;
4065
- } | undefined;
4066
- } | {
4067
- "saml:Issuer": {
4068
- "#text": string;
4069
- }[];
4070
- } | {
4071
- "samlp:Status": {
4072
- ":@": {
4073
- "@_Value": string;
4074
- };
4075
- "samlp:StatusCode": {
4076
- "#text": string;
4077
- }[];
4078
- }[];
4079
- } | {
4080
- ":@": {
4081
- "@_ID": string;
4082
- "@_IssueInstant": string;
4083
- "@_Version": string;
4084
- "@_xmlns": string;
4085
- };
4086
- "saml:Assertion": ({
4087
- "ds:Signature": ({
4088
- "ds:SignedInfo": ({
4089
- "ds:CanonicalizationMethod": {
4090
- ":@": {
4091
- "@_Algorithm": string;
4092
- };
4093
- }[];
4094
- } | {
4095
- "ds:SignatureMethod": {
4096
- ":@": {
4097
- "@_Algorithm": string;
4098
- };
4099
- }[];
4100
- } | {
4101
- "ds:Reference": ({
4102
- "ds:Transforms": {
4103
- ":@": {
4104
- "@_Algorithm": string;
4105
- };
4106
- "ds:Transform": any[];
4107
- }[];
4108
- } | {
4109
- "ds:DigestMethod": {
4110
- ":@": {
4111
- "@_Algorithm": string;
4112
- };
4113
- }[];
4114
- } | {
4115
- "ds:DigestValue": {
4116
- "#text": string;
4117
- }[];
4118
- })[];
4119
- ":@"?: {
4120
- "@_URI"?: string | undefined;
4121
- } | undefined;
4122
- })[];
4123
- } | {
4124
- "ds:SignatureValue": {
4125
- "#text": string;
4126
- }[];
4127
- } | {
4128
- "ds:KeyInfo": ({
4129
- "ds:KeyValue": {
4130
- "ds:RSAKeyValue": ({
4131
- "ds:Modulus": {
4132
- "#text": string;
4133
- }[];
4134
- } | {
4135
- "ds:Exponent": {
4136
- "#text": string;
4137
- }[];
4138
- })[];
4139
- }[];
4140
- } | {
4141
- "ds:X509Data": {
4142
- "ds:X509Certificate": {
4143
- "#text": string;
4144
- }[];
4145
- }[];
4146
- } | {
4147
- "ds:KeyValue": {
4148
- "ds:RSAKeyValue": ({
4149
- "ds:Modulus": {
4150
- "#text": string;
4151
- }[];
4152
- } | {
4153
- "ds:Exponent": {
4154
- "#text": string;
4155
- }[];
4156
- })[];
4157
- }[];
4158
- "ds:X509Data": {
4159
- "ds:X509Certificate": {
4160
- "#text": string;
4161
- }[];
4162
- }[];
4163
- })[];
4164
- })[];
4165
- ":@"?: {
4166
- "@_xmlns:ds"?: string | undefined;
4167
- } | undefined;
4168
- } | {
4169
- "saml:Issuer": {
4170
- "#text": string;
4171
- }[];
4172
- } | {
4173
- "saml:Subject": ({
4174
- ":@": {
4175
- "@_Format": string;
4176
- };
4177
- "saml:NameID": {
4178
- "#text": string;
4179
- }[];
4180
- } | {
4181
- ":@": {
4182
- "@_Method": string;
4183
- };
4184
- "saml:SubjectConfirmation": {
4185
- ":@": {
4186
- "@_InResponseTo": string;
4187
- "@_NotOnOrAfter": string;
4188
- "@_Recipient": string;
4189
- };
4190
- "saml:SubjectConfirmationData": any[];
4191
- }[];
4192
- })[];
4193
- } | {
4194
- ":@": {
4195
- "@_NotOnOrAfter": string;
4196
- "@_NotBefore": string;
4197
- };
4198
- "saml:Conditions": {
4199
- "saml:AudienceRestriction": {
4200
- "saml:Audience": {
4201
- "#text": string;
4202
- }[];
4203
- }[];
4204
- }[];
4205
- } | {
4206
- ":@": {
4207
- "@_AuthnInstant": string;
4208
- "@_SessionIndex": string;
4209
- "@_SessionNotOnOrAfter": string;
4210
- };
4211
- "saml:AuthnStatement": {
4212
- "saml:AuthnContext": {
4213
- "saml:AuthnContextClassRef": {
4214
- "#text": string;
4215
- }[];
4216
- }[];
4217
- }[];
4218
- } | {
4219
- "saml:AttributeStatement": {
4220
- "saml:Attribute": {
4221
- ":@": {
4222
- "@_Name": string;
4223
- "@_NameFormat": string;
4224
- "@_FriendlyName"?: string | undefined;
4225
- };
4226
- "saml:AttributeValue": {
4227
- "#text": string;
4228
- ":@"?: {
4229
- "@_xmlns:xsi": string;
4230
- "@_xsi:type": string;
4231
- "@_xmlns:xs"?: string | undefined;
4232
- } | undefined;
4233
- }[];
4234
- }[];
4235
- }[];
4236
- })[];
4237
- })[];
4238
- }>, "many">;
513
+ }, z.core.$strip>;
514
+ }, z.core.$strip>>;
4239
515
  export type SAMLResponseJSON = z.infer<typeof samlResponseJsonSchema>;
4240
516
  /**
4241
517
  * Interface for SAML signing implementations.
@@ -4297,7 +573,7 @@ export declare function parseSamlRequestQuery(samlRequestQuery: string): Promise
4297
573
  "@_ProtocolBinding"?: string | undefined;
4298
574
  };
4299
575
  }>;
4300
- export declare function createSamlMetadata(samlMetadataParams: SAMLMetadataParams): any;
576
+ export declare function createSamlMetadata(samlMetadataParams: SAMLMetadataParams): string;
4301
577
  export declare function createSamlResponse(samlResponseParams: SAMLResponseParams, signer?: SamlSigner): Promise<string>;
4302
578
  /**
4303
579
  * HTTP-based SAML signer that delegates signing to a remote endpoint.