@pagopa/io-react-native-wallet 0.2.8 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/commonjs/rp/__test__/index.test.js +145 -0
- package/lib/commonjs/rp/__test__/index.test.js.map +1 -1
- package/lib/commonjs/rp/index.js +33 -41
- package/lib/commonjs/rp/index.js.map +1 -1
- package/lib/commonjs/rp/types.js +11 -9
- package/lib/commonjs/rp/types.js.map +1 -1
- package/lib/commonjs/utils/jwk.js +35 -0
- package/lib/commonjs/utils/jwk.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/issuing.js +1 -1
- package/lib/commonjs/wallet-instance-attestation/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/types.js +6 -2
- package/lib/commonjs/wallet-instance-attestation/types.js.map +1 -1
- package/lib/module/rp/__test__/index.test.js +145 -0
- package/lib/module/rp/__test__/index.test.js.map +1 -1
- package/lib/module/rp/index.js +33 -41
- package/lib/module/rp/index.js.map +1 -1
- package/lib/module/rp/types.js +11 -9
- package/lib/module/rp/types.js.map +1 -1
- package/lib/module/utils/jwk.js +34 -0
- package/lib/module/utils/jwk.js.map +1 -1
- package/lib/module/wallet-instance-attestation/issuing.js +2 -2
- package/lib/module/wallet-instance-attestation/issuing.js.map +1 -1
- package/lib/module/wallet-instance-attestation/types.js +6 -2
- package/lib/module/wallet-instance-attestation/types.js.map +1 -1
- package/lib/typescript/rp/index.d.ts +8 -8
- package/lib/typescript/rp/index.d.ts.map +1 -1
- package/lib/typescript/rp/types.d.ts +260 -389
- package/lib/typescript/rp/types.d.ts.map +1 -1
- package/lib/typescript/utils/jwk.d.ts +9 -0
- package/lib/typescript/utils/jwk.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/issuing.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/types.d.ts +40 -4
- package/lib/typescript/wallet-instance-attestation/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/rp/__test__/index.test.ts +222 -0
- package/src/rp/index.ts +44 -54
- package/src/rp/types.ts +8 -7
- package/src/utils/jwk.ts +21 -0
- package/src/wallet-instance-attestation/issuing.ts +3 -2
- package/src/wallet-instance-attestation/types.ts +6 -2
@@ -2,20 +2,20 @@ import * as z from "zod";
|
|
2
2
|
export type RequestObject = z.infer<typeof RequestObject>;
|
3
3
|
export declare const RequestObject: z.ZodObject<{
|
4
4
|
header: z.ZodObject<{
|
5
|
-
typ: z.ZodLiteral<"JWT"
|
5
|
+
typ: z.ZodOptional<z.ZodLiteral<"JWT">>;
|
6
6
|
alg: z.ZodString;
|
7
7
|
kid: z.ZodString;
|
8
8
|
trust_chain: z.ZodArray<z.ZodString, "many">;
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
10
10
|
alg: string;
|
11
11
|
kid: string;
|
12
|
-
typ: "JWT";
|
13
12
|
trust_chain: string[];
|
13
|
+
typ?: "JWT" | undefined;
|
14
14
|
}, {
|
15
15
|
alg: string;
|
16
16
|
kid: string;
|
17
|
-
typ: "JWT";
|
18
17
|
trust_chain: string[];
|
18
|
+
typ?: "JWT" | undefined;
|
19
19
|
}>;
|
20
20
|
payload: z.ZodObject<{
|
21
21
|
iss: z.ZodString;
|
@@ -58,8 +58,8 @@ export declare const RequestObject: z.ZodObject<{
|
|
58
58
|
header: {
|
59
59
|
alg: string;
|
60
60
|
kid: string;
|
61
|
-
typ: "JWT";
|
62
61
|
trust_chain: string[];
|
62
|
+
typ?: "JWT" | undefined;
|
63
63
|
};
|
64
64
|
payload: {
|
65
65
|
iss: string;
|
@@ -78,8 +78,8 @@ export declare const RequestObject: z.ZodObject<{
|
|
78
78
|
header: {
|
79
79
|
alg: string;
|
80
80
|
kid: string;
|
81
|
-
typ: "JWT";
|
82
81
|
trust_chain: string[];
|
82
|
+
typ?: "JWT" | undefined;
|
83
83
|
};
|
84
84
|
payload: {
|
85
85
|
iss: string;
|
@@ -242,286 +242,193 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
242
242
|
application_type: z.ZodString;
|
243
243
|
client_id: z.ZodString;
|
244
244
|
client_name: z.ZodString;
|
245
|
-
jwks: z.ZodObject<{
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
x5u: z.ZodOptional<z.ZodString>;
|
269
|
-
}, "strip", z.ZodTypeAny, {
|
270
|
-
kty: "RSA" | "EC";
|
271
|
-
alg?: string | undefined;
|
272
|
-
crv?: string | undefined;
|
273
|
-
d?: string | undefined;
|
274
|
-
dp?: string | undefined;
|
275
|
-
dq?: string | undefined;
|
276
|
-
e?: string | undefined;
|
277
|
-
ext?: boolean | undefined;
|
278
|
-
k?: string | undefined;
|
279
|
-
key_ops?: string[] | undefined;
|
280
|
-
kid?: string | undefined;
|
281
|
-
n?: string | undefined;
|
282
|
-
p?: string | undefined;
|
283
|
-
q?: string | undefined;
|
284
|
-
qi?: string | undefined;
|
285
|
-
use?: string | undefined;
|
286
|
-
x?: string | undefined;
|
287
|
-
y?: string | undefined;
|
288
|
-
x5c?: string[] | undefined;
|
289
|
-
x5t?: string | undefined;
|
290
|
-
"x5t#S256"?: string | undefined;
|
291
|
-
x5u?: string | undefined;
|
292
|
-
}, {
|
293
|
-
kty: "RSA" | "EC";
|
294
|
-
alg?: string | undefined;
|
295
|
-
crv?: string | undefined;
|
296
|
-
d?: string | undefined;
|
297
|
-
dp?: string | undefined;
|
298
|
-
dq?: string | undefined;
|
299
|
-
e?: string | undefined;
|
300
|
-
ext?: boolean | undefined;
|
301
|
-
k?: string | undefined;
|
302
|
-
key_ops?: string[] | undefined;
|
303
|
-
kid?: string | undefined;
|
304
|
-
n?: string | undefined;
|
305
|
-
p?: string | undefined;
|
306
|
-
q?: string | undefined;
|
307
|
-
qi?: string | undefined;
|
308
|
-
use?: string | undefined;
|
309
|
-
x?: string | undefined;
|
310
|
-
y?: string | undefined;
|
311
|
-
x5c?: string[] | undefined;
|
312
|
-
x5t?: string | undefined;
|
313
|
-
"x5t#S256"?: string | undefined;
|
314
|
-
x5u?: string | undefined;
|
315
|
-
}>, "many">;
|
245
|
+
jwks: z.ZodArray<z.ZodObject<{
|
246
|
+
alg: z.ZodOptional<z.ZodString>;
|
247
|
+
crv: z.ZodOptional<z.ZodString>;
|
248
|
+
d: z.ZodOptional<z.ZodString>;
|
249
|
+
dp: z.ZodOptional<z.ZodString>;
|
250
|
+
dq: z.ZodOptional<z.ZodString>;
|
251
|
+
e: z.ZodOptional<z.ZodString>;
|
252
|
+
ext: z.ZodOptional<z.ZodBoolean>;
|
253
|
+
k: z.ZodOptional<z.ZodString>;
|
254
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
255
|
+
kid: z.ZodOptional<z.ZodString>;
|
256
|
+
kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
|
257
|
+
n: z.ZodOptional<z.ZodString>;
|
258
|
+
p: z.ZodOptional<z.ZodString>;
|
259
|
+
q: z.ZodOptional<z.ZodString>;
|
260
|
+
qi: z.ZodOptional<z.ZodString>;
|
261
|
+
use: z.ZodOptional<z.ZodString>;
|
262
|
+
x: z.ZodOptional<z.ZodString>;
|
263
|
+
y: z.ZodOptional<z.ZodString>;
|
264
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
265
|
+
x5t: z.ZodOptional<z.ZodString>;
|
266
|
+
"x5t#S256": z.ZodOptional<z.ZodString>;
|
267
|
+
x5u: z.ZodOptional<z.ZodString>;
|
316
268
|
}, "strip", z.ZodTypeAny, {
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
x5u?: string | undefined;
|
340
|
-
}[];
|
269
|
+
kty: "RSA" | "EC";
|
270
|
+
alg?: string | undefined;
|
271
|
+
crv?: string | undefined;
|
272
|
+
d?: string | undefined;
|
273
|
+
dp?: string | undefined;
|
274
|
+
dq?: string | undefined;
|
275
|
+
e?: string | undefined;
|
276
|
+
ext?: boolean | undefined;
|
277
|
+
k?: string | undefined;
|
278
|
+
key_ops?: string[] | undefined;
|
279
|
+
kid?: string | undefined;
|
280
|
+
n?: string | undefined;
|
281
|
+
p?: string | undefined;
|
282
|
+
q?: string | undefined;
|
283
|
+
qi?: string | undefined;
|
284
|
+
use?: string | undefined;
|
285
|
+
x?: string | undefined;
|
286
|
+
y?: string | undefined;
|
287
|
+
x5c?: string[] | undefined;
|
288
|
+
x5t?: string | undefined;
|
289
|
+
"x5t#S256"?: string | undefined;
|
290
|
+
x5u?: string | undefined;
|
341
291
|
}, {
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
}[];
|
366
|
-
}>;
|
292
|
+
kty: "RSA" | "EC";
|
293
|
+
alg?: string | undefined;
|
294
|
+
crv?: string | undefined;
|
295
|
+
d?: string | undefined;
|
296
|
+
dp?: string | undefined;
|
297
|
+
dq?: string | undefined;
|
298
|
+
e?: string | undefined;
|
299
|
+
ext?: boolean | undefined;
|
300
|
+
k?: string | undefined;
|
301
|
+
key_ops?: string[] | undefined;
|
302
|
+
kid?: string | undefined;
|
303
|
+
n?: string | undefined;
|
304
|
+
p?: string | undefined;
|
305
|
+
q?: string | undefined;
|
306
|
+
qi?: string | undefined;
|
307
|
+
use?: string | undefined;
|
308
|
+
x?: string | undefined;
|
309
|
+
y?: string | undefined;
|
310
|
+
x5c?: string[] | undefined;
|
311
|
+
x5t?: string | undefined;
|
312
|
+
"x5t#S256"?: string | undefined;
|
313
|
+
x5u?: string | undefined;
|
314
|
+
}>, "many">;
|
367
315
|
contacts: z.ZodArray<z.ZodString, "many">;
|
368
316
|
}, "strip", z.ZodTypeAny, {
|
369
317
|
jwks: {
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
}[];
|
394
|
-
};
|
318
|
+
kty: "RSA" | "EC";
|
319
|
+
alg?: string | undefined;
|
320
|
+
crv?: string | undefined;
|
321
|
+
d?: string | undefined;
|
322
|
+
dp?: string | undefined;
|
323
|
+
dq?: string | undefined;
|
324
|
+
e?: string | undefined;
|
325
|
+
ext?: boolean | undefined;
|
326
|
+
k?: string | undefined;
|
327
|
+
key_ops?: string[] | undefined;
|
328
|
+
kid?: string | undefined;
|
329
|
+
n?: string | undefined;
|
330
|
+
p?: string | undefined;
|
331
|
+
q?: string | undefined;
|
332
|
+
qi?: string | undefined;
|
333
|
+
use?: string | undefined;
|
334
|
+
x?: string | undefined;
|
335
|
+
y?: string | undefined;
|
336
|
+
x5c?: string[] | undefined;
|
337
|
+
x5t?: string | undefined;
|
338
|
+
"x5t#S256"?: string | undefined;
|
339
|
+
x5u?: string | undefined;
|
340
|
+
}[];
|
395
341
|
client_id: string;
|
396
342
|
application_type: string;
|
397
343
|
client_name: string;
|
398
344
|
contacts: string[];
|
399
345
|
}, {
|
400
346
|
jwks: {
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
}[];
|
425
|
-
};
|
347
|
+
kty: "RSA" | "EC";
|
348
|
+
alg?: string | undefined;
|
349
|
+
crv?: string | undefined;
|
350
|
+
d?: string | undefined;
|
351
|
+
dp?: string | undefined;
|
352
|
+
dq?: string | undefined;
|
353
|
+
e?: string | undefined;
|
354
|
+
ext?: boolean | undefined;
|
355
|
+
k?: string | undefined;
|
356
|
+
key_ops?: string[] | undefined;
|
357
|
+
kid?: string | undefined;
|
358
|
+
n?: string | undefined;
|
359
|
+
p?: string | undefined;
|
360
|
+
q?: string | undefined;
|
361
|
+
qi?: string | undefined;
|
362
|
+
use?: string | undefined;
|
363
|
+
x?: string | undefined;
|
364
|
+
y?: string | undefined;
|
365
|
+
x5c?: string[] | undefined;
|
366
|
+
x5t?: string | undefined;
|
367
|
+
"x5t#S256"?: string | undefined;
|
368
|
+
x5u?: string | undefined;
|
369
|
+
}[];
|
426
370
|
client_id: string;
|
427
371
|
application_type: string;
|
428
372
|
client_name: string;
|
429
373
|
contacts: string[];
|
430
374
|
}>;
|
431
|
-
federation_entity: z.ZodObject<{
|
432
|
-
organization_name: z.ZodString;
|
433
|
-
homepage_uri: z.ZodString;
|
434
|
-
policy_uri: z.ZodString;
|
435
|
-
logo_uri: z.ZodString;
|
436
|
-
contacts: z.ZodArray<z.ZodString, "many">;
|
437
|
-
}, "strip", z.ZodTypeAny, {
|
438
|
-
organization_name: string;
|
439
|
-
homepage_uri: string;
|
440
|
-
policy_uri: string;
|
441
|
-
logo_uri: string;
|
442
|
-
contacts: string[];
|
443
|
-
}, {
|
444
|
-
organization_name: string;
|
445
|
-
homepage_uri: string;
|
446
|
-
policy_uri: string;
|
447
|
-
logo_uri: string;
|
448
|
-
contacts: string[];
|
449
|
-
}>;
|
450
375
|
}, "strip", z.ZodTypeAny, {
|
451
|
-
federation_entity: {
|
452
|
-
organization_name: string;
|
453
|
-
homepage_uri: string;
|
454
|
-
policy_uri: string;
|
455
|
-
logo_uri: string;
|
456
|
-
contacts: string[];
|
457
|
-
};
|
458
376
|
wallet_relying_party: {
|
459
377
|
jwks: {
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
}[];
|
484
|
-
};
|
378
|
+
kty: "RSA" | "EC";
|
379
|
+
alg?: string | undefined;
|
380
|
+
crv?: string | undefined;
|
381
|
+
d?: string | undefined;
|
382
|
+
dp?: string | undefined;
|
383
|
+
dq?: string | undefined;
|
384
|
+
e?: string | undefined;
|
385
|
+
ext?: boolean | undefined;
|
386
|
+
k?: string | undefined;
|
387
|
+
key_ops?: string[] | undefined;
|
388
|
+
kid?: string | undefined;
|
389
|
+
n?: string | undefined;
|
390
|
+
p?: string | undefined;
|
391
|
+
q?: string | undefined;
|
392
|
+
qi?: string | undefined;
|
393
|
+
use?: string | undefined;
|
394
|
+
x?: string | undefined;
|
395
|
+
y?: string | undefined;
|
396
|
+
x5c?: string[] | undefined;
|
397
|
+
x5t?: string | undefined;
|
398
|
+
"x5t#S256"?: string | undefined;
|
399
|
+
x5u?: string | undefined;
|
400
|
+
}[];
|
485
401
|
client_id: string;
|
486
402
|
application_type: string;
|
487
403
|
client_name: string;
|
488
404
|
contacts: string[];
|
489
405
|
};
|
490
406
|
}, {
|
491
|
-
federation_entity: {
|
492
|
-
organization_name: string;
|
493
|
-
homepage_uri: string;
|
494
|
-
policy_uri: string;
|
495
|
-
logo_uri: string;
|
496
|
-
contacts: string[];
|
497
|
-
};
|
498
407
|
wallet_relying_party: {
|
499
408
|
jwks: {
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
}[];
|
524
|
-
};
|
409
|
+
kty: "RSA" | "EC";
|
410
|
+
alg?: string | undefined;
|
411
|
+
crv?: string | undefined;
|
412
|
+
d?: string | undefined;
|
413
|
+
dp?: string | undefined;
|
414
|
+
dq?: string | undefined;
|
415
|
+
e?: string | undefined;
|
416
|
+
ext?: boolean | undefined;
|
417
|
+
k?: string | undefined;
|
418
|
+
key_ops?: string[] | undefined;
|
419
|
+
kid?: string | undefined;
|
420
|
+
n?: string | undefined;
|
421
|
+
p?: string | undefined;
|
422
|
+
q?: string | undefined;
|
423
|
+
qi?: string | undefined;
|
424
|
+
use?: string | undefined;
|
425
|
+
x?: string | undefined;
|
426
|
+
y?: string | undefined;
|
427
|
+
x5c?: string[] | undefined;
|
428
|
+
x5t?: string | undefined;
|
429
|
+
"x5t#S256"?: string | undefined;
|
430
|
+
x5u?: string | undefined;
|
431
|
+
}[];
|
525
432
|
client_id: string;
|
526
433
|
application_type: string;
|
527
434
|
client_name: string;
|
@@ -561,40 +468,31 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
561
468
|
}[];
|
562
469
|
};
|
563
470
|
metadata: {
|
564
|
-
federation_entity: {
|
565
|
-
organization_name: string;
|
566
|
-
homepage_uri: string;
|
567
|
-
policy_uri: string;
|
568
|
-
logo_uri: string;
|
569
|
-
contacts: string[];
|
570
|
-
};
|
571
471
|
wallet_relying_party: {
|
572
472
|
jwks: {
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
}[];
|
597
|
-
};
|
473
|
+
kty: "RSA" | "EC";
|
474
|
+
alg?: string | undefined;
|
475
|
+
crv?: string | undefined;
|
476
|
+
d?: string | undefined;
|
477
|
+
dp?: string | undefined;
|
478
|
+
dq?: string | undefined;
|
479
|
+
e?: string | undefined;
|
480
|
+
ext?: boolean | undefined;
|
481
|
+
k?: string | undefined;
|
482
|
+
key_ops?: string[] | undefined;
|
483
|
+
kid?: string | undefined;
|
484
|
+
n?: string | undefined;
|
485
|
+
p?: string | undefined;
|
486
|
+
q?: string | undefined;
|
487
|
+
qi?: string | undefined;
|
488
|
+
use?: string | undefined;
|
489
|
+
x?: string | undefined;
|
490
|
+
y?: string | undefined;
|
491
|
+
x5c?: string[] | undefined;
|
492
|
+
x5t?: string | undefined;
|
493
|
+
"x5t#S256"?: string | undefined;
|
494
|
+
x5u?: string | undefined;
|
495
|
+
}[];
|
598
496
|
client_id: string;
|
599
497
|
application_type: string;
|
600
498
|
client_name: string;
|
@@ -634,40 +532,31 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
634
532
|
}[];
|
635
533
|
};
|
636
534
|
metadata: {
|
637
|
-
federation_entity: {
|
638
|
-
organization_name: string;
|
639
|
-
homepage_uri: string;
|
640
|
-
policy_uri: string;
|
641
|
-
logo_uri: string;
|
642
|
-
contacts: string[];
|
643
|
-
};
|
644
535
|
wallet_relying_party: {
|
645
536
|
jwks: {
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
}[];
|
670
|
-
};
|
537
|
+
kty: "RSA" | "EC";
|
538
|
+
alg?: string | undefined;
|
539
|
+
crv?: string | undefined;
|
540
|
+
d?: string | undefined;
|
541
|
+
dp?: string | undefined;
|
542
|
+
dq?: string | undefined;
|
543
|
+
e?: string | undefined;
|
544
|
+
ext?: boolean | undefined;
|
545
|
+
k?: string | undefined;
|
546
|
+
key_ops?: string[] | undefined;
|
547
|
+
kid?: string | undefined;
|
548
|
+
n?: string | undefined;
|
549
|
+
p?: string | undefined;
|
550
|
+
q?: string | undefined;
|
551
|
+
qi?: string | undefined;
|
552
|
+
use?: string | undefined;
|
553
|
+
x?: string | undefined;
|
554
|
+
y?: string | undefined;
|
555
|
+
x5c?: string[] | undefined;
|
556
|
+
x5t?: string | undefined;
|
557
|
+
"x5t#S256"?: string | undefined;
|
558
|
+
x5u?: string | undefined;
|
559
|
+
}[];
|
671
560
|
client_id: string;
|
672
561
|
application_type: string;
|
673
562
|
client_name: string;
|
@@ -714,40 +603,31 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
714
603
|
}[];
|
715
604
|
};
|
716
605
|
metadata: {
|
717
|
-
federation_entity: {
|
718
|
-
organization_name: string;
|
719
|
-
homepage_uri: string;
|
720
|
-
policy_uri: string;
|
721
|
-
logo_uri: string;
|
722
|
-
contacts: string[];
|
723
|
-
};
|
724
606
|
wallet_relying_party: {
|
725
607
|
jwks: {
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
}[];
|
750
|
-
};
|
608
|
+
kty: "RSA" | "EC";
|
609
|
+
alg?: string | undefined;
|
610
|
+
crv?: string | undefined;
|
611
|
+
d?: string | undefined;
|
612
|
+
dp?: string | undefined;
|
613
|
+
dq?: string | undefined;
|
614
|
+
e?: string | undefined;
|
615
|
+
ext?: boolean | undefined;
|
616
|
+
k?: string | undefined;
|
617
|
+
key_ops?: string[] | undefined;
|
618
|
+
kid?: string | undefined;
|
619
|
+
n?: string | undefined;
|
620
|
+
p?: string | undefined;
|
621
|
+
q?: string | undefined;
|
622
|
+
qi?: string | undefined;
|
623
|
+
use?: string | undefined;
|
624
|
+
x?: string | undefined;
|
625
|
+
y?: string | undefined;
|
626
|
+
x5c?: string[] | undefined;
|
627
|
+
x5t?: string | undefined;
|
628
|
+
"x5t#S256"?: string | undefined;
|
629
|
+
x5u?: string | undefined;
|
630
|
+
}[];
|
751
631
|
client_id: string;
|
752
632
|
application_type: string;
|
753
633
|
client_name: string;
|
@@ -794,40 +674,31 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
794
674
|
}[];
|
795
675
|
};
|
796
676
|
metadata: {
|
797
|
-
federation_entity: {
|
798
|
-
organization_name: string;
|
799
|
-
homepage_uri: string;
|
800
|
-
policy_uri: string;
|
801
|
-
logo_uri: string;
|
802
|
-
contacts: string[];
|
803
|
-
};
|
804
677
|
wallet_relying_party: {
|
805
678
|
jwks: {
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
}[];
|
830
|
-
};
|
679
|
+
kty: "RSA" | "EC";
|
680
|
+
alg?: string | undefined;
|
681
|
+
crv?: string | undefined;
|
682
|
+
d?: string | undefined;
|
683
|
+
dp?: string | undefined;
|
684
|
+
dq?: string | undefined;
|
685
|
+
e?: string | undefined;
|
686
|
+
ext?: boolean | undefined;
|
687
|
+
k?: string | undefined;
|
688
|
+
key_ops?: string[] | undefined;
|
689
|
+
kid?: string | undefined;
|
690
|
+
n?: string | undefined;
|
691
|
+
p?: string | undefined;
|
692
|
+
q?: string | undefined;
|
693
|
+
qi?: string | undefined;
|
694
|
+
use?: string | undefined;
|
695
|
+
x?: string | undefined;
|
696
|
+
y?: string | undefined;
|
697
|
+
x5c?: string[] | undefined;
|
698
|
+
x5t?: string | undefined;
|
699
|
+
"x5t#S256"?: string | undefined;
|
700
|
+
x5u?: string | undefined;
|
701
|
+
}[];
|
831
702
|
client_id: string;
|
832
703
|
application_type: string;
|
833
704
|
client_name: string;
|
@@ -839,17 +710,17 @@ export declare const RpEntityConfiguration: z.ZodObject<{
|
|
839
710
|
}>;
|
840
711
|
export type QRCodePayload = z.infer<typeof QRCodePayload>;
|
841
712
|
export declare const QRCodePayload: z.ZodObject<{
|
842
|
-
protocol: z.
|
713
|
+
protocol: z.ZodString;
|
843
714
|
resource: z.ZodString;
|
844
715
|
clientId: z.ZodString;
|
845
716
|
requestURI: z.ZodString;
|
846
717
|
}, "strip", z.ZodTypeAny, {
|
847
|
-
protocol:
|
718
|
+
protocol: string;
|
848
719
|
resource: string;
|
849
720
|
clientId: string;
|
850
721
|
requestURI: string;
|
851
722
|
}, {
|
852
|
-
protocol:
|
723
|
+
protocol: string;
|
853
724
|
resource: string;
|
854
725
|
clientId: string;
|
855
726
|
requestURI: string;
|