@pagopa/io-react-native-wallet 2.0.0-next.1 → 2.0.0-next.2

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.
Files changed (58) hide show
  1. package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js +2 -2
  2. package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js.map +1 -1
  3. package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js +2 -2
  4. package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js.map +1 -1
  5. package/lib/commonjs/credential/presentation/05-verify-request-object.js.map +1 -1
  6. package/lib/commonjs/credential/presentation/08-send-authorization-response.js.map +1 -1
  7. package/lib/commonjs/trust/build-chain.js +252 -0
  8. package/lib/commonjs/trust/build-chain.js.map +1 -0
  9. package/lib/commonjs/trust/index.js +11 -282
  10. package/lib/commonjs/trust/index.js.map +1 -1
  11. package/lib/commonjs/trust/{chain.js → verify-chain.js} +40 -5
  12. package/lib/commonjs/trust/verify-chain.js.map +1 -0
  13. package/lib/commonjs/utils/errors.js.map +1 -1
  14. package/lib/module/credential/issuance/02-evaluate-issuer-trust.js +1 -1
  15. package/lib/module/credential/issuance/02-evaluate-issuer-trust.js.map +1 -1
  16. package/lib/module/credential/presentation/02-evaluate-rp-trust.js +1 -1
  17. package/lib/module/credential/presentation/02-evaluate-rp-trust.js.map +1 -1
  18. package/lib/module/credential/presentation/05-verify-request-object.js.map +1 -1
  19. package/lib/module/credential/presentation/08-send-authorization-response.js +1 -1
  20. package/lib/module/credential/presentation/08-send-authorization-response.js.map +1 -1
  21. package/lib/module/trust/build-chain.js +235 -0
  22. package/lib/module/trust/build-chain.js.map +1 -0
  23. package/lib/module/trust/index.js +5 -268
  24. package/lib/module/trust/index.js.map +1 -1
  25. package/lib/module/trust/{chain.js → verify-chain.js} +36 -2
  26. package/lib/module/trust/verify-chain.js.map +1 -0
  27. package/lib/module/utils/errors.js +1 -1
  28. package/lib/module/utils/errors.js.map +1 -1
  29. package/lib/typescript/client/generated/wallet-provider.d.ts +12 -12
  30. package/lib/typescript/credential/issuance/02-evaluate-issuer-trust.d.ts.map +1 -1
  31. package/lib/typescript/credential/presentation/02-evaluate-rp-trust.d.ts.map +1 -1
  32. package/lib/typescript/credential/presentation/05-verify-request-object.d.ts +1 -1
  33. package/lib/typescript/credential/presentation/05-verify-request-object.d.ts.map +1 -1
  34. package/lib/typescript/credential/presentation/08-send-authorization-response.d.ts +2 -2
  35. package/lib/typescript/credential/presentation/08-send-authorization-response.d.ts.map +1 -1
  36. package/lib/typescript/credential/presentation/types.d.ts +4 -4
  37. package/lib/typescript/trust/build-chain.d.ts +1284 -0
  38. package/lib/typescript/trust/build-chain.d.ts.map +1 -0
  39. package/lib/typescript/trust/index.d.ts +5 -1301
  40. package/lib/typescript/trust/index.d.ts.map +1 -1
  41. package/lib/typescript/trust/types.d.ts +506 -506
  42. package/lib/typescript/trust/{chain.d.ts → verify-chain.d.ts} +17 -1
  43. package/lib/typescript/trust/verify-chain.d.ts.map +1 -0
  44. package/lib/typescript/utils/errors.d.ts +2 -2
  45. package/lib/typescript/utils/errors.d.ts.map +1 -1
  46. package/lib/typescript/wallet-instance-attestation/types.d.ts +4 -4
  47. package/package.json +1 -1
  48. package/src/credential/issuance/02-evaluate-issuer-trust.ts +1 -1
  49. package/src/credential/presentation/02-evaluate-rp-trust.ts +1 -1
  50. package/src/credential/presentation/05-verify-request-object.ts +1 -1
  51. package/src/credential/presentation/08-send-authorization-response.ts +4 -4
  52. package/src/trust/build-chain.ts +395 -0
  53. package/src/trust/index.ts +5 -442
  54. package/src/trust/{chain.ts → verify-chain.ts} +41 -1
  55. package/src/utils/errors.ts +4 -4
  56. package/lib/commonjs/trust/chain.js.map +0 -1
  57. package/lib/module/trust/chain.js.map +0 -1
  58. package/lib/typescript/trust/chain.d.ts.map +0 -1
@@ -1142,27 +1142,6 @@ export declare const TrustAnchorEntityConfiguration: z.ZodObject<{
1142
1142
  sub: string;
1143
1143
  iat: number;
1144
1144
  exp: number;
1145
- metadata: {
1146
- federation_entity: {
1147
- federation_fetch_endpoint?: string | undefined;
1148
- federation_list_endpoint?: string | undefined;
1149
- federation_resolve_endpoint?: string | undefined;
1150
- federation_trust_mark_status_endpoint?: string | undefined;
1151
- federation_trust_mark_list_endpoint?: string | undefined;
1152
- federation_trust_mark_endpoint?: string | undefined;
1153
- federation_historical_keys_endpoint?: string | undefined;
1154
- endpoint_auth_signing_alg_values_supported?: string | undefined;
1155
- organization_name?: string | undefined;
1156
- homepage_uri?: string | undefined;
1157
- policy_uri?: string | undefined;
1158
- logo_uri?: string | undefined;
1159
- contacts?: string[] | undefined;
1160
- } & {
1161
- [k: string]: unknown;
1162
- };
1163
- } & {
1164
- [k: string]: unknown;
1165
- };
1166
1145
  jwks: {
1167
1146
  keys: {
1168
1147
  kty: "RSA" | "EC";
@@ -1189,21 +1168,6 @@ export declare const TrustAnchorEntityConfiguration: z.ZodObject<{
1189
1168
  x5u?: string | undefined;
1190
1169
  }[];
1191
1170
  };
1192
- authority_hints?: string[] | undefined;
1193
- } & {
1194
- [k: string]: unknown;
1195
- };
1196
- }, {
1197
- header: {
1198
- alg: string;
1199
- kid: string;
1200
- typ: "entity-statement+jwt";
1201
- };
1202
- payload: {
1203
- iss: string;
1204
- sub: string;
1205
- iat: number;
1206
- exp: number;
1207
1171
  metadata: {
1208
1172
  federation_entity: {
1209
1173
  federation_fetch_endpoint?: string | undefined;
@@ -1225,6 +1189,21 @@ export declare const TrustAnchorEntityConfiguration: z.ZodObject<{
1225
1189
  } & {
1226
1190
  [k: string]: unknown;
1227
1191
  };
1192
+ authority_hints?: string[] | undefined;
1193
+ } & {
1194
+ [k: string]: unknown;
1195
+ };
1196
+ }, {
1197
+ header: {
1198
+ alg: string;
1199
+ kid: string;
1200
+ typ: "entity-statement+jwt";
1201
+ };
1202
+ payload: {
1203
+ iss: string;
1204
+ sub: string;
1205
+ iat: number;
1206
+ exp: number;
1228
1207
  jwks: {
1229
1208
  keys: {
1230
1209
  kty: "RSA" | "EC";
@@ -1251,6 +1230,27 @@ export declare const TrustAnchorEntityConfiguration: z.ZodObject<{
1251
1230
  x5u?: string | undefined;
1252
1231
  }[];
1253
1232
  };
1233
+ metadata: {
1234
+ federation_entity: {
1235
+ federation_fetch_endpoint?: string | undefined;
1236
+ federation_list_endpoint?: string | undefined;
1237
+ federation_resolve_endpoint?: string | undefined;
1238
+ federation_trust_mark_status_endpoint?: string | undefined;
1239
+ federation_trust_mark_list_endpoint?: string | undefined;
1240
+ federation_trust_mark_endpoint?: string | undefined;
1241
+ federation_historical_keys_endpoint?: string | undefined;
1242
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
1243
+ organization_name?: string | undefined;
1244
+ homepage_uri?: string | undefined;
1245
+ policy_uri?: string | undefined;
1246
+ logo_uri?: string | undefined;
1247
+ contacts?: string[] | undefined;
1248
+ } & {
1249
+ [k: string]: unknown;
1250
+ };
1251
+ } & {
1252
+ [k: string]: unknown;
1253
+ };
1254
1254
  authority_hints?: string[] | undefined;
1255
1255
  } & {
1256
1256
  [k: string]: unknown;
@@ -2066,27 +2066,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2066
2066
  sub: string;
2067
2067
  iat: number;
2068
2068
  exp: number;
2069
- metadata: {
2070
- federation_entity: {
2071
- federation_fetch_endpoint?: string | undefined;
2072
- federation_list_endpoint?: string | undefined;
2073
- federation_resolve_endpoint?: string | undefined;
2074
- federation_trust_mark_status_endpoint?: string | undefined;
2075
- federation_trust_mark_list_endpoint?: string | undefined;
2076
- federation_trust_mark_endpoint?: string | undefined;
2077
- federation_historical_keys_endpoint?: string | undefined;
2078
- endpoint_auth_signing_alg_values_supported?: string | undefined;
2079
- organization_name?: string | undefined;
2080
- homepage_uri?: string | undefined;
2081
- policy_uri?: string | undefined;
2082
- logo_uri?: string | undefined;
2083
- contacts?: string[] | undefined;
2084
- } & {
2085
- [k: string]: unknown;
2086
- };
2087
- } & {
2088
- [k: string]: unknown;
2089
- };
2090
2069
  jwks: {
2091
2070
  keys: {
2092
2071
  kty: "RSA" | "EC";
@@ -2113,21 +2092,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2113
2092
  x5u?: string | undefined;
2114
2093
  }[];
2115
2094
  };
2116
- authority_hints?: string[] | undefined;
2117
- } & {
2118
- [k: string]: unknown;
2119
- };
2120
- }, {
2121
- header: {
2122
- alg: string;
2123
- kid: string;
2124
- typ: "entity-statement+jwt";
2125
- };
2126
- payload: {
2127
- iss: string;
2128
- sub: string;
2129
- iat: number;
2130
- exp: number;
2131
2095
  metadata: {
2132
2096
  federation_entity: {
2133
2097
  federation_fetch_endpoint?: string | undefined;
@@ -2149,6 +2113,21 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2149
2113
  } & {
2150
2114
  [k: string]: unknown;
2151
2115
  };
2116
+ authority_hints?: string[] | undefined;
2117
+ } & {
2118
+ [k: string]: unknown;
2119
+ };
2120
+ }, {
2121
+ header: {
2122
+ alg: string;
2123
+ kid: string;
2124
+ typ: "entity-statement+jwt";
2125
+ };
2126
+ payload: {
2127
+ iss: string;
2128
+ sub: string;
2129
+ iat: number;
2130
+ exp: number;
2152
2131
  jwks: {
2153
2132
  keys: {
2154
2133
  kty: "RSA" | "EC";
@@ -2175,6 +2154,27 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2175
2154
  x5u?: string | undefined;
2176
2155
  }[];
2177
2156
  };
2157
+ metadata: {
2158
+ federation_entity: {
2159
+ federation_fetch_endpoint?: string | undefined;
2160
+ federation_list_endpoint?: string | undefined;
2161
+ federation_resolve_endpoint?: string | undefined;
2162
+ federation_trust_mark_status_endpoint?: string | undefined;
2163
+ federation_trust_mark_list_endpoint?: string | undefined;
2164
+ federation_trust_mark_endpoint?: string | undefined;
2165
+ federation_historical_keys_endpoint?: string | undefined;
2166
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
2167
+ organization_name?: string | undefined;
2168
+ homepage_uri?: string | undefined;
2169
+ policy_uri?: string | undefined;
2170
+ logo_uri?: string | undefined;
2171
+ contacts?: string[] | undefined;
2172
+ } & {
2173
+ [k: string]: unknown;
2174
+ };
2175
+ } & {
2176
+ [k: string]: unknown;
2177
+ };
2178
2178
  authority_hints?: string[] | undefined;
2179
2179
  } & {
2180
2180
  [k: string]: unknown;
@@ -2345,17 +2345,17 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2345
2345
  locale: string;
2346
2346
  }>, "many">;
2347
2347
  }, "strip", z.ZodTypeAny, {
2348
+ value_type: string;
2348
2349
  display: {
2349
2350
  name: string;
2350
2351
  locale: string;
2351
2352
  }[];
2352
- value_type: string;
2353
2353
  }, {
2354
+ value_type: string;
2354
2355
  display: {
2355
2356
  name: string;
2356
2357
  locale: string;
2357
2358
  }[];
2358
- value_type: string;
2359
2359
  }>>;
2360
2360
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
2361
2361
  credential_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
@@ -2366,72 +2366,72 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2366
2366
  description: z.ZodString;
2367
2367
  locale: z.ZodString;
2368
2368
  }, "strip", z.ZodTypeAny, {
2369
- title: string;
2370
2369
  locale: string;
2370
+ title: string;
2371
2371
  description: string;
2372
2372
  }, {
2373
- title: string;
2374
2373
  locale: string;
2374
+ title: string;
2375
2375
  description: string;
2376
2376
  }>, "many">;
2377
2377
  }, "strip", z.ZodTypeAny, {
2378
2378
  display: {
2379
- title: string;
2380
2379
  locale: string;
2380
+ title: string;
2381
2381
  description: string;
2382
2382
  }[];
2383
2383
  }, {
2384
2384
  display: {
2385
- title: string;
2386
2385
  locale: string;
2386
+ title: string;
2387
2387
  description: string;
2388
2388
  }[];
2389
2389
  }>>>;
2390
2390
  }, "strip", z.ZodTypeAny, {
2391
2391
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
2392
+ scope: string;
2392
2393
  display: {
2393
2394
  name: string;
2394
2395
  locale: string;
2395
2396
  }[];
2396
- scope: string;
2397
2397
  claims: Record<string, {
2398
+ value_type: string;
2398
2399
  display: {
2399
2400
  name: string;
2400
2401
  locale: string;
2401
2402
  }[];
2402
- value_type: string;
2403
2403
  }>;
2404
2404
  cryptographic_binding_methods_supported: string[];
2405
2405
  credential_signing_alg_values_supported: string[];
2406
2406
  authentic_source?: string | undefined;
2407
2407
  issuance_errors_supported?: Record<string, {
2408
2408
  display: {
2409
- title: string;
2410
2409
  locale: string;
2410
+ title: string;
2411
2411
  description: string;
2412
2412
  }[];
2413
2413
  }> | undefined;
2414
2414
  }, {
2415
2415
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
2416
+ scope: string;
2416
2417
  display: {
2417
2418
  name: string;
2418
2419
  locale: string;
2419
2420
  }[];
2420
- scope: string;
2421
2421
  claims: Record<string, {
2422
+ value_type: string;
2422
2423
  display: {
2423
2424
  name: string;
2424
2425
  locale: string;
2425
2426
  }[];
2426
- value_type: string;
2427
2427
  }>;
2428
2428
  cryptographic_binding_methods_supported: string[];
2429
2429
  credential_signing_alg_values_supported: string[];
2430
2430
  authentic_source?: string | undefined;
2431
2431
  issuance_errors_supported?: Record<string, {
2432
2432
  display: {
2433
- title: string;
2434
2433
  locale: string;
2434
+ title: string;
2435
2435
  description: string;
2436
2436
  }[];
2437
2437
  }> | undefined;
@@ -2585,35 +2585,35 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2585
2585
  x5u?: string | undefined;
2586
2586
  }[];
2587
2587
  };
2588
- credential_issuer: string;
2589
- credential_endpoint: string;
2590
- revocation_endpoint: string;
2591
- status_attestation_endpoint: string;
2592
2588
  display: {
2593
2589
  name: string;
2594
2590
  locale: string;
2595
2591
  }[];
2592
+ credential_issuer: string;
2593
+ credential_endpoint: string;
2594
+ revocation_endpoint: string;
2595
+ status_attestation_endpoint: string;
2596
2596
  credential_configurations_supported: Record<string, {
2597
2597
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
2598
+ scope: string;
2598
2599
  display: {
2599
2600
  name: string;
2600
2601
  locale: string;
2601
2602
  }[];
2602
- scope: string;
2603
2603
  claims: Record<string, {
2604
+ value_type: string;
2604
2605
  display: {
2605
2606
  name: string;
2606
2607
  locale: string;
2607
2608
  }[];
2608
- value_type: string;
2609
2609
  }>;
2610
2610
  cryptographic_binding_methods_supported: string[];
2611
2611
  credential_signing_alg_values_supported: string[];
2612
2612
  authentic_source?: string | undefined;
2613
2613
  issuance_errors_supported?: Record<string, {
2614
2614
  display: {
2615
- title: string;
2616
2615
  locale: string;
2616
+ title: string;
2617
2617
  description: string;
2618
2618
  }[];
2619
2619
  }> | undefined;
@@ -2645,35 +2645,35 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2645
2645
  x5u?: string | undefined;
2646
2646
  }[];
2647
2647
  };
2648
- credential_issuer: string;
2649
- credential_endpoint: string;
2650
- revocation_endpoint: string;
2651
- status_attestation_endpoint: string;
2652
2648
  display: {
2653
2649
  name: string;
2654
2650
  locale: string;
2655
2651
  }[];
2652
+ credential_issuer: string;
2653
+ credential_endpoint: string;
2654
+ revocation_endpoint: string;
2655
+ status_attestation_endpoint: string;
2656
2656
  credential_configurations_supported: Record<string, {
2657
2657
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
2658
+ scope: string;
2658
2659
  display: {
2659
2660
  name: string;
2660
2661
  locale: string;
2661
2662
  }[];
2662
- scope: string;
2663
2663
  claims: Record<string, {
2664
+ value_type: string;
2664
2665
  display: {
2665
2666
  name: string;
2666
2667
  locale: string;
2667
2668
  }[];
2668
- value_type: string;
2669
2669
  }>;
2670
2670
  cryptographic_binding_methods_supported: string[];
2671
2671
  credential_signing_alg_values_supported: string[];
2672
2672
  authentic_source?: string | undefined;
2673
2673
  issuance_errors_supported?: Record<string, {
2674
2674
  display: {
2675
- title: string;
2676
2675
  locale: string;
2676
+ title: string;
2677
2677
  description: string;
2678
2678
  }[];
2679
2679
  }> | undefined;
@@ -2816,6 +2816,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2816
2816
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
2817
2817
  request_object_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
2818
2818
  }, "strip", z.ZodTypeAny, {
2819
+ request_object_signing_alg_values_supported: string[];
2819
2820
  jwks: {
2820
2821
  keys: {
2821
2822
  kty: "RSA" | "EC";
@@ -2854,8 +2855,8 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2854
2855
  response_modes_supported: string[];
2855
2856
  token_endpoint_auth_methods_supported: string[];
2856
2857
  token_endpoint_auth_signing_alg_values_supported: string[];
2857
- request_object_signing_alg_values_supported: string[];
2858
2858
  }, {
2859
+ request_object_signing_alg_values_supported: string[];
2859
2860
  jwks: {
2860
2861
  keys: {
2861
2862
  kty: "RSA" | "EC";
@@ -2894,7 +2895,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2894
2895
  response_modes_supported: string[];
2895
2896
  token_endpoint_auth_methods_supported: string[];
2896
2897
  token_endpoint_auth_signing_alg_values_supported: string[];
2897
- request_object_signing_alg_values_supported: string[];
2898
2898
  }>;
2899
2899
  /**
2900
2900
  * Credential Issuers act as Relying Party when they require the presentation of other credentials.
@@ -3421,41 +3421,42 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3421
3421
  x5u?: string | undefined;
3422
3422
  }[];
3423
3423
  };
3424
- credential_issuer: string;
3425
- credential_endpoint: string;
3426
- revocation_endpoint: string;
3427
- status_attestation_endpoint: string;
3428
3424
  display: {
3429
3425
  name: string;
3430
3426
  locale: string;
3431
3427
  }[];
3428
+ credential_issuer: string;
3429
+ credential_endpoint: string;
3430
+ revocation_endpoint: string;
3431
+ status_attestation_endpoint: string;
3432
3432
  credential_configurations_supported: Record<string, {
3433
3433
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
3434
+ scope: string;
3434
3435
  display: {
3435
3436
  name: string;
3436
3437
  locale: string;
3437
3438
  }[];
3438
- scope: string;
3439
3439
  claims: Record<string, {
3440
+ value_type: string;
3440
3441
  display: {
3441
3442
  name: string;
3442
3443
  locale: string;
3443
3444
  }[];
3444
- value_type: string;
3445
3445
  }>;
3446
3446
  cryptographic_binding_methods_supported: string[];
3447
3447
  credential_signing_alg_values_supported: string[];
3448
3448
  authentic_source?: string | undefined;
3449
3449
  issuance_errors_supported?: Record<string, {
3450
3450
  display: {
3451
- title: string;
3452
3451
  locale: string;
3452
+ title: string;
3453
3453
  description: string;
3454
3454
  }[];
3455
3455
  }> | undefined;
3456
3456
  }>;
3457
3457
  };
3458
3458
  oauth_authorization_server: {
3459
+ request_object_signing_alg_values_supported: string[];
3459
3460
  jwks: {
3460
3461
  keys: {
3461
3462
  kty: "RSA" | "EC";
@@ -3494,7 +3495,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3494
3495
  response_modes_supported: string[];
3495
3496
  token_endpoint_auth_methods_supported: string[];
3496
3497
  token_endpoint_auth_signing_alg_values_supported: string[];
3497
- request_object_signing_alg_values_supported: string[];
3498
3498
  };
3499
3499
  openid_credential_verifier?: {
3500
3500
  jwks: {
@@ -3597,41 +3597,42 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3597
3597
  x5u?: string | undefined;
3598
3598
  }[];
3599
3599
  };
3600
- credential_issuer: string;
3601
- credential_endpoint: string;
3602
- revocation_endpoint: string;
3603
- status_attestation_endpoint: string;
3604
3600
  display: {
3605
3601
  name: string;
3606
3602
  locale: string;
3607
3603
  }[];
3604
+ credential_issuer: string;
3605
+ credential_endpoint: string;
3606
+ revocation_endpoint: string;
3607
+ status_attestation_endpoint: string;
3608
3608
  credential_configurations_supported: Record<string, {
3609
3609
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
3610
+ scope: string;
3610
3611
  display: {
3611
3612
  name: string;
3612
3613
  locale: string;
3613
3614
  }[];
3614
- scope: string;
3615
3615
  claims: Record<string, {
3616
+ value_type: string;
3616
3617
  display: {
3617
3618
  name: string;
3618
3619
  locale: string;
3619
3620
  }[];
3620
- value_type: string;
3621
3621
  }>;
3622
3622
  cryptographic_binding_methods_supported: string[];
3623
3623
  credential_signing_alg_values_supported: string[];
3624
3624
  authentic_source?: string | undefined;
3625
3625
  issuance_errors_supported?: Record<string, {
3626
3626
  display: {
3627
- title: string;
3628
3627
  locale: string;
3628
+ title: string;
3629
3629
  description: string;
3630
3630
  }[];
3631
3631
  }> | undefined;
3632
3632
  }>;
3633
3633
  };
3634
3634
  oauth_authorization_server: {
3635
+ request_object_signing_alg_values_supported: string[];
3635
3636
  jwks: {
3636
3637
  keys: {
3637
3638
  kty: "RSA" | "EC";
@@ -3670,7 +3671,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3670
3671
  response_modes_supported: string[];
3671
3672
  token_endpoint_auth_methods_supported: string[];
3672
3673
  token_endpoint_auth_signing_alg_values_supported: string[];
3673
- request_object_signing_alg_values_supported: string[];
3674
3674
  };
3675
3675
  openid_credential_verifier?: {
3676
3676
  jwks: {
@@ -3747,6 +3747,32 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3747
3747
  } | undefined;
3748
3748
  }>;
3749
3749
  }, "strip", z.ZodTypeAny, {
3750
+ jwks: {
3751
+ keys: {
3752
+ kty: "RSA" | "EC";
3753
+ alg?: string | undefined;
3754
+ crv?: string | undefined;
3755
+ d?: string | undefined;
3756
+ dp?: string | undefined;
3757
+ dq?: string | undefined;
3758
+ e?: string | undefined;
3759
+ ext?: boolean | undefined;
3760
+ k?: string | undefined;
3761
+ key_ops?: string[] | undefined;
3762
+ kid?: string | undefined;
3763
+ n?: string | undefined;
3764
+ p?: string | undefined;
3765
+ q?: string | undefined;
3766
+ qi?: string | undefined;
3767
+ use?: string | undefined;
3768
+ x?: string | undefined;
3769
+ y?: string | undefined;
3770
+ x5c?: string[] | undefined;
3771
+ x5t?: string | undefined;
3772
+ "x5t#S256"?: string | undefined;
3773
+ x5u?: string | undefined;
3774
+ }[];
3775
+ };
3750
3776
  metadata: {
3751
3777
  openid_credential_issuer: {
3752
3778
  jwks: {
@@ -3775,41 +3801,42 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3775
3801
  x5u?: string | undefined;
3776
3802
  }[];
3777
3803
  };
3778
- credential_issuer: string;
3779
- credential_endpoint: string;
3780
- revocation_endpoint: string;
3781
- status_attestation_endpoint: string;
3782
3804
  display: {
3783
3805
  name: string;
3784
3806
  locale: string;
3785
3807
  }[];
3808
+ credential_issuer: string;
3809
+ credential_endpoint: string;
3810
+ revocation_endpoint: string;
3811
+ status_attestation_endpoint: string;
3786
3812
  credential_configurations_supported: Record<string, {
3787
3813
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
3814
+ scope: string;
3788
3815
  display: {
3789
3816
  name: string;
3790
3817
  locale: string;
3791
3818
  }[];
3792
- scope: string;
3793
3819
  claims: Record<string, {
3820
+ value_type: string;
3794
3821
  display: {
3795
3822
  name: string;
3796
3823
  locale: string;
3797
3824
  }[];
3798
- value_type: string;
3799
3825
  }>;
3800
3826
  cryptographic_binding_methods_supported: string[];
3801
3827
  credential_signing_alg_values_supported: string[];
3802
3828
  authentic_source?: string | undefined;
3803
3829
  issuance_errors_supported?: Record<string, {
3804
3830
  display: {
3805
- title: string;
3806
3831
  locale: string;
3832
+ title: string;
3807
3833
  description: string;
3808
3834
  }[];
3809
3835
  }> | undefined;
3810
3836
  }>;
3811
3837
  };
3812
3838
  oauth_authorization_server: {
3839
+ request_object_signing_alg_values_supported: string[];
3813
3840
  jwks: {
3814
3841
  keys: {
3815
3842
  kty: "RSA" | "EC";
@@ -3848,7 +3875,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3848
3875
  response_modes_supported: string[];
3849
3876
  token_endpoint_auth_methods_supported: string[];
3850
3877
  token_endpoint_auth_signing_alg_values_supported: string[];
3851
- request_object_signing_alg_values_supported: string[];
3852
3878
  };
3853
3879
  openid_credential_verifier?: {
3854
3880
  jwks: {
@@ -3924,6 +3950,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3924
3950
  authorization_encrypted_response_enc?: string | undefined;
3925
3951
  } | undefined;
3926
3952
  };
3953
+ }, {
3927
3954
  jwks: {
3928
3955
  keys: {
3929
3956
  kty: "RSA" | "EC";
@@ -3950,7 +3977,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3950
3977
  x5u?: string | undefined;
3951
3978
  }[];
3952
3979
  };
3953
- }, {
3954
3980
  metadata: {
3955
3981
  openid_credential_issuer: {
3956
3982
  jwks: {
@@ -3979,41 +4005,42 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3979
4005
  x5u?: string | undefined;
3980
4006
  }[];
3981
4007
  };
3982
- credential_issuer: string;
3983
- credential_endpoint: string;
3984
- revocation_endpoint: string;
3985
- status_attestation_endpoint: string;
3986
4008
  display: {
3987
4009
  name: string;
3988
4010
  locale: string;
3989
4011
  }[];
4012
+ credential_issuer: string;
4013
+ credential_endpoint: string;
4014
+ revocation_endpoint: string;
4015
+ status_attestation_endpoint: string;
3990
4016
  credential_configurations_supported: Record<string, {
3991
4017
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
4018
+ scope: string;
3992
4019
  display: {
3993
4020
  name: string;
3994
4021
  locale: string;
3995
4022
  }[];
3996
- scope: string;
3997
4023
  claims: Record<string, {
4024
+ value_type: string;
3998
4025
  display: {
3999
4026
  name: string;
4000
4027
  locale: string;
4001
4028
  }[];
4002
- value_type: string;
4003
4029
  }>;
4004
4030
  cryptographic_binding_methods_supported: string[];
4005
4031
  credential_signing_alg_values_supported: string[];
4006
4032
  authentic_source?: string | undefined;
4007
4033
  issuance_errors_supported?: Record<string, {
4008
4034
  display: {
4009
- title: string;
4010
4035
  locale: string;
4036
+ title: string;
4011
4037
  description: string;
4012
4038
  }[];
4013
4039
  }> | undefined;
4014
4040
  }>;
4015
4041
  };
4016
4042
  oauth_authorization_server: {
4043
+ request_object_signing_alg_values_supported: string[];
4017
4044
  jwks: {
4018
4045
  keys: {
4019
4046
  kty: "RSA" | "EC";
@@ -4052,7 +4079,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4052
4079
  response_modes_supported: string[];
4053
4080
  token_endpoint_auth_methods_supported: string[];
4054
4081
  token_endpoint_auth_signing_alg_values_supported: string[];
4055
- request_object_signing_alg_values_supported: string[];
4056
4082
  };
4057
4083
  openid_credential_verifier?: {
4058
4084
  jwks: {
@@ -4128,6 +4154,9 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4128
4154
  authorization_encrypted_response_enc?: string | undefined;
4129
4155
  } | undefined;
4130
4156
  };
4157
+ }>;
4158
+ }, "strip", z.ZodTypeAny, {
4159
+ payload: {
4131
4160
  jwks: {
4132
4161
  keys: {
4133
4162
  kty: "RSA" | "EC";
@@ -4154,9 +4183,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4154
4183
  x5u?: string | undefined;
4155
4184
  }[];
4156
4185
  };
4157
- }>;
4158
- }, "strip", z.ZodTypeAny, {
4159
- payload: {
4160
4186
  metadata: {
4161
4187
  openid_credential_issuer: {
4162
4188
  jwks: {
@@ -4185,41 +4211,42 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4185
4211
  x5u?: string | undefined;
4186
4212
  }[];
4187
4213
  };
4188
- credential_issuer: string;
4189
- credential_endpoint: string;
4190
- revocation_endpoint: string;
4191
- status_attestation_endpoint: string;
4192
4214
  display: {
4193
4215
  name: string;
4194
4216
  locale: string;
4195
4217
  }[];
4218
+ credential_issuer: string;
4219
+ credential_endpoint: string;
4220
+ revocation_endpoint: string;
4221
+ status_attestation_endpoint: string;
4196
4222
  credential_configurations_supported: Record<string, {
4197
4223
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
4224
+ scope: string;
4198
4225
  display: {
4199
4226
  name: string;
4200
4227
  locale: string;
4201
4228
  }[];
4202
- scope: string;
4203
4229
  claims: Record<string, {
4230
+ value_type: string;
4204
4231
  display: {
4205
4232
  name: string;
4206
4233
  locale: string;
4207
4234
  }[];
4208
- value_type: string;
4209
4235
  }>;
4210
4236
  cryptographic_binding_methods_supported: string[];
4211
4237
  credential_signing_alg_values_supported: string[];
4212
4238
  authentic_source?: string | undefined;
4213
4239
  issuance_errors_supported?: Record<string, {
4214
4240
  display: {
4215
- title: string;
4216
4241
  locale: string;
4242
+ title: string;
4217
4243
  description: string;
4218
4244
  }[];
4219
4245
  }> | undefined;
4220
4246
  }>;
4221
4247
  };
4222
4248
  oauth_authorization_server: {
4249
+ request_object_signing_alg_values_supported: string[];
4223
4250
  jwks: {
4224
4251
  keys: {
4225
4252
  kty: "RSA" | "EC";
@@ -4258,7 +4285,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4258
4285
  response_modes_supported: string[];
4259
4286
  token_endpoint_auth_methods_supported: string[];
4260
4287
  token_endpoint_auth_signing_alg_values_supported: string[];
4261
- request_object_signing_alg_values_supported: string[];
4262
4288
  };
4263
4289
  openid_credential_verifier?: {
4264
4290
  jwks: {
@@ -4334,6 +4360,9 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4334
4360
  authorization_encrypted_response_enc?: string | undefined;
4335
4361
  } | undefined;
4336
4362
  };
4363
+ };
4364
+ }, {
4365
+ payload: {
4337
4366
  jwks: {
4338
4367
  keys: {
4339
4368
  kty: "RSA" | "EC";
@@ -4360,9 +4389,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4360
4389
  x5u?: string | undefined;
4361
4390
  }[];
4362
4391
  };
4363
- };
4364
- }, {
4365
- payload: {
4366
4392
  metadata: {
4367
4393
  openid_credential_issuer: {
4368
4394
  jwks: {
@@ -4391,41 +4417,42 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4391
4417
  x5u?: string | undefined;
4392
4418
  }[];
4393
4419
  };
4394
- credential_issuer: string;
4395
- credential_endpoint: string;
4396
- revocation_endpoint: string;
4397
- status_attestation_endpoint: string;
4398
4420
  display: {
4399
4421
  name: string;
4400
4422
  locale: string;
4401
4423
  }[];
4424
+ credential_issuer: string;
4425
+ credential_endpoint: string;
4426
+ revocation_endpoint: string;
4427
+ status_attestation_endpoint: string;
4402
4428
  credential_configurations_supported: Record<string, {
4403
4429
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
4430
+ scope: string;
4404
4431
  display: {
4405
4432
  name: string;
4406
4433
  locale: string;
4407
4434
  }[];
4408
- scope: string;
4409
4435
  claims: Record<string, {
4436
+ value_type: string;
4410
4437
  display: {
4411
4438
  name: string;
4412
4439
  locale: string;
4413
4440
  }[];
4414
- value_type: string;
4415
4441
  }>;
4416
4442
  cryptographic_binding_methods_supported: string[];
4417
4443
  credential_signing_alg_values_supported: string[];
4418
4444
  authentic_source?: string | undefined;
4419
4445
  issuance_errors_supported?: Record<string, {
4420
4446
  display: {
4421
- title: string;
4422
4447
  locale: string;
4448
+ title: string;
4423
4449
  description: string;
4424
4450
  }[];
4425
4451
  }> | undefined;
4426
4452
  }>;
4427
4453
  };
4428
4454
  oauth_authorization_server: {
4455
+ request_object_signing_alg_values_supported: string[];
4429
4456
  jwks: {
4430
4457
  keys: {
4431
4458
  kty: "RSA" | "EC";
@@ -4464,7 +4491,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4464
4491
  response_modes_supported: string[];
4465
4492
  token_endpoint_auth_methods_supported: string[];
4466
4493
  token_endpoint_auth_signing_alg_values_supported: string[];
4467
- request_object_signing_alg_values_supported: string[];
4468
4494
  };
4469
4495
  openid_credential_verifier?: {
4470
4496
  jwks: {
@@ -4540,32 +4566,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4540
4566
  authorization_encrypted_response_enc?: string | undefined;
4541
4567
  } | undefined;
4542
4568
  };
4543
- jwks: {
4544
- keys: {
4545
- kty: "RSA" | "EC";
4546
- alg?: string | undefined;
4547
- crv?: string | undefined;
4548
- d?: string | undefined;
4549
- dp?: string | undefined;
4550
- dq?: string | undefined;
4551
- e?: string | undefined;
4552
- ext?: boolean | undefined;
4553
- k?: string | undefined;
4554
- key_ops?: string[] | undefined;
4555
- kid?: string | undefined;
4556
- n?: string | undefined;
4557
- p?: string | undefined;
4558
- q?: string | undefined;
4559
- qi?: string | undefined;
4560
- use?: string | undefined;
4561
- x?: string | undefined;
4562
- y?: string | undefined;
4563
- x5c?: string[] | undefined;
4564
- x5t?: string | undefined;
4565
- "x5t#S256"?: string | undefined;
4566
- x5u?: string | undefined;
4567
- }[];
4568
- };
4569
4569
  };
4570
4570
  }>>;
4571
4571
  export type RelyingPartyEntityConfiguration = z.infer<typeof RelyingPartyEntityConfiguration>;
@@ -5378,27 +5378,6 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5378
5378
  sub: string;
5379
5379
  iat: number;
5380
5380
  exp: number;
5381
- metadata: {
5382
- federation_entity: {
5383
- federation_fetch_endpoint?: string | undefined;
5384
- federation_list_endpoint?: string | undefined;
5385
- federation_resolve_endpoint?: string | undefined;
5386
- federation_trust_mark_status_endpoint?: string | undefined;
5387
- federation_trust_mark_list_endpoint?: string | undefined;
5388
- federation_trust_mark_endpoint?: string | undefined;
5389
- federation_historical_keys_endpoint?: string | undefined;
5390
- endpoint_auth_signing_alg_values_supported?: string | undefined;
5391
- organization_name?: string | undefined;
5392
- homepage_uri?: string | undefined;
5393
- policy_uri?: string | undefined;
5394
- logo_uri?: string | undefined;
5395
- contacts?: string[] | undefined;
5396
- } & {
5397
- [k: string]: unknown;
5398
- };
5399
- } & {
5400
- [k: string]: unknown;
5401
- };
5402
5381
  jwks: {
5403
5382
  keys: {
5404
5383
  kty: "RSA" | "EC";
@@ -5425,21 +5404,6 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5425
5404
  x5u?: string | undefined;
5426
5405
  }[];
5427
5406
  };
5428
- authority_hints?: string[] | undefined;
5429
- } & {
5430
- [k: string]: unknown;
5431
- };
5432
- }, {
5433
- header: {
5434
- alg: string;
5435
- kid: string;
5436
- typ: "entity-statement+jwt";
5437
- };
5438
- payload: {
5439
- iss: string;
5440
- sub: string;
5441
- iat: number;
5442
- exp: number;
5443
5407
  metadata: {
5444
5408
  federation_entity: {
5445
5409
  federation_fetch_endpoint?: string | undefined;
@@ -5461,6 +5425,21 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5461
5425
  } & {
5462
5426
  [k: string]: unknown;
5463
5427
  };
5428
+ authority_hints?: string[] | undefined;
5429
+ } & {
5430
+ [k: string]: unknown;
5431
+ };
5432
+ }, {
5433
+ header: {
5434
+ alg: string;
5435
+ kid: string;
5436
+ typ: "entity-statement+jwt";
5437
+ };
5438
+ payload: {
5439
+ iss: string;
5440
+ sub: string;
5441
+ iat: number;
5442
+ exp: number;
5464
5443
  jwks: {
5465
5444
  keys: {
5466
5445
  kty: "RSA" | "EC";
@@ -5487,6 +5466,27 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5487
5466
  x5u?: string | undefined;
5488
5467
  }[];
5489
5468
  };
5469
+ metadata: {
5470
+ federation_entity: {
5471
+ federation_fetch_endpoint?: string | undefined;
5472
+ federation_list_endpoint?: string | undefined;
5473
+ federation_resolve_endpoint?: string | undefined;
5474
+ federation_trust_mark_status_endpoint?: string | undefined;
5475
+ federation_trust_mark_list_endpoint?: string | undefined;
5476
+ federation_trust_mark_endpoint?: string | undefined;
5477
+ federation_historical_keys_endpoint?: string | undefined;
5478
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
5479
+ organization_name?: string | undefined;
5480
+ homepage_uri?: string | undefined;
5481
+ policy_uri?: string | undefined;
5482
+ logo_uri?: string | undefined;
5483
+ contacts?: string[] | undefined;
5484
+ } & {
5485
+ [k: string]: unknown;
5486
+ };
5487
+ } & {
5488
+ [k: string]: unknown;
5489
+ };
5490
5490
  authority_hints?: string[] | undefined;
5491
5491
  } & {
5492
5492
  [k: string]: unknown;
@@ -7256,27 +7256,6 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
7256
7256
  sub: string;
7257
7257
  iat: number;
7258
7258
  exp: number;
7259
- metadata: {
7260
- federation_entity: {
7261
- federation_fetch_endpoint?: string | undefined;
7262
- federation_list_endpoint?: string | undefined;
7263
- federation_resolve_endpoint?: string | undefined;
7264
- federation_trust_mark_status_endpoint?: string | undefined;
7265
- federation_trust_mark_list_endpoint?: string | undefined;
7266
- federation_trust_mark_endpoint?: string | undefined;
7267
- federation_historical_keys_endpoint?: string | undefined;
7268
- endpoint_auth_signing_alg_values_supported?: string | undefined;
7269
- organization_name?: string | undefined;
7270
- homepage_uri?: string | undefined;
7271
- policy_uri?: string | undefined;
7272
- logo_uri?: string | undefined;
7273
- contacts?: string[] | undefined;
7274
- } & {
7275
- [k: string]: unknown;
7276
- };
7277
- } & {
7278
- [k: string]: unknown;
7279
- };
7280
7259
  jwks: {
7281
7260
  keys: {
7282
7261
  kty: "RSA" | "EC";
@@ -7303,21 +7282,6 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
7303
7282
  x5u?: string | undefined;
7304
7283
  }[];
7305
7284
  };
7306
- authority_hints?: string[] | undefined;
7307
- } & {
7308
- [k: string]: unknown;
7309
- };
7310
- }, {
7311
- header: {
7312
- alg: string;
7313
- kid: string;
7314
- typ: "entity-statement+jwt";
7315
- };
7316
- payload: {
7317
- iss: string;
7318
- sub: string;
7319
- iat: number;
7320
- exp: number;
7321
7285
  metadata: {
7322
7286
  federation_entity: {
7323
7287
  federation_fetch_endpoint?: string | undefined;
@@ -7339,6 +7303,21 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
7339
7303
  } & {
7340
7304
  [k: string]: unknown;
7341
7305
  };
7306
+ authority_hints?: string[] | undefined;
7307
+ } & {
7308
+ [k: string]: unknown;
7309
+ };
7310
+ }, {
7311
+ header: {
7312
+ alg: string;
7313
+ kid: string;
7314
+ typ: "entity-statement+jwt";
7315
+ };
7316
+ payload: {
7317
+ iss: string;
7318
+ sub: string;
7319
+ iat: number;
7320
+ exp: number;
7342
7321
  jwks: {
7343
7322
  keys: {
7344
7323
  kty: "RSA" | "EC";
@@ -7365,6 +7344,27 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
7365
7344
  x5u?: string | undefined;
7366
7345
  }[];
7367
7346
  };
7347
+ metadata: {
7348
+ federation_entity: {
7349
+ federation_fetch_endpoint?: string | undefined;
7350
+ federation_list_endpoint?: string | undefined;
7351
+ federation_resolve_endpoint?: string | undefined;
7352
+ federation_trust_mark_status_endpoint?: string | undefined;
7353
+ federation_trust_mark_list_endpoint?: string | undefined;
7354
+ federation_trust_mark_endpoint?: string | undefined;
7355
+ federation_historical_keys_endpoint?: string | undefined;
7356
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
7357
+ organization_name?: string | undefined;
7358
+ homepage_uri?: string | undefined;
7359
+ policy_uri?: string | undefined;
7360
+ logo_uri?: string | undefined;
7361
+ contacts?: string[] | undefined;
7362
+ } & {
7363
+ [k: string]: unknown;
7364
+ };
7365
+ } & {
7366
+ [k: string]: unknown;
7367
+ };
7368
7368
  authority_hints?: string[] | undefined;
7369
7369
  } & {
7370
7370
  [k: string]: unknown;
@@ -8798,27 +8798,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8798
8798
  sub: string;
8799
8799
  iat: number;
8800
8800
  exp: number;
8801
- metadata: {
8802
- federation_entity: {
8803
- federation_fetch_endpoint?: string | undefined;
8804
- federation_list_endpoint?: string | undefined;
8805
- federation_resolve_endpoint?: string | undefined;
8806
- federation_trust_mark_status_endpoint?: string | undefined;
8807
- federation_trust_mark_list_endpoint?: string | undefined;
8808
- federation_trust_mark_endpoint?: string | undefined;
8809
- federation_historical_keys_endpoint?: string | undefined;
8810
- endpoint_auth_signing_alg_values_supported?: string | undefined;
8811
- organization_name?: string | undefined;
8812
- homepage_uri?: string | undefined;
8813
- policy_uri?: string | undefined;
8814
- logo_uri?: string | undefined;
8815
- contacts?: string[] | undefined;
8816
- } & {
8817
- [k: string]: unknown;
8818
- };
8819
- } & {
8820
- [k: string]: unknown;
8821
- };
8822
8801
  jwks: {
8823
8802
  keys: {
8824
8803
  kty: "RSA" | "EC";
@@ -8845,21 +8824,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8845
8824
  x5u?: string | undefined;
8846
8825
  }[];
8847
8826
  };
8848
- authority_hints?: string[] | undefined;
8849
- } & {
8850
- [k: string]: unknown;
8851
- };
8852
- }, {
8853
- header: {
8854
- alg: string;
8855
- kid: string;
8856
- typ: "entity-statement+jwt";
8857
- };
8858
- payload: {
8859
- iss: string;
8860
- sub: string;
8861
- iat: number;
8862
- exp: number;
8863
8827
  metadata: {
8864
8828
  federation_entity: {
8865
8829
  federation_fetch_endpoint?: string | undefined;
@@ -8881,6 +8845,21 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8881
8845
  } & {
8882
8846
  [k: string]: unknown;
8883
8847
  };
8848
+ authority_hints?: string[] | undefined;
8849
+ } & {
8850
+ [k: string]: unknown;
8851
+ };
8852
+ }, {
8853
+ header: {
8854
+ alg: string;
8855
+ kid: string;
8856
+ typ: "entity-statement+jwt";
8857
+ };
8858
+ payload: {
8859
+ iss: string;
8860
+ sub: string;
8861
+ iat: number;
8862
+ exp: number;
8884
8863
  jwks: {
8885
8864
  keys: {
8886
8865
  kty: "RSA" | "EC";
@@ -8907,6 +8886,27 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8907
8886
  x5u?: string | undefined;
8908
8887
  }[];
8909
8888
  };
8889
+ metadata: {
8890
+ federation_entity: {
8891
+ federation_fetch_endpoint?: string | undefined;
8892
+ federation_list_endpoint?: string | undefined;
8893
+ federation_resolve_endpoint?: string | undefined;
8894
+ federation_trust_mark_status_endpoint?: string | undefined;
8895
+ federation_trust_mark_list_endpoint?: string | undefined;
8896
+ federation_trust_mark_endpoint?: string | undefined;
8897
+ federation_historical_keys_endpoint?: string | undefined;
8898
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
8899
+ organization_name?: string | undefined;
8900
+ homepage_uri?: string | undefined;
8901
+ policy_uri?: string | undefined;
8902
+ logo_uri?: string | undefined;
8903
+ contacts?: string[] | undefined;
8904
+ } & {
8905
+ [k: string]: unknown;
8906
+ };
8907
+ } & {
8908
+ [k: string]: unknown;
8909
+ };
8910
8910
  authority_hints?: string[] | undefined;
8911
8911
  } & {
8912
8912
  [k: string]: unknown;
@@ -10338,27 +10338,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10338
10338
  sub: string;
10339
10339
  iat: number;
10340
10340
  exp: number;
10341
- metadata: {
10342
- federation_entity: {
10343
- federation_fetch_endpoint?: string | undefined;
10344
- federation_list_endpoint?: string | undefined;
10345
- federation_resolve_endpoint?: string | undefined;
10346
- federation_trust_mark_status_endpoint?: string | undefined;
10347
- federation_trust_mark_list_endpoint?: string | undefined;
10348
- federation_trust_mark_endpoint?: string | undefined;
10349
- federation_historical_keys_endpoint?: string | undefined;
10350
- endpoint_auth_signing_alg_values_supported?: string | undefined;
10351
- organization_name?: string | undefined;
10352
- homepage_uri?: string | undefined;
10353
- policy_uri?: string | undefined;
10354
- logo_uri?: string | undefined;
10355
- contacts?: string[] | undefined;
10356
- } & {
10357
- [k: string]: unknown;
10358
- };
10359
- } & {
10360
- [k: string]: unknown;
10361
- };
10362
10341
  jwks: {
10363
10342
  keys: {
10364
10343
  kty: "RSA" | "EC";
@@ -10385,21 +10364,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10385
10364
  x5u?: string | undefined;
10386
10365
  }[];
10387
10366
  };
10388
- authority_hints?: string[] | undefined;
10389
- } & {
10390
- [k: string]: unknown;
10391
- };
10392
- }, {
10393
- header: {
10394
- alg: string;
10395
- kid: string;
10396
- typ: "entity-statement+jwt";
10397
- };
10398
- payload: {
10399
- iss: string;
10400
- sub: string;
10401
- iat: number;
10402
- exp: number;
10403
10367
  metadata: {
10404
10368
  federation_entity: {
10405
10369
  federation_fetch_endpoint?: string | undefined;
@@ -10421,6 +10385,21 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10421
10385
  } & {
10422
10386
  [k: string]: unknown;
10423
10387
  };
10388
+ authority_hints?: string[] | undefined;
10389
+ } & {
10390
+ [k: string]: unknown;
10391
+ };
10392
+ }, {
10393
+ header: {
10394
+ alg: string;
10395
+ kid: string;
10396
+ typ: "entity-statement+jwt";
10397
+ };
10398
+ payload: {
10399
+ iss: string;
10400
+ sub: string;
10401
+ iat: number;
10402
+ exp: number;
10424
10403
  jwks: {
10425
10404
  keys: {
10426
10405
  kty: "RSA" | "EC";
@@ -10447,6 +10426,27 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10447
10426
  x5u?: string | undefined;
10448
10427
  }[];
10449
10428
  };
10429
+ metadata: {
10430
+ federation_entity: {
10431
+ federation_fetch_endpoint?: string | undefined;
10432
+ federation_list_endpoint?: string | undefined;
10433
+ federation_resolve_endpoint?: string | undefined;
10434
+ federation_trust_mark_status_endpoint?: string | undefined;
10435
+ federation_trust_mark_list_endpoint?: string | undefined;
10436
+ federation_trust_mark_endpoint?: string | undefined;
10437
+ federation_historical_keys_endpoint?: string | undefined;
10438
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
10439
+ organization_name?: string | undefined;
10440
+ homepage_uri?: string | undefined;
10441
+ policy_uri?: string | undefined;
10442
+ logo_uri?: string | undefined;
10443
+ contacts?: string[] | undefined;
10444
+ } & {
10445
+ [k: string]: unknown;
10446
+ };
10447
+ } & {
10448
+ [k: string]: unknown;
10449
+ };
10450
10450
  authority_hints?: string[] | undefined;
10451
10451
  } & {
10452
10452
  [k: string]: unknown;
@@ -10617,17 +10617,17 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10617
10617
  locale: string;
10618
10618
  }>, "many">;
10619
10619
  }, "strip", z.ZodTypeAny, {
10620
+ value_type: string;
10620
10621
  display: {
10621
10622
  name: string;
10622
10623
  locale: string;
10623
10624
  }[];
10624
- value_type: string;
10625
10625
  }, {
10626
+ value_type: string;
10626
10627
  display: {
10627
10628
  name: string;
10628
10629
  locale: string;
10629
10630
  }[];
10630
- value_type: string;
10631
10631
  }>>;
10632
10632
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
10633
10633
  credential_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
@@ -10638,72 +10638,72 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10638
10638
  description: z.ZodString;
10639
10639
  locale: z.ZodString;
10640
10640
  }, "strip", z.ZodTypeAny, {
10641
- title: string;
10642
10641
  locale: string;
10642
+ title: string;
10643
10643
  description: string;
10644
10644
  }, {
10645
- title: string;
10646
10645
  locale: string;
10646
+ title: string;
10647
10647
  description: string;
10648
10648
  }>, "many">;
10649
10649
  }, "strip", z.ZodTypeAny, {
10650
10650
  display: {
10651
- title: string;
10652
10651
  locale: string;
10652
+ title: string;
10653
10653
  description: string;
10654
10654
  }[];
10655
10655
  }, {
10656
10656
  display: {
10657
- title: string;
10658
10657
  locale: string;
10658
+ title: string;
10659
10659
  description: string;
10660
10660
  }[];
10661
10661
  }>>>;
10662
10662
  }, "strip", z.ZodTypeAny, {
10663
10663
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
10664
+ scope: string;
10664
10665
  display: {
10665
10666
  name: string;
10666
10667
  locale: string;
10667
10668
  }[];
10668
- scope: string;
10669
10669
  claims: Record<string, {
10670
+ value_type: string;
10670
10671
  display: {
10671
10672
  name: string;
10672
10673
  locale: string;
10673
10674
  }[];
10674
- value_type: string;
10675
10675
  }>;
10676
10676
  cryptographic_binding_methods_supported: string[];
10677
10677
  credential_signing_alg_values_supported: string[];
10678
10678
  authentic_source?: string | undefined;
10679
10679
  issuance_errors_supported?: Record<string, {
10680
10680
  display: {
10681
- title: string;
10682
10681
  locale: string;
10682
+ title: string;
10683
10683
  description: string;
10684
10684
  }[];
10685
10685
  }> | undefined;
10686
10686
  }, {
10687
10687
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
10688
+ scope: string;
10688
10689
  display: {
10689
10690
  name: string;
10690
10691
  locale: string;
10691
10692
  }[];
10692
- scope: string;
10693
10693
  claims: Record<string, {
10694
+ value_type: string;
10694
10695
  display: {
10695
10696
  name: string;
10696
10697
  locale: string;
10697
10698
  }[];
10698
- value_type: string;
10699
10699
  }>;
10700
10700
  cryptographic_binding_methods_supported: string[];
10701
10701
  credential_signing_alg_values_supported: string[];
10702
10702
  authentic_source?: string | undefined;
10703
10703
  issuance_errors_supported?: Record<string, {
10704
10704
  display: {
10705
- title: string;
10706
10705
  locale: string;
10706
+ title: string;
10707
10707
  description: string;
10708
10708
  }[];
10709
10709
  }> | undefined;
@@ -10857,35 +10857,35 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10857
10857
  x5u?: string | undefined;
10858
10858
  }[];
10859
10859
  };
10860
- credential_issuer: string;
10861
- credential_endpoint: string;
10862
- revocation_endpoint: string;
10863
- status_attestation_endpoint: string;
10864
10860
  display: {
10865
10861
  name: string;
10866
10862
  locale: string;
10867
10863
  }[];
10864
+ credential_issuer: string;
10865
+ credential_endpoint: string;
10866
+ revocation_endpoint: string;
10867
+ status_attestation_endpoint: string;
10868
10868
  credential_configurations_supported: Record<string, {
10869
10869
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
10870
+ scope: string;
10870
10871
  display: {
10871
10872
  name: string;
10872
10873
  locale: string;
10873
10874
  }[];
10874
- scope: string;
10875
10875
  claims: Record<string, {
10876
+ value_type: string;
10876
10877
  display: {
10877
10878
  name: string;
10878
10879
  locale: string;
10879
10880
  }[];
10880
- value_type: string;
10881
10881
  }>;
10882
10882
  cryptographic_binding_methods_supported: string[];
10883
10883
  credential_signing_alg_values_supported: string[];
10884
10884
  authentic_source?: string | undefined;
10885
10885
  issuance_errors_supported?: Record<string, {
10886
10886
  display: {
10887
- title: string;
10888
10887
  locale: string;
10888
+ title: string;
10889
10889
  description: string;
10890
10890
  }[];
10891
10891
  }> | undefined;
@@ -10917,35 +10917,35 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10917
10917
  x5u?: string | undefined;
10918
10918
  }[];
10919
10919
  };
10920
- credential_issuer: string;
10921
- credential_endpoint: string;
10922
- revocation_endpoint: string;
10923
- status_attestation_endpoint: string;
10924
10920
  display: {
10925
10921
  name: string;
10926
10922
  locale: string;
10927
10923
  }[];
10924
+ credential_issuer: string;
10925
+ credential_endpoint: string;
10926
+ revocation_endpoint: string;
10927
+ status_attestation_endpoint: string;
10928
10928
  credential_configurations_supported: Record<string, {
10929
10929
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
10930
+ scope: string;
10930
10931
  display: {
10931
10932
  name: string;
10932
10933
  locale: string;
10933
10934
  }[];
10934
- scope: string;
10935
10935
  claims: Record<string, {
10936
+ value_type: string;
10936
10937
  display: {
10937
10938
  name: string;
10938
10939
  locale: string;
10939
10940
  }[];
10940
- value_type: string;
10941
10941
  }>;
10942
10942
  cryptographic_binding_methods_supported: string[];
10943
10943
  credential_signing_alg_values_supported: string[];
10944
10944
  authentic_source?: string | undefined;
10945
10945
  issuance_errors_supported?: Record<string, {
10946
10946
  display: {
10947
- title: string;
10948
10947
  locale: string;
10948
+ title: string;
10949
10949
  description: string;
10950
10950
  }[];
10951
10951
  }> | undefined;
@@ -11088,6 +11088,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11088
11088
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
11089
11089
  request_object_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
11090
11090
  }, "strip", z.ZodTypeAny, {
11091
+ request_object_signing_alg_values_supported: string[];
11091
11092
  jwks: {
11092
11093
  keys: {
11093
11094
  kty: "RSA" | "EC";
@@ -11126,8 +11127,8 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11126
11127
  response_modes_supported: string[];
11127
11128
  token_endpoint_auth_methods_supported: string[];
11128
11129
  token_endpoint_auth_signing_alg_values_supported: string[];
11129
- request_object_signing_alg_values_supported: string[];
11130
11130
  }, {
11131
+ request_object_signing_alg_values_supported: string[];
11131
11132
  jwks: {
11132
11133
  keys: {
11133
11134
  kty: "RSA" | "EC";
@@ -11166,7 +11167,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11166
11167
  response_modes_supported: string[];
11167
11168
  token_endpoint_auth_methods_supported: string[];
11168
11169
  token_endpoint_auth_signing_alg_values_supported: string[];
11169
- request_object_signing_alg_values_supported: string[];
11170
11170
  }>;
11171
11171
  /**
11172
11172
  * Credential Issuers act as Relying Party when they require the presentation of other credentials.
@@ -11693,41 +11693,42 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11693
11693
  x5u?: string | undefined;
11694
11694
  }[];
11695
11695
  };
11696
- credential_issuer: string;
11697
- credential_endpoint: string;
11698
- revocation_endpoint: string;
11699
- status_attestation_endpoint: string;
11700
11696
  display: {
11701
11697
  name: string;
11702
11698
  locale: string;
11703
11699
  }[];
11700
+ credential_issuer: string;
11701
+ credential_endpoint: string;
11702
+ revocation_endpoint: string;
11703
+ status_attestation_endpoint: string;
11704
11704
  credential_configurations_supported: Record<string, {
11705
11705
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
11706
+ scope: string;
11706
11707
  display: {
11707
11708
  name: string;
11708
11709
  locale: string;
11709
11710
  }[];
11710
- scope: string;
11711
11711
  claims: Record<string, {
11712
+ value_type: string;
11712
11713
  display: {
11713
11714
  name: string;
11714
11715
  locale: string;
11715
11716
  }[];
11716
- value_type: string;
11717
11717
  }>;
11718
11718
  cryptographic_binding_methods_supported: string[];
11719
11719
  credential_signing_alg_values_supported: string[];
11720
11720
  authentic_source?: string | undefined;
11721
11721
  issuance_errors_supported?: Record<string, {
11722
11722
  display: {
11723
- title: string;
11724
11723
  locale: string;
11724
+ title: string;
11725
11725
  description: string;
11726
11726
  }[];
11727
11727
  }> | undefined;
11728
11728
  }>;
11729
11729
  };
11730
11730
  oauth_authorization_server: {
11731
+ request_object_signing_alg_values_supported: string[];
11731
11732
  jwks: {
11732
11733
  keys: {
11733
11734
  kty: "RSA" | "EC";
@@ -11766,7 +11767,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11766
11767
  response_modes_supported: string[];
11767
11768
  token_endpoint_auth_methods_supported: string[];
11768
11769
  token_endpoint_auth_signing_alg_values_supported: string[];
11769
- request_object_signing_alg_values_supported: string[];
11770
11770
  };
11771
11771
  openid_credential_verifier?: {
11772
11772
  jwks: {
@@ -11869,41 +11869,42 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11869
11869
  x5u?: string | undefined;
11870
11870
  }[];
11871
11871
  };
11872
- credential_issuer: string;
11873
- credential_endpoint: string;
11874
- revocation_endpoint: string;
11875
- status_attestation_endpoint: string;
11876
11872
  display: {
11877
11873
  name: string;
11878
11874
  locale: string;
11879
11875
  }[];
11876
+ credential_issuer: string;
11877
+ credential_endpoint: string;
11878
+ revocation_endpoint: string;
11879
+ status_attestation_endpoint: string;
11880
11880
  credential_configurations_supported: Record<string, {
11881
11881
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
11882
+ scope: string;
11882
11883
  display: {
11883
11884
  name: string;
11884
11885
  locale: string;
11885
11886
  }[];
11886
- scope: string;
11887
11887
  claims: Record<string, {
11888
+ value_type: string;
11888
11889
  display: {
11889
11890
  name: string;
11890
11891
  locale: string;
11891
11892
  }[];
11892
- value_type: string;
11893
11893
  }>;
11894
11894
  cryptographic_binding_methods_supported: string[];
11895
11895
  credential_signing_alg_values_supported: string[];
11896
11896
  authentic_source?: string | undefined;
11897
11897
  issuance_errors_supported?: Record<string, {
11898
11898
  display: {
11899
- title: string;
11900
11899
  locale: string;
11900
+ title: string;
11901
11901
  description: string;
11902
11902
  }[];
11903
11903
  }> | undefined;
11904
11904
  }>;
11905
11905
  };
11906
11906
  oauth_authorization_server: {
11907
+ request_object_signing_alg_values_supported: string[];
11907
11908
  jwks: {
11908
11909
  keys: {
11909
11910
  kty: "RSA" | "EC";
@@ -11942,7 +11943,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11942
11943
  response_modes_supported: string[];
11943
11944
  token_endpoint_auth_methods_supported: string[];
11944
11945
  token_endpoint_auth_signing_alg_values_supported: string[];
11945
- request_object_signing_alg_values_supported: string[];
11946
11946
  };
11947
11947
  openid_credential_verifier?: {
11948
11948
  jwks: {
@@ -12019,6 +12019,32 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12019
12019
  } | undefined;
12020
12020
  }>;
12021
12021
  }, "strip", z.ZodTypeAny, {
12022
+ jwks: {
12023
+ keys: {
12024
+ kty: "RSA" | "EC";
12025
+ alg?: string | undefined;
12026
+ crv?: string | undefined;
12027
+ d?: string | undefined;
12028
+ dp?: string | undefined;
12029
+ dq?: string | undefined;
12030
+ e?: string | undefined;
12031
+ ext?: boolean | undefined;
12032
+ k?: string | undefined;
12033
+ key_ops?: string[] | undefined;
12034
+ kid?: string | undefined;
12035
+ n?: string | undefined;
12036
+ p?: string | undefined;
12037
+ q?: string | undefined;
12038
+ qi?: string | undefined;
12039
+ use?: string | undefined;
12040
+ x?: string | undefined;
12041
+ y?: string | undefined;
12042
+ x5c?: string[] | undefined;
12043
+ x5t?: string | undefined;
12044
+ "x5t#S256"?: string | undefined;
12045
+ x5u?: string | undefined;
12046
+ }[];
12047
+ };
12022
12048
  metadata: {
12023
12049
  openid_credential_issuer: {
12024
12050
  jwks: {
@@ -12047,41 +12073,42 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12047
12073
  x5u?: string | undefined;
12048
12074
  }[];
12049
12075
  };
12050
- credential_issuer: string;
12051
- credential_endpoint: string;
12052
- revocation_endpoint: string;
12053
- status_attestation_endpoint: string;
12054
12076
  display: {
12055
12077
  name: string;
12056
12078
  locale: string;
12057
12079
  }[];
12080
+ credential_issuer: string;
12081
+ credential_endpoint: string;
12082
+ revocation_endpoint: string;
12083
+ status_attestation_endpoint: string;
12058
12084
  credential_configurations_supported: Record<string, {
12059
12085
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
12086
+ scope: string;
12060
12087
  display: {
12061
12088
  name: string;
12062
12089
  locale: string;
12063
12090
  }[];
12064
- scope: string;
12065
12091
  claims: Record<string, {
12092
+ value_type: string;
12066
12093
  display: {
12067
12094
  name: string;
12068
12095
  locale: string;
12069
12096
  }[];
12070
- value_type: string;
12071
12097
  }>;
12072
12098
  cryptographic_binding_methods_supported: string[];
12073
12099
  credential_signing_alg_values_supported: string[];
12074
12100
  authentic_source?: string | undefined;
12075
12101
  issuance_errors_supported?: Record<string, {
12076
12102
  display: {
12077
- title: string;
12078
12103
  locale: string;
12104
+ title: string;
12079
12105
  description: string;
12080
12106
  }[];
12081
12107
  }> | undefined;
12082
12108
  }>;
12083
12109
  };
12084
12110
  oauth_authorization_server: {
12111
+ request_object_signing_alg_values_supported: string[];
12085
12112
  jwks: {
12086
12113
  keys: {
12087
12114
  kty: "RSA" | "EC";
@@ -12120,7 +12147,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12120
12147
  response_modes_supported: string[];
12121
12148
  token_endpoint_auth_methods_supported: string[];
12122
12149
  token_endpoint_auth_signing_alg_values_supported: string[];
12123
- request_object_signing_alg_values_supported: string[];
12124
12150
  };
12125
12151
  openid_credential_verifier?: {
12126
12152
  jwks: {
@@ -12196,6 +12222,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12196
12222
  authorization_encrypted_response_enc?: string | undefined;
12197
12223
  } | undefined;
12198
12224
  };
12225
+ }, {
12199
12226
  jwks: {
12200
12227
  keys: {
12201
12228
  kty: "RSA" | "EC";
@@ -12222,7 +12249,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12222
12249
  x5u?: string | undefined;
12223
12250
  }[];
12224
12251
  };
12225
- }, {
12226
12252
  metadata: {
12227
12253
  openid_credential_issuer: {
12228
12254
  jwks: {
@@ -12251,41 +12277,42 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12251
12277
  x5u?: string | undefined;
12252
12278
  }[];
12253
12279
  };
12254
- credential_issuer: string;
12255
- credential_endpoint: string;
12256
- revocation_endpoint: string;
12257
- status_attestation_endpoint: string;
12258
12280
  display: {
12259
12281
  name: string;
12260
12282
  locale: string;
12261
12283
  }[];
12284
+ credential_issuer: string;
12285
+ credential_endpoint: string;
12286
+ revocation_endpoint: string;
12287
+ status_attestation_endpoint: string;
12262
12288
  credential_configurations_supported: Record<string, {
12263
12289
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
12290
+ scope: string;
12264
12291
  display: {
12265
12292
  name: string;
12266
12293
  locale: string;
12267
12294
  }[];
12268
- scope: string;
12269
12295
  claims: Record<string, {
12296
+ value_type: string;
12270
12297
  display: {
12271
12298
  name: string;
12272
12299
  locale: string;
12273
12300
  }[];
12274
- value_type: string;
12275
12301
  }>;
12276
12302
  cryptographic_binding_methods_supported: string[];
12277
12303
  credential_signing_alg_values_supported: string[];
12278
12304
  authentic_source?: string | undefined;
12279
12305
  issuance_errors_supported?: Record<string, {
12280
12306
  display: {
12281
- title: string;
12282
12307
  locale: string;
12308
+ title: string;
12283
12309
  description: string;
12284
12310
  }[];
12285
12311
  }> | undefined;
12286
12312
  }>;
12287
12313
  };
12288
12314
  oauth_authorization_server: {
12315
+ request_object_signing_alg_values_supported: string[];
12289
12316
  jwks: {
12290
12317
  keys: {
12291
12318
  kty: "RSA" | "EC";
@@ -12324,7 +12351,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12324
12351
  response_modes_supported: string[];
12325
12352
  token_endpoint_auth_methods_supported: string[];
12326
12353
  token_endpoint_auth_signing_alg_values_supported: string[];
12327
- request_object_signing_alg_values_supported: string[];
12328
12354
  };
12329
12355
  openid_credential_verifier?: {
12330
12356
  jwks: {
@@ -12400,6 +12426,9 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12400
12426
  authorization_encrypted_response_enc?: string | undefined;
12401
12427
  } | undefined;
12402
12428
  };
12429
+ }>;
12430
+ }, "strip", z.ZodTypeAny, {
12431
+ payload: {
12403
12432
  jwks: {
12404
12433
  keys: {
12405
12434
  kty: "RSA" | "EC";
@@ -12426,9 +12455,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12426
12455
  x5u?: string | undefined;
12427
12456
  }[];
12428
12457
  };
12429
- }>;
12430
- }, "strip", z.ZodTypeAny, {
12431
- payload: {
12432
12458
  metadata: {
12433
12459
  openid_credential_issuer: {
12434
12460
  jwks: {
@@ -12457,41 +12483,42 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12457
12483
  x5u?: string | undefined;
12458
12484
  }[];
12459
12485
  };
12460
- credential_issuer: string;
12461
- credential_endpoint: string;
12462
- revocation_endpoint: string;
12463
- status_attestation_endpoint: string;
12464
12486
  display: {
12465
12487
  name: string;
12466
12488
  locale: string;
12467
12489
  }[];
12490
+ credential_issuer: string;
12491
+ credential_endpoint: string;
12492
+ revocation_endpoint: string;
12493
+ status_attestation_endpoint: string;
12468
12494
  credential_configurations_supported: Record<string, {
12469
12495
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
12496
+ scope: string;
12470
12497
  display: {
12471
12498
  name: string;
12472
12499
  locale: string;
12473
12500
  }[];
12474
- scope: string;
12475
12501
  claims: Record<string, {
12502
+ value_type: string;
12476
12503
  display: {
12477
12504
  name: string;
12478
12505
  locale: string;
12479
12506
  }[];
12480
- value_type: string;
12481
12507
  }>;
12482
12508
  cryptographic_binding_methods_supported: string[];
12483
12509
  credential_signing_alg_values_supported: string[];
12484
12510
  authentic_source?: string | undefined;
12485
12511
  issuance_errors_supported?: Record<string, {
12486
12512
  display: {
12487
- title: string;
12488
12513
  locale: string;
12514
+ title: string;
12489
12515
  description: string;
12490
12516
  }[];
12491
12517
  }> | undefined;
12492
12518
  }>;
12493
12519
  };
12494
12520
  oauth_authorization_server: {
12521
+ request_object_signing_alg_values_supported: string[];
12495
12522
  jwks: {
12496
12523
  keys: {
12497
12524
  kty: "RSA" | "EC";
@@ -12530,7 +12557,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12530
12557
  response_modes_supported: string[];
12531
12558
  token_endpoint_auth_methods_supported: string[];
12532
12559
  token_endpoint_auth_signing_alg_values_supported: string[];
12533
- request_object_signing_alg_values_supported: string[];
12534
12560
  };
12535
12561
  openid_credential_verifier?: {
12536
12562
  jwks: {
@@ -12606,6 +12632,9 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12606
12632
  authorization_encrypted_response_enc?: string | undefined;
12607
12633
  } | undefined;
12608
12634
  };
12635
+ };
12636
+ }, {
12637
+ payload: {
12609
12638
  jwks: {
12610
12639
  keys: {
12611
12640
  kty: "RSA" | "EC";
@@ -12632,9 +12661,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12632
12661
  x5u?: string | undefined;
12633
12662
  }[];
12634
12663
  };
12635
- };
12636
- }, {
12637
- payload: {
12638
12664
  metadata: {
12639
12665
  openid_credential_issuer: {
12640
12666
  jwks: {
@@ -12663,41 +12689,42 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12663
12689
  x5u?: string | undefined;
12664
12690
  }[];
12665
12691
  };
12666
- credential_issuer: string;
12667
- credential_endpoint: string;
12668
- revocation_endpoint: string;
12669
- status_attestation_endpoint: string;
12670
12692
  display: {
12671
12693
  name: string;
12672
12694
  locale: string;
12673
12695
  }[];
12696
+ credential_issuer: string;
12697
+ credential_endpoint: string;
12698
+ revocation_endpoint: string;
12699
+ status_attestation_endpoint: string;
12674
12700
  credential_configurations_supported: Record<string, {
12675
12701
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
12702
+ scope: string;
12676
12703
  display: {
12677
12704
  name: string;
12678
12705
  locale: string;
12679
12706
  }[];
12680
- scope: string;
12681
12707
  claims: Record<string, {
12708
+ value_type: string;
12682
12709
  display: {
12683
12710
  name: string;
12684
12711
  locale: string;
12685
12712
  }[];
12686
- value_type: string;
12687
12713
  }>;
12688
12714
  cryptographic_binding_methods_supported: string[];
12689
12715
  credential_signing_alg_values_supported: string[];
12690
12716
  authentic_source?: string | undefined;
12691
12717
  issuance_errors_supported?: Record<string, {
12692
12718
  display: {
12693
- title: string;
12694
12719
  locale: string;
12720
+ title: string;
12695
12721
  description: string;
12696
12722
  }[];
12697
12723
  }> | undefined;
12698
12724
  }>;
12699
12725
  };
12700
12726
  oauth_authorization_server: {
12727
+ request_object_signing_alg_values_supported: string[];
12701
12728
  jwks: {
12702
12729
  keys: {
12703
12730
  kty: "RSA" | "EC";
@@ -12736,7 +12763,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12736
12763
  response_modes_supported: string[];
12737
12764
  token_endpoint_auth_methods_supported: string[];
12738
12765
  token_endpoint_auth_signing_alg_values_supported: string[];
12739
- request_object_signing_alg_values_supported: string[];
12740
12766
  };
12741
12767
  openid_credential_verifier?: {
12742
12768
  jwks: {
@@ -12812,32 +12838,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12812
12838
  authorization_encrypted_response_enc?: string | undefined;
12813
12839
  } | undefined;
12814
12840
  };
12815
- jwks: {
12816
- keys: {
12817
- kty: "RSA" | "EC";
12818
- alg?: string | undefined;
12819
- crv?: string | undefined;
12820
- d?: string | undefined;
12821
- dp?: string | undefined;
12822
- dq?: string | undefined;
12823
- e?: string | undefined;
12824
- ext?: boolean | undefined;
12825
- k?: string | undefined;
12826
- key_ops?: string[] | undefined;
12827
- kid?: string | undefined;
12828
- n?: string | undefined;
12829
- p?: string | undefined;
12830
- q?: string | undefined;
12831
- qi?: string | undefined;
12832
- use?: string | undefined;
12833
- x?: string | undefined;
12834
- y?: string | undefined;
12835
- x5c?: string[] | undefined;
12836
- x5t?: string | undefined;
12837
- "x5t#S256"?: string | undefined;
12838
- x5u?: string | undefined;
12839
- }[];
12840
- };
12841
12841
  };
12842
12842
  }>>, z.ZodObject<{
12843
12843
  header: z.ZodObject<{
@@ -13648,27 +13648,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13648
13648
  sub: string;
13649
13649
  iat: number;
13650
13650
  exp: number;
13651
- metadata: {
13652
- federation_entity: {
13653
- federation_fetch_endpoint?: string | undefined;
13654
- federation_list_endpoint?: string | undefined;
13655
- federation_resolve_endpoint?: string | undefined;
13656
- federation_trust_mark_status_endpoint?: string | undefined;
13657
- federation_trust_mark_list_endpoint?: string | undefined;
13658
- federation_trust_mark_endpoint?: string | undefined;
13659
- federation_historical_keys_endpoint?: string | undefined;
13660
- endpoint_auth_signing_alg_values_supported?: string | undefined;
13661
- organization_name?: string | undefined;
13662
- homepage_uri?: string | undefined;
13663
- policy_uri?: string | undefined;
13664
- logo_uri?: string | undefined;
13665
- contacts?: string[] | undefined;
13666
- } & {
13667
- [k: string]: unknown;
13668
- };
13669
- } & {
13670
- [k: string]: unknown;
13671
- };
13672
13651
  jwks: {
13673
13652
  keys: {
13674
13653
  kty: "RSA" | "EC";
@@ -13695,21 +13674,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13695
13674
  x5u?: string | undefined;
13696
13675
  }[];
13697
13676
  };
13698
- authority_hints?: string[] | undefined;
13699
- } & {
13700
- [k: string]: unknown;
13701
- };
13702
- }, {
13703
- header: {
13704
- alg: string;
13705
- kid: string;
13706
- typ: "entity-statement+jwt";
13707
- };
13708
- payload: {
13709
- iss: string;
13710
- sub: string;
13711
- iat: number;
13712
- exp: number;
13713
13677
  metadata: {
13714
13678
  federation_entity: {
13715
13679
  federation_fetch_endpoint?: string | undefined;
@@ -13731,6 +13695,21 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13731
13695
  } & {
13732
13696
  [k: string]: unknown;
13733
13697
  };
13698
+ authority_hints?: string[] | undefined;
13699
+ } & {
13700
+ [k: string]: unknown;
13701
+ };
13702
+ }, {
13703
+ header: {
13704
+ alg: string;
13705
+ kid: string;
13706
+ typ: "entity-statement+jwt";
13707
+ };
13708
+ payload: {
13709
+ iss: string;
13710
+ sub: string;
13711
+ iat: number;
13712
+ exp: number;
13734
13713
  jwks: {
13735
13714
  keys: {
13736
13715
  kty: "RSA" | "EC";
@@ -13757,6 +13736,27 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13757
13736
  x5u?: string | undefined;
13758
13737
  }[];
13759
13738
  };
13739
+ metadata: {
13740
+ federation_entity: {
13741
+ federation_fetch_endpoint?: string | undefined;
13742
+ federation_list_endpoint?: string | undefined;
13743
+ federation_resolve_endpoint?: string | undefined;
13744
+ federation_trust_mark_status_endpoint?: string | undefined;
13745
+ federation_trust_mark_list_endpoint?: string | undefined;
13746
+ federation_trust_mark_endpoint?: string | undefined;
13747
+ federation_historical_keys_endpoint?: string | undefined;
13748
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
13749
+ organization_name?: string | undefined;
13750
+ homepage_uri?: string | undefined;
13751
+ policy_uri?: string | undefined;
13752
+ logo_uri?: string | undefined;
13753
+ contacts?: string[] | undefined;
13754
+ } & {
13755
+ [k: string]: unknown;
13756
+ };
13757
+ } & {
13758
+ [k: string]: unknown;
13759
+ };
13760
13760
  authority_hints?: string[] | undefined;
13761
13761
  } & {
13762
13762
  [k: string]: unknown;
@@ -14570,27 +14570,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
14570
14570
  sub: string;
14571
14571
  iat: number;
14572
14572
  exp: number;
14573
- metadata: {
14574
- federation_entity: {
14575
- federation_fetch_endpoint?: string | undefined;
14576
- federation_list_endpoint?: string | undefined;
14577
- federation_resolve_endpoint?: string | undefined;
14578
- federation_trust_mark_status_endpoint?: string | undefined;
14579
- federation_trust_mark_list_endpoint?: string | undefined;
14580
- federation_trust_mark_endpoint?: string | undefined;
14581
- federation_historical_keys_endpoint?: string | undefined;
14582
- endpoint_auth_signing_alg_values_supported?: string | undefined;
14583
- organization_name?: string | undefined;
14584
- homepage_uri?: string | undefined;
14585
- policy_uri?: string | undefined;
14586
- logo_uri?: string | undefined;
14587
- contacts?: string[] | undefined;
14588
- } & {
14589
- [k: string]: unknown;
14590
- };
14591
- } & {
14592
- [k: string]: unknown;
14593
- };
14594
14573
  jwks: {
14595
14574
  keys: {
14596
14575
  kty: "RSA" | "EC";
@@ -14617,21 +14596,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
14617
14596
  x5u?: string | undefined;
14618
14597
  }[];
14619
14598
  };
14620
- authority_hints?: string[] | undefined;
14621
- } & {
14622
- [k: string]: unknown;
14623
- };
14624
- }, {
14625
- header: {
14626
- alg: string;
14627
- kid: string;
14628
- typ: "entity-statement+jwt";
14629
- };
14630
- payload: {
14631
- iss: string;
14632
- sub: string;
14633
- iat: number;
14634
- exp: number;
14635
14599
  metadata: {
14636
14600
  federation_entity: {
14637
14601
  federation_fetch_endpoint?: string | undefined;
@@ -14653,6 +14617,21 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
14653
14617
  } & {
14654
14618
  [k: string]: unknown;
14655
14619
  };
14620
+ authority_hints?: string[] | undefined;
14621
+ } & {
14622
+ [k: string]: unknown;
14623
+ };
14624
+ }, {
14625
+ header: {
14626
+ alg: string;
14627
+ kid: string;
14628
+ typ: "entity-statement+jwt";
14629
+ };
14630
+ payload: {
14631
+ iss: string;
14632
+ sub: string;
14633
+ iat: number;
14634
+ exp: number;
14656
14635
  jwks: {
14657
14636
  keys: {
14658
14637
  kty: "RSA" | "EC";
@@ -14679,6 +14658,27 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
14679
14658
  x5u?: string | undefined;
14680
14659
  }[];
14681
14660
  };
14661
+ metadata: {
14662
+ federation_entity: {
14663
+ federation_fetch_endpoint?: string | undefined;
14664
+ federation_list_endpoint?: string | undefined;
14665
+ federation_resolve_endpoint?: string | undefined;
14666
+ federation_trust_mark_status_endpoint?: string | undefined;
14667
+ federation_trust_mark_list_endpoint?: string | undefined;
14668
+ federation_trust_mark_endpoint?: string | undefined;
14669
+ federation_historical_keys_endpoint?: string | undefined;
14670
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
14671
+ organization_name?: string | undefined;
14672
+ homepage_uri?: string | undefined;
14673
+ policy_uri?: string | undefined;
14674
+ logo_uri?: string | undefined;
14675
+ contacts?: string[] | undefined;
14676
+ } & {
14677
+ [k: string]: unknown;
14678
+ };
14679
+ } & {
14680
+ [k: string]: unknown;
14681
+ };
14682
14682
  authority_hints?: string[] | undefined;
14683
14683
  } & {
14684
14684
  [k: string]: unknown;