@pagopa/io-react-native-wallet 0.3.1 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +57 -24
- package/lib/commonjs/index.js +39 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/rp/__test__/index.test.js +8 -1
- package/lib/commonjs/rp/__test__/index.test.js.map +1 -1
- package/lib/commonjs/rp/index.js +4 -13
- package/lib/commonjs/rp/index.js.map +1 -1
- package/lib/commonjs/rp/types.js +12 -32
- package/lib/commonjs/rp/types.js.map +1 -1
- package/lib/commonjs/trust/chain.js +94 -0
- package/lib/commonjs/trust/chain.js.map +1 -0
- package/lib/commonjs/trust/index.js +44 -0
- package/lib/commonjs/trust/index.js.map +1 -0
- package/lib/commonjs/trust/types.js +68 -0
- package/lib/commonjs/trust/types.js.map +1 -0
- package/lib/commonjs/wallet-instance-attestation/issuing.js +4 -4
- package/lib/commonjs/wallet-instance-attestation/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/types.js +6 -9
- package/lib/commonjs/wallet-instance-attestation/types.js.map +1 -1
- package/lib/module/index.js +4 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/rp/__test__/index.test.js +8 -1
- package/lib/module/rp/__test__/index.test.js.map +1 -1
- package/lib/module/rp/index.js +4 -13
- package/lib/module/rp/index.js.map +1 -1
- package/lib/module/rp/types.js +12 -32
- package/lib/module/rp/types.js.map +1 -1
- package/lib/module/trust/chain.js +86 -0
- package/lib/module/trust/chain.js.map +1 -0
- package/lib/module/trust/index.js +34 -0
- package/lib/module/trust/index.js.map +1 -0
- package/lib/module/trust/types.js +56 -0
- package/lib/module/trust/types.js.map +1 -0
- package/lib/module/wallet-instance-attestation/issuing.js +4 -4
- package/lib/module/wallet-instance-attestation/issuing.js.map +1 -1
- package/lib/module/wallet-instance-attestation/types.js +6 -9
- package/lib/module/wallet-instance-attestation/types.js.map +1 -1
- package/lib/typescript/index.d.ts +4 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/rp/index.d.ts.map +1 -1
- package/lib/typescript/rp/types.d.ts +463 -180
- package/lib/typescript/rp/types.d.ts.map +1 -1
- package/lib/typescript/trust/chain.d.ts +17 -0
- package/lib/typescript/trust/chain.d.ts.map +1 -0
- package/lib/typescript/trust/index.d.ts +16 -0
- package/lib/typescript/trust/index.d.ts.map +1 -0
- package/lib/typescript/trust/types.d.ts +1225 -0
- package/lib/typescript/trust/types.d.ts.map +1 -0
- package/lib/typescript/wallet-instance-attestation/types.d.ts +30 -50
- package/lib/typescript/wallet-instance-attestation/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +13 -0
- package/src/rp/__test__/index.test.ts +8 -1
- package/src/rp/index.ts +4 -19
- package/src/rp/types.ts +19 -34
- package/src/trust/chain.ts +109 -0
- package/src/trust/index.ts +43 -0
- package/src/trust/types.ts +64 -0
- package/src/wallet-instance-attestation/issuing.ts +4 -4
- package/src/wallet-instance-attestation/types.ts +6 -9
@@ -95,8 +95,11 @@ export declare const RequestObject: z.ZodObject<{
|
|
95
95
|
scope: string;
|
96
96
|
};
|
97
97
|
}>;
|
98
|
+
/**
|
99
|
+
* EntityConfiguration plus the metadata specific for a Relying Party entity.
|
100
|
+
*/
|
98
101
|
export type RpEntityConfiguration = z.infer<typeof RpEntityConfiguration>;
|
99
|
-
export declare const RpEntityConfiguration: z.ZodObject<{
|
102
|
+
export declare const RpEntityConfiguration: z.ZodIntersection<z.ZodObject<{
|
100
103
|
header: z.ZodObject<{
|
101
104
|
typ: z.ZodLiteral<"entity-statement+jwt">;
|
102
105
|
alg: z.ZodString;
|
@@ -237,11 +240,322 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
237
240
|
x5u?: string | undefined;
|
238
241
|
}[];
|
239
242
|
}>;
|
243
|
+
metadata: z.ZodObject<{
|
244
|
+
federation_entity: z.ZodObject<{
|
245
|
+
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
246
|
+
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
247
|
+
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
248
|
+
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
249
|
+
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
250
|
+
homepage_uri: z.ZodOptional<z.ZodString>;
|
251
|
+
policy_uri: z.ZodOptional<z.ZodString>;
|
252
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
253
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
254
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
255
|
+
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
256
|
+
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
257
|
+
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
258
|
+
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
259
|
+
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
260
|
+
homepage_uri: z.ZodOptional<z.ZodString>;
|
261
|
+
policy_uri: z.ZodOptional<z.ZodString>;
|
262
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
263
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
264
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
265
|
+
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
266
|
+
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
267
|
+
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
268
|
+
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
269
|
+
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
270
|
+
homepage_uri: z.ZodOptional<z.ZodString>;
|
271
|
+
policy_uri: z.ZodOptional<z.ZodString>;
|
272
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
273
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
274
|
+
}, z.ZodTypeAny, "passthrough">>;
|
275
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
276
|
+
federation_entity: z.ZodObject<{
|
277
|
+
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
278
|
+
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
279
|
+
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
280
|
+
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
281
|
+
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
282
|
+
homepage_uri: z.ZodOptional<z.ZodString>;
|
283
|
+
policy_uri: z.ZodOptional<z.ZodString>;
|
284
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
285
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
286
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
287
|
+
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
288
|
+
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
289
|
+
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
290
|
+
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
291
|
+
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
292
|
+
homepage_uri: z.ZodOptional<z.ZodString>;
|
293
|
+
policy_uri: z.ZodOptional<z.ZodString>;
|
294
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
295
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
296
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
297
|
+
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
298
|
+
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
299
|
+
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
300
|
+
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
301
|
+
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
302
|
+
homepage_uri: z.ZodOptional<z.ZodString>;
|
303
|
+
policy_uri: z.ZodOptional<z.ZodString>;
|
304
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
305
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
306
|
+
}, z.ZodTypeAny, "passthrough">>;
|
307
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
308
|
+
federation_entity: z.ZodObject<{
|
309
|
+
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
310
|
+
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
311
|
+
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
312
|
+
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
313
|
+
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
314
|
+
homepage_uri: z.ZodOptional<z.ZodString>;
|
315
|
+
policy_uri: z.ZodOptional<z.ZodString>;
|
316
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
317
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
318
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
319
|
+
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
320
|
+
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
321
|
+
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
322
|
+
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
323
|
+
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
324
|
+
homepage_uri: z.ZodOptional<z.ZodString>;
|
325
|
+
policy_uri: z.ZodOptional<z.ZodString>;
|
326
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
327
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
328
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
329
|
+
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
330
|
+
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
331
|
+
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
332
|
+
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
333
|
+
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
334
|
+
homepage_uri: z.ZodOptional<z.ZodString>;
|
335
|
+
policy_uri: z.ZodOptional<z.ZodString>;
|
336
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
337
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
338
|
+
}, z.ZodTypeAny, "passthrough">>;
|
339
|
+
}, z.ZodTypeAny, "passthrough">>;
|
340
|
+
authority_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
341
|
+
}, "strip", z.ZodTypeAny, {
|
342
|
+
iss: string;
|
343
|
+
sub: string;
|
344
|
+
iat: number;
|
345
|
+
exp: number;
|
346
|
+
jwks: {
|
347
|
+
keys: {
|
348
|
+
kty: "RSA" | "EC";
|
349
|
+
alg?: string | undefined;
|
350
|
+
crv?: string | undefined;
|
351
|
+
d?: string | undefined;
|
352
|
+
dp?: string | undefined;
|
353
|
+
dq?: string | undefined;
|
354
|
+
e?: string | undefined;
|
355
|
+
ext?: boolean | undefined;
|
356
|
+
k?: string | undefined;
|
357
|
+
key_ops?: string[] | undefined;
|
358
|
+
kid?: string | undefined;
|
359
|
+
n?: string | undefined;
|
360
|
+
p?: string | undefined;
|
361
|
+
q?: string | undefined;
|
362
|
+
qi?: string | undefined;
|
363
|
+
use?: string | undefined;
|
364
|
+
x?: string | undefined;
|
365
|
+
y?: string | undefined;
|
366
|
+
x5c?: string[] | undefined;
|
367
|
+
x5t?: string | undefined;
|
368
|
+
"x5t#S256"?: string | undefined;
|
369
|
+
x5u?: string | undefined;
|
370
|
+
}[];
|
371
|
+
};
|
372
|
+
metadata: {
|
373
|
+
federation_entity: {
|
374
|
+
federation_fetch_endpoint?: string | undefined;
|
375
|
+
federation_list_endpoint?: string | undefined;
|
376
|
+
federation_resolve_endpoint?: string | undefined;
|
377
|
+
federation_trust_mark_status_endpoint?: string | undefined;
|
378
|
+
federation_trust_mark_list_endpoint?: string | undefined;
|
379
|
+
homepage_uri?: string | undefined;
|
380
|
+
policy_uri?: string | undefined;
|
381
|
+
logo_uri?: string | undefined;
|
382
|
+
contacts?: string[] | undefined;
|
383
|
+
} & {
|
384
|
+
[k: string]: unknown;
|
385
|
+
};
|
386
|
+
} & {
|
387
|
+
[k: string]: unknown;
|
388
|
+
};
|
389
|
+
authority_hints?: string[] | undefined;
|
390
|
+
}, {
|
391
|
+
iss: string;
|
392
|
+
sub: string;
|
393
|
+
iat: number;
|
394
|
+
exp: number;
|
395
|
+
jwks: {
|
396
|
+
keys: {
|
397
|
+
kty: "RSA" | "EC";
|
398
|
+
alg?: string | undefined;
|
399
|
+
crv?: string | undefined;
|
400
|
+
d?: string | undefined;
|
401
|
+
dp?: string | undefined;
|
402
|
+
dq?: string | undefined;
|
403
|
+
e?: string | undefined;
|
404
|
+
ext?: boolean | undefined;
|
405
|
+
k?: string | undefined;
|
406
|
+
key_ops?: string[] | undefined;
|
407
|
+
kid?: string | undefined;
|
408
|
+
n?: string | undefined;
|
409
|
+
p?: string | undefined;
|
410
|
+
q?: string | undefined;
|
411
|
+
qi?: string | undefined;
|
412
|
+
use?: string | undefined;
|
413
|
+
x?: string | undefined;
|
414
|
+
y?: string | undefined;
|
415
|
+
x5c?: string[] | undefined;
|
416
|
+
x5t?: string | undefined;
|
417
|
+
"x5t#S256"?: string | undefined;
|
418
|
+
x5u?: string | undefined;
|
419
|
+
}[];
|
420
|
+
};
|
421
|
+
metadata: {
|
422
|
+
federation_entity: {
|
423
|
+
federation_fetch_endpoint?: string | undefined;
|
424
|
+
federation_list_endpoint?: string | undefined;
|
425
|
+
federation_resolve_endpoint?: string | undefined;
|
426
|
+
federation_trust_mark_status_endpoint?: string | undefined;
|
427
|
+
federation_trust_mark_list_endpoint?: string | undefined;
|
428
|
+
homepage_uri?: string | undefined;
|
429
|
+
policy_uri?: string | undefined;
|
430
|
+
logo_uri?: string | undefined;
|
431
|
+
contacts?: string[] | undefined;
|
432
|
+
} & {
|
433
|
+
[k: string]: unknown;
|
434
|
+
};
|
435
|
+
} & {
|
436
|
+
[k: string]: unknown;
|
437
|
+
};
|
438
|
+
authority_hints?: string[] | undefined;
|
439
|
+
}>;
|
440
|
+
}, "strip", z.ZodTypeAny, {
|
441
|
+
header: {
|
442
|
+
alg: string;
|
443
|
+
kid: string;
|
444
|
+
typ: "entity-statement+jwt";
|
445
|
+
};
|
446
|
+
payload: {
|
447
|
+
iss: string;
|
448
|
+
sub: string;
|
449
|
+
iat: number;
|
450
|
+
exp: number;
|
451
|
+
jwks: {
|
452
|
+
keys: {
|
453
|
+
kty: "RSA" | "EC";
|
454
|
+
alg?: string | undefined;
|
455
|
+
crv?: string | undefined;
|
456
|
+
d?: string | undefined;
|
457
|
+
dp?: string | undefined;
|
458
|
+
dq?: string | undefined;
|
459
|
+
e?: string | undefined;
|
460
|
+
ext?: boolean | undefined;
|
461
|
+
k?: string | undefined;
|
462
|
+
key_ops?: string[] | undefined;
|
463
|
+
kid?: string | undefined;
|
464
|
+
n?: string | undefined;
|
465
|
+
p?: string | undefined;
|
466
|
+
q?: string | undefined;
|
467
|
+
qi?: string | undefined;
|
468
|
+
use?: string | undefined;
|
469
|
+
x?: string | undefined;
|
470
|
+
y?: string | undefined;
|
471
|
+
x5c?: string[] | undefined;
|
472
|
+
x5t?: string | undefined;
|
473
|
+
"x5t#S256"?: string | undefined;
|
474
|
+
x5u?: string | undefined;
|
475
|
+
}[];
|
476
|
+
};
|
477
|
+
metadata: {
|
478
|
+
federation_entity: {
|
479
|
+
federation_fetch_endpoint?: string | undefined;
|
480
|
+
federation_list_endpoint?: string | undefined;
|
481
|
+
federation_resolve_endpoint?: string | undefined;
|
482
|
+
federation_trust_mark_status_endpoint?: string | undefined;
|
483
|
+
federation_trust_mark_list_endpoint?: string | undefined;
|
484
|
+
homepage_uri?: string | undefined;
|
485
|
+
policy_uri?: string | undefined;
|
486
|
+
logo_uri?: string | undefined;
|
487
|
+
contacts?: string[] | undefined;
|
488
|
+
} & {
|
489
|
+
[k: string]: unknown;
|
490
|
+
};
|
491
|
+
} & {
|
492
|
+
[k: string]: unknown;
|
493
|
+
};
|
494
|
+
authority_hints?: string[] | undefined;
|
495
|
+
};
|
496
|
+
}, {
|
497
|
+
header: {
|
498
|
+
alg: string;
|
499
|
+
kid: string;
|
500
|
+
typ: "entity-statement+jwt";
|
501
|
+
};
|
502
|
+
payload: {
|
503
|
+
iss: string;
|
504
|
+
sub: string;
|
505
|
+
iat: number;
|
506
|
+
exp: number;
|
507
|
+
jwks: {
|
508
|
+
keys: {
|
509
|
+
kty: "RSA" | "EC";
|
510
|
+
alg?: string | undefined;
|
511
|
+
crv?: string | undefined;
|
512
|
+
d?: string | undefined;
|
513
|
+
dp?: string | undefined;
|
514
|
+
dq?: string | undefined;
|
515
|
+
e?: string | undefined;
|
516
|
+
ext?: boolean | undefined;
|
517
|
+
k?: string | undefined;
|
518
|
+
key_ops?: string[] | undefined;
|
519
|
+
kid?: string | undefined;
|
520
|
+
n?: string | undefined;
|
521
|
+
p?: string | undefined;
|
522
|
+
q?: string | undefined;
|
523
|
+
qi?: string | undefined;
|
524
|
+
use?: string | undefined;
|
525
|
+
x?: string | undefined;
|
526
|
+
y?: string | undefined;
|
527
|
+
x5c?: string[] | undefined;
|
528
|
+
x5t?: string | undefined;
|
529
|
+
"x5t#S256"?: string | undefined;
|
530
|
+
x5u?: string | undefined;
|
531
|
+
}[];
|
532
|
+
};
|
533
|
+
metadata: {
|
534
|
+
federation_entity: {
|
535
|
+
federation_fetch_endpoint?: string | undefined;
|
536
|
+
federation_list_endpoint?: string | undefined;
|
537
|
+
federation_resolve_endpoint?: string | undefined;
|
538
|
+
federation_trust_mark_status_endpoint?: string | undefined;
|
539
|
+
federation_trust_mark_list_endpoint?: string | undefined;
|
540
|
+
homepage_uri?: string | undefined;
|
541
|
+
policy_uri?: string | undefined;
|
542
|
+
logo_uri?: string | undefined;
|
543
|
+
contacts?: string[] | undefined;
|
544
|
+
} & {
|
545
|
+
[k: string]: unknown;
|
546
|
+
};
|
547
|
+
} & {
|
548
|
+
[k: string]: unknown;
|
549
|
+
};
|
550
|
+
authority_hints?: string[] | undefined;
|
551
|
+
};
|
552
|
+
}>, z.ZodObject<{
|
553
|
+
payload: z.ZodObject<{
|
240
554
|
metadata: z.ZodObject<{
|
241
555
|
wallet_relying_party: z.ZodObject<{
|
242
|
-
application_type: z.ZodString
|
243
|
-
client_id: z.ZodString
|
244
|
-
client_name: z.ZodString
|
556
|
+
application_type: z.ZodOptional<z.ZodString>;
|
557
|
+
client_id: z.ZodOptional<z.ZodString>;
|
558
|
+
client_name: z.ZodOptional<z.ZodString>;
|
245
559
|
jwks: z.ZodArray<z.ZodObject<{
|
246
560
|
alg: z.ZodOptional<z.ZodString>;
|
247
561
|
crv: z.ZodOptional<z.ZodString>;
|
@@ -312,9 +626,35 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
312
626
|
"x5t#S256"?: string | undefined;
|
313
627
|
x5u?: string | undefined;
|
314
628
|
}>, "many">;
|
315
|
-
contacts: z.ZodArray<z.ZodString, "many"
|
316
|
-
}, "
|
317
|
-
|
629
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
630
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
631
|
+
application_type: z.ZodOptional<z.ZodString>;
|
632
|
+
client_id: z.ZodOptional<z.ZodString>;
|
633
|
+
client_name: z.ZodOptional<z.ZodString>;
|
634
|
+
jwks: z.ZodArray<z.ZodObject<{
|
635
|
+
alg: z.ZodOptional<z.ZodString>;
|
636
|
+
crv: z.ZodOptional<z.ZodString>;
|
637
|
+
d: z.ZodOptional<z.ZodString>;
|
638
|
+
dp: z.ZodOptional<z.ZodString>;
|
639
|
+
dq: z.ZodOptional<z.ZodString>;
|
640
|
+
e: z.ZodOptional<z.ZodString>;
|
641
|
+
ext: z.ZodOptional<z.ZodBoolean>;
|
642
|
+
k: z.ZodOptional<z.ZodString>;
|
643
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
644
|
+
kid: z.ZodOptional<z.ZodString>;
|
645
|
+
kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
|
646
|
+
n: z.ZodOptional<z.ZodString>;
|
647
|
+
p: z.ZodOptional<z.ZodString>;
|
648
|
+
q: z.ZodOptional<z.ZodString>;
|
649
|
+
qi: z.ZodOptional<z.ZodString>;
|
650
|
+
use: z.ZodOptional<z.ZodString>;
|
651
|
+
x: z.ZodOptional<z.ZodString>;
|
652
|
+
y: z.ZodOptional<z.ZodString>;
|
653
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
654
|
+
x5t: z.ZodOptional<z.ZodString>;
|
655
|
+
"x5t#S256": z.ZodOptional<z.ZodString>;
|
656
|
+
x5u: z.ZodOptional<z.ZodString>;
|
657
|
+
}, "strip", z.ZodTypeAny, {
|
318
658
|
kty: "RSA" | "EC";
|
319
659
|
alg?: string | undefined;
|
320
660
|
crv?: string | undefined;
|
@@ -337,13 +677,7 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
337
677
|
x5t?: string | undefined;
|
338
678
|
"x5t#S256"?: string | undefined;
|
339
679
|
x5u?: string | undefined;
|
340
|
-
}
|
341
|
-
client_id: string;
|
342
|
-
application_type: string;
|
343
|
-
client_name: string;
|
344
|
-
contacts: string[];
|
345
|
-
}, {
|
346
|
-
jwks: {
|
680
|
+
}, {
|
347
681
|
kty: "RSA" | "EC";
|
348
682
|
alg?: string | undefined;
|
349
683
|
crv?: string | undefined;
|
@@ -366,12 +700,84 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
366
700
|
x5t?: string | undefined;
|
367
701
|
"x5t#S256"?: string | undefined;
|
368
702
|
x5u?: string | undefined;
|
369
|
-
}
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
703
|
+
}>, "many">;
|
704
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
705
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
706
|
+
application_type: z.ZodOptional<z.ZodString>;
|
707
|
+
client_id: z.ZodOptional<z.ZodString>;
|
708
|
+
client_name: z.ZodOptional<z.ZodString>;
|
709
|
+
jwks: z.ZodArray<z.ZodObject<{
|
710
|
+
alg: z.ZodOptional<z.ZodString>;
|
711
|
+
crv: z.ZodOptional<z.ZodString>;
|
712
|
+
d: z.ZodOptional<z.ZodString>;
|
713
|
+
dp: z.ZodOptional<z.ZodString>;
|
714
|
+
dq: z.ZodOptional<z.ZodString>;
|
715
|
+
e: z.ZodOptional<z.ZodString>;
|
716
|
+
ext: z.ZodOptional<z.ZodBoolean>;
|
717
|
+
k: z.ZodOptional<z.ZodString>;
|
718
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
719
|
+
kid: z.ZodOptional<z.ZodString>;
|
720
|
+
kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
|
721
|
+
n: z.ZodOptional<z.ZodString>;
|
722
|
+
p: z.ZodOptional<z.ZodString>;
|
723
|
+
q: z.ZodOptional<z.ZodString>;
|
724
|
+
qi: z.ZodOptional<z.ZodString>;
|
725
|
+
use: z.ZodOptional<z.ZodString>;
|
726
|
+
x: z.ZodOptional<z.ZodString>;
|
727
|
+
y: z.ZodOptional<z.ZodString>;
|
728
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
729
|
+
x5t: z.ZodOptional<z.ZodString>;
|
730
|
+
"x5t#S256": z.ZodOptional<z.ZodString>;
|
731
|
+
x5u: z.ZodOptional<z.ZodString>;
|
732
|
+
}, "strip", z.ZodTypeAny, {
|
733
|
+
kty: "RSA" | "EC";
|
734
|
+
alg?: string | undefined;
|
735
|
+
crv?: string | undefined;
|
736
|
+
d?: string | undefined;
|
737
|
+
dp?: string | undefined;
|
738
|
+
dq?: string | undefined;
|
739
|
+
e?: string | undefined;
|
740
|
+
ext?: boolean | undefined;
|
741
|
+
k?: string | undefined;
|
742
|
+
key_ops?: string[] | undefined;
|
743
|
+
kid?: string | undefined;
|
744
|
+
n?: string | undefined;
|
745
|
+
p?: string | undefined;
|
746
|
+
q?: string | undefined;
|
747
|
+
qi?: string | undefined;
|
748
|
+
use?: string | undefined;
|
749
|
+
x?: string | undefined;
|
750
|
+
y?: string | undefined;
|
751
|
+
x5c?: string[] | undefined;
|
752
|
+
x5t?: string | undefined;
|
753
|
+
"x5t#S256"?: string | undefined;
|
754
|
+
x5u?: string | undefined;
|
755
|
+
}, {
|
756
|
+
kty: "RSA" | "EC";
|
757
|
+
alg?: string | undefined;
|
758
|
+
crv?: string | undefined;
|
759
|
+
d?: string | undefined;
|
760
|
+
dp?: string | undefined;
|
761
|
+
dq?: string | undefined;
|
762
|
+
e?: string | undefined;
|
763
|
+
ext?: boolean | undefined;
|
764
|
+
k?: string | undefined;
|
765
|
+
key_ops?: string[] | undefined;
|
766
|
+
kid?: string | undefined;
|
767
|
+
n?: string | undefined;
|
768
|
+
p?: string | undefined;
|
769
|
+
q?: string | undefined;
|
770
|
+
qi?: string | undefined;
|
771
|
+
use?: string | undefined;
|
772
|
+
x?: string | undefined;
|
773
|
+
y?: string | undefined;
|
774
|
+
x5c?: string[] | undefined;
|
775
|
+
x5t?: string | undefined;
|
776
|
+
"x5t#S256"?: string | undefined;
|
777
|
+
x5u?: string | undefined;
|
778
|
+
}>, "many">;
|
779
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
780
|
+
}, z.ZodTypeAny, "passthrough">>;
|
375
781
|
}, "strip", z.ZodTypeAny, {
|
376
782
|
wallet_relying_party: {
|
377
783
|
jwks: {
|
@@ -398,10 +804,12 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
398
804
|
"x5t#S256"?: string | undefined;
|
399
805
|
x5u?: string | undefined;
|
400
806
|
}[];
|
401
|
-
|
402
|
-
|
403
|
-
client_name
|
404
|
-
contacts
|
807
|
+
application_type?: string | undefined;
|
808
|
+
client_id?: string | undefined;
|
809
|
+
client_name?: string | undefined;
|
810
|
+
contacts?: string[] | undefined;
|
811
|
+
} & {
|
812
|
+
[k: string]: unknown;
|
405
813
|
};
|
406
814
|
}, {
|
407
815
|
wallet_relying_party: {
|
@@ -429,44 +837,15 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
429
837
|
"x5t#S256"?: string | undefined;
|
430
838
|
x5u?: string | undefined;
|
431
839
|
}[];
|
432
|
-
|
433
|
-
|
434
|
-
client_name
|
435
|
-
contacts
|
840
|
+
application_type?: string | undefined;
|
841
|
+
client_id?: string | undefined;
|
842
|
+
client_name?: string | undefined;
|
843
|
+
contacts?: string[] | undefined;
|
844
|
+
} & {
|
845
|
+
[k: string]: unknown;
|
436
846
|
};
|
437
847
|
}>;
|
438
|
-
authority_hints: z.ZodArray<z.ZodString, "many">;
|
439
848
|
}, "strip", z.ZodTypeAny, {
|
440
|
-
iss: string;
|
441
|
-
sub: string;
|
442
|
-
iat: number;
|
443
|
-
exp: number;
|
444
|
-
jwks: {
|
445
|
-
keys: {
|
446
|
-
kty: "RSA" | "EC";
|
447
|
-
alg?: string | undefined;
|
448
|
-
crv?: string | undefined;
|
449
|
-
d?: string | undefined;
|
450
|
-
dp?: string | undefined;
|
451
|
-
dq?: string | undefined;
|
452
|
-
e?: string | undefined;
|
453
|
-
ext?: boolean | undefined;
|
454
|
-
k?: string | undefined;
|
455
|
-
key_ops?: string[] | undefined;
|
456
|
-
kid?: string | undefined;
|
457
|
-
n?: string | undefined;
|
458
|
-
p?: string | undefined;
|
459
|
-
q?: string | undefined;
|
460
|
-
qi?: string | undefined;
|
461
|
-
use?: string | undefined;
|
462
|
-
x?: string | undefined;
|
463
|
-
y?: string | undefined;
|
464
|
-
x5c?: string[] | undefined;
|
465
|
-
x5t?: string | undefined;
|
466
|
-
"x5t#S256"?: string | undefined;
|
467
|
-
x5u?: string | undefined;
|
468
|
-
}[];
|
469
|
-
};
|
470
849
|
metadata: {
|
471
850
|
wallet_relying_party: {
|
472
851
|
jwks: {
|
@@ -493,44 +872,15 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
493
872
|
"x5t#S256"?: string | undefined;
|
494
873
|
x5u?: string | undefined;
|
495
874
|
}[];
|
496
|
-
|
497
|
-
|
498
|
-
client_name
|
499
|
-
contacts
|
875
|
+
application_type?: string | undefined;
|
876
|
+
client_id?: string | undefined;
|
877
|
+
client_name?: string | undefined;
|
878
|
+
contacts?: string[] | undefined;
|
879
|
+
} & {
|
880
|
+
[k: string]: unknown;
|
500
881
|
};
|
501
882
|
};
|
502
|
-
authority_hints: string[];
|
503
883
|
}, {
|
504
|
-
iss: string;
|
505
|
-
sub: string;
|
506
|
-
iat: number;
|
507
|
-
exp: number;
|
508
|
-
jwks: {
|
509
|
-
keys: {
|
510
|
-
kty: "RSA" | "EC";
|
511
|
-
alg?: string | undefined;
|
512
|
-
crv?: string | undefined;
|
513
|
-
d?: string | undefined;
|
514
|
-
dp?: string | undefined;
|
515
|
-
dq?: string | undefined;
|
516
|
-
e?: string | undefined;
|
517
|
-
ext?: boolean | undefined;
|
518
|
-
k?: string | undefined;
|
519
|
-
key_ops?: string[] | undefined;
|
520
|
-
kid?: string | undefined;
|
521
|
-
n?: string | undefined;
|
522
|
-
p?: string | undefined;
|
523
|
-
q?: string | undefined;
|
524
|
-
qi?: string | undefined;
|
525
|
-
use?: string | undefined;
|
526
|
-
x?: string | undefined;
|
527
|
-
y?: string | undefined;
|
528
|
-
x5c?: string[] | undefined;
|
529
|
-
x5t?: string | undefined;
|
530
|
-
"x5t#S256"?: string | undefined;
|
531
|
-
x5u?: string | undefined;
|
532
|
-
}[];
|
533
|
-
};
|
534
884
|
metadata: {
|
535
885
|
wallet_relying_party: {
|
536
886
|
jwks: {
|
@@ -557,51 +907,17 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
557
907
|
"x5t#S256"?: string | undefined;
|
558
908
|
x5u?: string | undefined;
|
559
909
|
}[];
|
560
|
-
|
561
|
-
|
562
|
-
client_name
|
563
|
-
contacts
|
910
|
+
application_type?: string | undefined;
|
911
|
+
client_id?: string | undefined;
|
912
|
+
client_name?: string | undefined;
|
913
|
+
contacts?: string[] | undefined;
|
914
|
+
} & {
|
915
|
+
[k: string]: unknown;
|
564
916
|
};
|
565
917
|
};
|
566
|
-
authority_hints: string[];
|
567
918
|
}>;
|
568
919
|
}, "strip", z.ZodTypeAny, {
|
569
|
-
header: {
|
570
|
-
alg: string;
|
571
|
-
kid: string;
|
572
|
-
typ: "entity-statement+jwt";
|
573
|
-
};
|
574
920
|
payload: {
|
575
|
-
iss: string;
|
576
|
-
sub: string;
|
577
|
-
iat: number;
|
578
|
-
exp: number;
|
579
|
-
jwks: {
|
580
|
-
keys: {
|
581
|
-
kty: "RSA" | "EC";
|
582
|
-
alg?: string | undefined;
|
583
|
-
crv?: string | undefined;
|
584
|
-
d?: string | undefined;
|
585
|
-
dp?: string | undefined;
|
586
|
-
dq?: string | undefined;
|
587
|
-
e?: string | undefined;
|
588
|
-
ext?: boolean | undefined;
|
589
|
-
k?: string | undefined;
|
590
|
-
key_ops?: string[] | undefined;
|
591
|
-
kid?: string | undefined;
|
592
|
-
n?: string | undefined;
|
593
|
-
p?: string | undefined;
|
594
|
-
q?: string | undefined;
|
595
|
-
qi?: string | undefined;
|
596
|
-
use?: string | undefined;
|
597
|
-
x?: string | undefined;
|
598
|
-
y?: string | undefined;
|
599
|
-
x5c?: string[] | undefined;
|
600
|
-
x5t?: string | undefined;
|
601
|
-
"x5t#S256"?: string | undefined;
|
602
|
-
x5u?: string | undefined;
|
603
|
-
}[];
|
604
|
-
};
|
605
921
|
metadata: {
|
606
922
|
wallet_relying_party: {
|
607
923
|
jwks: {
|
@@ -628,51 +944,17 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
628
944
|
"x5t#S256"?: string | undefined;
|
629
945
|
x5u?: string | undefined;
|
630
946
|
}[];
|
631
|
-
|
632
|
-
|
633
|
-
client_name
|
634
|
-
contacts
|
947
|
+
application_type?: string | undefined;
|
948
|
+
client_id?: string | undefined;
|
949
|
+
client_name?: string | undefined;
|
950
|
+
contacts?: string[] | undefined;
|
951
|
+
} & {
|
952
|
+
[k: string]: unknown;
|
635
953
|
};
|
636
954
|
};
|
637
|
-
authority_hints: string[];
|
638
955
|
};
|
639
956
|
}, {
|
640
|
-
header: {
|
641
|
-
alg: string;
|
642
|
-
kid: string;
|
643
|
-
typ: "entity-statement+jwt";
|
644
|
-
};
|
645
957
|
payload: {
|
646
|
-
iss: string;
|
647
|
-
sub: string;
|
648
|
-
iat: number;
|
649
|
-
exp: number;
|
650
|
-
jwks: {
|
651
|
-
keys: {
|
652
|
-
kty: "RSA" | "EC";
|
653
|
-
alg?: string | undefined;
|
654
|
-
crv?: string | undefined;
|
655
|
-
d?: string | undefined;
|
656
|
-
dp?: string | undefined;
|
657
|
-
dq?: string | undefined;
|
658
|
-
e?: string | undefined;
|
659
|
-
ext?: boolean | undefined;
|
660
|
-
k?: string | undefined;
|
661
|
-
key_ops?: string[] | undefined;
|
662
|
-
kid?: string | undefined;
|
663
|
-
n?: string | undefined;
|
664
|
-
p?: string | undefined;
|
665
|
-
q?: string | undefined;
|
666
|
-
qi?: string | undefined;
|
667
|
-
use?: string | undefined;
|
668
|
-
x?: string | undefined;
|
669
|
-
y?: string | undefined;
|
670
|
-
x5c?: string[] | undefined;
|
671
|
-
x5t?: string | undefined;
|
672
|
-
"x5t#S256"?: string | undefined;
|
673
|
-
x5u?: string | undefined;
|
674
|
-
}[];
|
675
|
-
};
|
676
958
|
metadata: {
|
677
959
|
wallet_relying_party: {
|
678
960
|
jwks: {
|
@@ -699,15 +981,16 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
699
981
|
"x5t#S256"?: string | undefined;
|
700
982
|
x5u?: string | undefined;
|
701
983
|
}[];
|
702
|
-
|
703
|
-
|
704
|
-
client_name
|
705
|
-
contacts
|
984
|
+
application_type?: string | undefined;
|
985
|
+
client_id?: string | undefined;
|
986
|
+
client_name?: string | undefined;
|
987
|
+
contacts?: string[] | undefined;
|
988
|
+
} & {
|
989
|
+
[k: string]: unknown;
|
706
990
|
};
|
707
991
|
};
|
708
|
-
authority_hints: string[];
|
709
992
|
};
|
710
|
-
}
|
993
|
+
}>>;
|
711
994
|
export type QRCodePayload = z.infer<typeof QRCodePayload>;
|
712
995
|
export declare const QRCodePayload: z.ZodObject<{
|
713
996
|
protocol: z.ZodString;
|