@pagopa/io-react-native-wallet 0.4.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. package/README.md +98 -22
  2. package/lib/commonjs/index.js +12 -8
  3. package/lib/commonjs/index.js.map +1 -1
  4. package/lib/commonjs/pid/index.js +3 -8
  5. package/lib/commonjs/pid/index.js.map +1 -1
  6. package/lib/commonjs/pid/issuing.js +152 -169
  7. package/lib/commonjs/pid/issuing.js.map +1 -1
  8. package/lib/commonjs/pid/metadata.js +28 -25
  9. package/lib/commonjs/pid/metadata.js.map +1 -1
  10. package/lib/commonjs/rp/__test__/index.test.js +5 -3
  11. package/lib/commonjs/rp/__test__/index.test.js.map +1 -1
  12. package/lib/commonjs/rp/index.js +158 -154
  13. package/lib/commonjs/rp/index.js.map +1 -1
  14. package/lib/commonjs/trust/types.js +9 -7
  15. package/lib/commonjs/trust/types.js.map +1 -1
  16. package/lib/commonjs/utils/crypto.js +46 -0
  17. package/lib/commonjs/utils/crypto.js.map +1 -0
  18. package/lib/commonjs/utils/dpop.js +14 -7
  19. package/lib/commonjs/utils/dpop.js.map +1 -1
  20. package/lib/commonjs/wallet-instance-attestation/index.js +3 -3
  21. package/lib/commonjs/wallet-instance-attestation/issuing.js +50 -60
  22. package/lib/commonjs/wallet-instance-attestation/issuing.js.map +1 -1
  23. package/lib/module/index.js +4 -3
  24. package/lib/module/index.js.map +1 -1
  25. package/lib/module/pid/index.js +1 -1
  26. package/lib/module/pid/index.js.map +1 -1
  27. package/lib/module/pid/issuing.js +151 -172
  28. package/lib/module/pid/issuing.js.map +1 -1
  29. package/lib/module/pid/metadata.js +28 -25
  30. package/lib/module/pid/metadata.js.map +1 -1
  31. package/lib/module/rp/__test__/index.test.js +1 -1
  32. package/lib/module/rp/__test__/index.test.js.map +1 -1
  33. package/lib/module/rp/index.js +155 -153
  34. package/lib/module/rp/index.js.map +1 -1
  35. package/lib/module/trust/types.js +7 -6
  36. package/lib/module/trust/types.js.map +1 -1
  37. package/lib/module/utils/crypto.js +40 -0
  38. package/lib/module/utils/crypto.js.map +1 -0
  39. package/lib/module/utils/dpop.js +13 -5
  40. package/lib/module/utils/dpop.js.map +1 -1
  41. package/lib/module/wallet-instance-attestation/index.js +2 -2
  42. package/lib/module/wallet-instance-attestation/index.js.map +1 -1
  43. package/lib/module/wallet-instance-attestation/issuing.js +48 -58
  44. package/lib/module/wallet-instance-attestation/issuing.js.map +1 -1
  45. package/lib/typescript/index.d.ts +4 -3
  46. package/lib/typescript/index.d.ts.map +1 -1
  47. package/lib/typescript/pid/index.d.ts +1 -1
  48. package/lib/typescript/pid/index.d.ts.map +1 -1
  49. package/lib/typescript/pid/issuing.d.ts +51 -87
  50. package/lib/typescript/pid/issuing.d.ts.map +1 -1
  51. package/lib/typescript/pid/metadata.d.ts +1338 -408
  52. package/lib/typescript/pid/metadata.d.ts.map +1 -1
  53. package/lib/typescript/rp/index.d.ts +48 -86
  54. package/lib/typescript/rp/index.d.ts.map +1 -1
  55. package/lib/typescript/rp/types.d.ts +413 -57
  56. package/lib/typescript/rp/types.d.ts.map +1 -1
  57. package/lib/typescript/sd-jwt/index.d.ts +1 -1
  58. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  59. package/lib/typescript/trust/types.d.ts +1000 -274
  60. package/lib/typescript/trust/types.d.ts.map +1 -1
  61. package/lib/typescript/utils/crypto.d.ts +10 -0
  62. package/lib/typescript/utils/crypto.d.ts.map +1 -0
  63. package/lib/typescript/utils/dpop.d.ts +10 -2
  64. package/lib/typescript/utils/dpop.d.ts.map +1 -1
  65. package/lib/typescript/wallet-instance-attestation/index.d.ts +2 -2
  66. package/lib/typescript/wallet-instance-attestation/index.d.ts.map +1 -1
  67. package/lib/typescript/wallet-instance-attestation/issuing.d.ts +17 -31
  68. package/lib/typescript/wallet-instance-attestation/issuing.d.ts.map +1 -1
  69. package/package.json +2 -2
  70. package/src/index.ts +5 -3
  71. package/src/pid/index.ts +1 -1
  72. package/src/pid/issuing.ts +233 -226
  73. package/src/pid/metadata.ts +32 -27
  74. package/src/rp/__test__/index.test.ts +1 -1
  75. package/src/rp/index.ts +180 -188
  76. package/src/sd-jwt/index.ts +1 -1
  77. package/src/trust/types.ts +39 -32
  78. package/src/utils/crypto.ts +41 -0
  79. package/src/utils/dpop.ts +17 -7
  80. package/src/wallet-instance-attestation/index.ts +2 -2
  81. package/src/wallet-instance-attestation/issuing.ts +55 -62
@@ -35,448 +35,1378 @@ export declare const PidDisplayMetadata: z.ZodObject<{
35
35
  text_color: string;
36
36
  }>;
37
37
  export type PidIssuerEntityConfiguration = z.infer<typeof PidIssuerEntityConfiguration>;
38
- export declare const PidIssuerEntityConfiguration: z.ZodObject<{
39
- jwks: z.ZodObject<{
40
- keys: z.ZodArray<z.ZodObject<{
41
- alg: z.ZodOptional<z.ZodString>;
42
- crv: z.ZodOptional<z.ZodString>;
43
- d: z.ZodOptional<z.ZodString>;
44
- dp: z.ZodOptional<z.ZodString>;
45
- dq: z.ZodOptional<z.ZodString>;
46
- e: z.ZodOptional<z.ZodString>;
47
- ext: z.ZodOptional<z.ZodBoolean>;
48
- k: z.ZodOptional<z.ZodString>;
49
- key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50
- kid: z.ZodOptional<z.ZodString>;
51
- kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
52
- n: z.ZodOptional<z.ZodString>;
53
- p: z.ZodOptional<z.ZodString>;
54
- q: z.ZodOptional<z.ZodString>;
55
- qi: z.ZodOptional<z.ZodString>;
56
- use: z.ZodOptional<z.ZodString>;
57
- x: z.ZodOptional<z.ZodString>;
58
- y: z.ZodOptional<z.ZodString>;
59
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
60
- x5t: z.ZodOptional<z.ZodString>;
61
- "x5t#S256": z.ZodOptional<z.ZodString>;
62
- x5u: z.ZodOptional<z.ZodString>;
63
- }, "strip", z.ZodTypeAny, {
64
- kty: "RSA" | "EC";
65
- alg?: string | undefined;
66
- crv?: string | undefined;
67
- d?: string | undefined;
68
- dp?: string | undefined;
69
- dq?: string | undefined;
70
- e?: string | undefined;
71
- ext?: boolean | undefined;
72
- k?: string | undefined;
73
- key_ops?: string[] | undefined;
74
- kid?: string | undefined;
75
- n?: string | undefined;
76
- p?: string | undefined;
77
- q?: string | undefined;
78
- qi?: string | undefined;
79
- use?: string | undefined;
80
- x?: string | undefined;
81
- y?: string | undefined;
82
- x5c?: string[] | undefined;
83
- x5t?: string | undefined;
84
- "x5t#S256"?: string | undefined;
85
- x5u?: string | undefined;
86
- }, {
87
- kty: "RSA" | "EC";
88
- alg?: string | undefined;
89
- crv?: string | undefined;
90
- d?: string | undefined;
91
- dp?: string | undefined;
92
- dq?: string | undefined;
93
- e?: string | undefined;
94
- ext?: boolean | undefined;
95
- k?: string | undefined;
96
- key_ops?: string[] | undefined;
97
- kid?: string | undefined;
98
- n?: string | undefined;
99
- p?: string | undefined;
100
- q?: string | undefined;
101
- qi?: string | undefined;
102
- use?: string | undefined;
103
- x?: string | undefined;
104
- y?: string | undefined;
105
- x5c?: string[] | undefined;
106
- x5t?: string | undefined;
107
- "x5t#S256"?: string | undefined;
108
- x5u?: string | undefined;
109
- }>, "many">;
38
+ export declare const PidIssuerEntityConfiguration: z.ZodIntersection<z.ZodObject<{
39
+ header: z.ZodObject<{
40
+ typ: z.ZodLiteral<"entity-statement+jwt">;
41
+ alg: z.ZodString;
42
+ kid: z.ZodString;
110
43
  }, "strip", z.ZodTypeAny, {
111
- keys: {
112
- kty: "RSA" | "EC";
113
- alg?: string | undefined;
114
- crv?: string | undefined;
115
- d?: string | undefined;
116
- dp?: string | undefined;
117
- dq?: string | undefined;
118
- e?: string | undefined;
119
- ext?: boolean | undefined;
120
- k?: string | undefined;
121
- key_ops?: string[] | undefined;
122
- kid?: string | undefined;
123
- n?: string | undefined;
124
- p?: string | undefined;
125
- q?: string | undefined;
126
- qi?: string | undefined;
127
- use?: string | undefined;
128
- x?: string | undefined;
129
- y?: string | undefined;
130
- x5c?: string[] | undefined;
131
- x5t?: string | undefined;
132
- "x5t#S256"?: string | undefined;
133
- x5u?: string | undefined;
134
- }[];
44
+ alg: string;
45
+ kid: string;
46
+ typ: "entity-statement+jwt";
135
47
  }, {
136
- keys: {
137
- kty: "RSA" | "EC";
138
- alg?: string | undefined;
139
- crv?: string | undefined;
140
- d?: string | undefined;
141
- dp?: string | undefined;
142
- dq?: string | undefined;
143
- e?: string | undefined;
144
- ext?: boolean | undefined;
145
- k?: string | undefined;
146
- key_ops?: string[] | undefined;
147
- kid?: string | undefined;
148
- n?: string | undefined;
149
- p?: string | undefined;
150
- q?: string | undefined;
151
- qi?: string | undefined;
152
- use?: string | undefined;
153
- x?: string | undefined;
154
- y?: string | undefined;
155
- x5c?: string[] | undefined;
156
- x5t?: string | undefined;
157
- "x5t#S256"?: string | undefined;
158
- x5u?: string | undefined;
159
- }[];
48
+ alg: string;
49
+ kid: string;
50
+ typ: "entity-statement+jwt";
160
51
  }>;
161
- metadata: z.ZodObject<{
162
- openid_credential_issuer: z.ZodObject<{
163
- credential_issuer: z.ZodString;
164
- authorization_endpoint: z.ZodString;
165
- token_endpoint: z.ZodString;
166
- pushed_authorization_request_endpoint: z.ZodString;
167
- dpop_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
168
- credential_endpoint: z.ZodString;
169
- credentials_supported: z.ZodArray<z.ZodObject<{
170
- format: z.ZodLiteral<"vc+sd-jwt">;
171
- cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
172
- cryptographic_suites_supported: z.ZodArray<z.ZodString, "many">;
173
- display: z.ZodArray<z.ZodObject<{
174
- name: z.ZodString;
175
- locale: z.ZodString;
176
- logo: z.ZodObject<{
177
- url: z.ZodString;
178
- alt_text: z.ZodString;
52
+ payload: z.ZodObject<{
53
+ exp: z.ZodNumber;
54
+ iat: z.ZodNumber;
55
+ iss: z.ZodString;
56
+ sub: z.ZodString;
57
+ jwks: z.ZodObject<{
58
+ keys: z.ZodArray<z.ZodObject<{
59
+ alg: z.ZodOptional<z.ZodString>;
60
+ crv: z.ZodOptional<z.ZodString>;
61
+ d: z.ZodOptional<z.ZodString>;
62
+ dp: z.ZodOptional<z.ZodString>;
63
+ dq: z.ZodOptional<z.ZodString>;
64
+ e: z.ZodOptional<z.ZodString>;
65
+ ext: z.ZodOptional<z.ZodBoolean>;
66
+ k: z.ZodOptional<z.ZodString>;
67
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
+ kid: z.ZodOptional<z.ZodString>;
69
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
70
+ n: z.ZodOptional<z.ZodString>;
71
+ p: z.ZodOptional<z.ZodString>;
72
+ q: z.ZodOptional<z.ZodString>;
73
+ qi: z.ZodOptional<z.ZodString>;
74
+ use: z.ZodOptional<z.ZodString>;
75
+ x: z.ZodOptional<z.ZodString>;
76
+ y: z.ZodOptional<z.ZodString>;
77
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
78
+ x5t: z.ZodOptional<z.ZodString>;
79
+ "x5t#S256": z.ZodOptional<z.ZodString>;
80
+ x5u: z.ZodOptional<z.ZodString>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ kty: "RSA" | "EC";
83
+ alg?: string | undefined;
84
+ crv?: string | undefined;
85
+ d?: string | undefined;
86
+ dp?: string | undefined;
87
+ dq?: string | undefined;
88
+ e?: string | undefined;
89
+ ext?: boolean | undefined;
90
+ k?: string | undefined;
91
+ key_ops?: string[] | undefined;
92
+ kid?: string | undefined;
93
+ n?: string | undefined;
94
+ p?: string | undefined;
95
+ q?: string | undefined;
96
+ qi?: string | undefined;
97
+ use?: string | undefined;
98
+ x?: string | undefined;
99
+ y?: string | undefined;
100
+ x5c?: string[] | undefined;
101
+ x5t?: string | undefined;
102
+ "x5t#S256"?: string | undefined;
103
+ x5u?: string | undefined;
104
+ }, {
105
+ kty: "RSA" | "EC";
106
+ alg?: string | undefined;
107
+ crv?: string | undefined;
108
+ d?: string | undefined;
109
+ dp?: string | undefined;
110
+ dq?: string | undefined;
111
+ e?: string | undefined;
112
+ ext?: boolean | undefined;
113
+ k?: string | undefined;
114
+ key_ops?: string[] | undefined;
115
+ kid?: string | undefined;
116
+ n?: string | undefined;
117
+ p?: string | undefined;
118
+ q?: string | undefined;
119
+ qi?: string | undefined;
120
+ use?: string | undefined;
121
+ x?: string | undefined;
122
+ y?: string | undefined;
123
+ x5c?: string[] | undefined;
124
+ x5t?: string | undefined;
125
+ "x5t#S256"?: string | undefined;
126
+ x5u?: string | undefined;
127
+ }>, "many">;
128
+ }, "strip", z.ZodTypeAny, {
129
+ keys: {
130
+ kty: "RSA" | "EC";
131
+ alg?: string | undefined;
132
+ crv?: string | undefined;
133
+ d?: string | undefined;
134
+ dp?: string | undefined;
135
+ dq?: string | undefined;
136
+ e?: string | undefined;
137
+ ext?: boolean | undefined;
138
+ k?: string | undefined;
139
+ key_ops?: string[] | undefined;
140
+ kid?: string | undefined;
141
+ n?: string | undefined;
142
+ p?: string | undefined;
143
+ q?: string | undefined;
144
+ qi?: string | undefined;
145
+ use?: string | undefined;
146
+ x?: string | undefined;
147
+ y?: string | undefined;
148
+ x5c?: string[] | undefined;
149
+ x5t?: string | undefined;
150
+ "x5t#S256"?: string | undefined;
151
+ x5u?: string | undefined;
152
+ }[];
153
+ }, {
154
+ keys: {
155
+ kty: "RSA" | "EC";
156
+ alg?: string | undefined;
157
+ crv?: string | undefined;
158
+ d?: string | undefined;
159
+ dp?: string | undefined;
160
+ dq?: string | undefined;
161
+ e?: string | undefined;
162
+ ext?: boolean | undefined;
163
+ k?: string | undefined;
164
+ key_ops?: string[] | undefined;
165
+ kid?: string | undefined;
166
+ n?: string | undefined;
167
+ p?: string | undefined;
168
+ q?: string | undefined;
169
+ qi?: string | undefined;
170
+ use?: string | undefined;
171
+ x?: string | undefined;
172
+ y?: string | undefined;
173
+ x5c?: string[] | undefined;
174
+ x5t?: string | undefined;
175
+ "x5t#S256"?: string | undefined;
176
+ x5u?: string | undefined;
177
+ }[];
178
+ }>;
179
+ metadata: z.ZodObject<{
180
+ federation_entity: z.ZodObject<{
181
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
182
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
183
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
184
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
185
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
186
+ homepage_uri: z.ZodOptional<z.ZodString>;
187
+ policy_uri: z.ZodOptional<z.ZodString>;
188
+ logo_uri: z.ZodOptional<z.ZodString>;
189
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
190
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
191
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
192
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
193
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
194
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
195
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
196
+ homepage_uri: z.ZodOptional<z.ZodString>;
197
+ policy_uri: z.ZodOptional<z.ZodString>;
198
+ logo_uri: z.ZodOptional<z.ZodString>;
199
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
200
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
201
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
202
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
203
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
204
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
205
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
206
+ homepage_uri: z.ZodOptional<z.ZodString>;
207
+ policy_uri: z.ZodOptional<z.ZodString>;
208
+ logo_uri: z.ZodOptional<z.ZodString>;
209
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
210
+ }, z.ZodTypeAny, "passthrough">>;
211
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
212
+ federation_entity: z.ZodObject<{
213
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
214
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
215
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
216
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
217
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
218
+ homepage_uri: z.ZodOptional<z.ZodString>;
219
+ policy_uri: z.ZodOptional<z.ZodString>;
220
+ logo_uri: z.ZodOptional<z.ZodString>;
221
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
222
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
223
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
224
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
225
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
226
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
227
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
228
+ homepage_uri: z.ZodOptional<z.ZodString>;
229
+ policy_uri: z.ZodOptional<z.ZodString>;
230
+ logo_uri: z.ZodOptional<z.ZodString>;
231
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
232
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
233
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
234
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
235
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
236
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
237
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
238
+ homepage_uri: z.ZodOptional<z.ZodString>;
239
+ policy_uri: z.ZodOptional<z.ZodString>;
240
+ logo_uri: z.ZodOptional<z.ZodString>;
241
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
242
+ }, z.ZodTypeAny, "passthrough">>;
243
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
244
+ federation_entity: z.ZodObject<{
245
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
246
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
247
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
248
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
249
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
250
+ homepage_uri: z.ZodOptional<z.ZodString>;
251
+ policy_uri: z.ZodOptional<z.ZodString>;
252
+ logo_uri: z.ZodOptional<z.ZodString>;
253
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
254
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
255
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
256
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
257
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
258
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
259
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
260
+ homepage_uri: z.ZodOptional<z.ZodString>;
261
+ policy_uri: z.ZodOptional<z.ZodString>;
262
+ logo_uri: z.ZodOptional<z.ZodString>;
263
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
264
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
265
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
266
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
267
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
268
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
269
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
270
+ homepage_uri: z.ZodOptional<z.ZodString>;
271
+ policy_uri: z.ZodOptional<z.ZodString>;
272
+ logo_uri: z.ZodOptional<z.ZodString>;
273
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
274
+ }, z.ZodTypeAny, "passthrough">>;
275
+ }, z.ZodTypeAny, "passthrough">>;
276
+ authority_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
277
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
278
+ exp: z.ZodNumber;
279
+ iat: z.ZodNumber;
280
+ iss: z.ZodString;
281
+ sub: z.ZodString;
282
+ jwks: z.ZodObject<{
283
+ keys: z.ZodArray<z.ZodObject<{
284
+ alg: z.ZodOptional<z.ZodString>;
285
+ crv: z.ZodOptional<z.ZodString>;
286
+ d: z.ZodOptional<z.ZodString>;
287
+ dp: z.ZodOptional<z.ZodString>;
288
+ dq: z.ZodOptional<z.ZodString>;
289
+ e: z.ZodOptional<z.ZodString>;
290
+ ext: z.ZodOptional<z.ZodBoolean>;
291
+ k: z.ZodOptional<z.ZodString>;
292
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
293
+ kid: z.ZodOptional<z.ZodString>;
294
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
295
+ n: z.ZodOptional<z.ZodString>;
296
+ p: z.ZodOptional<z.ZodString>;
297
+ q: z.ZodOptional<z.ZodString>;
298
+ qi: z.ZodOptional<z.ZodString>;
299
+ use: z.ZodOptional<z.ZodString>;
300
+ x: z.ZodOptional<z.ZodString>;
301
+ y: z.ZodOptional<z.ZodString>;
302
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
303
+ x5t: z.ZodOptional<z.ZodString>;
304
+ "x5t#S256": z.ZodOptional<z.ZodString>;
305
+ x5u: z.ZodOptional<z.ZodString>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ kty: "RSA" | "EC";
308
+ alg?: string | undefined;
309
+ crv?: string | undefined;
310
+ d?: string | undefined;
311
+ dp?: string | undefined;
312
+ dq?: string | undefined;
313
+ e?: string | undefined;
314
+ ext?: boolean | undefined;
315
+ k?: string | undefined;
316
+ key_ops?: string[] | undefined;
317
+ kid?: string | undefined;
318
+ n?: string | undefined;
319
+ p?: string | undefined;
320
+ q?: string | undefined;
321
+ qi?: string | undefined;
322
+ use?: string | undefined;
323
+ x?: string | undefined;
324
+ y?: string | undefined;
325
+ x5c?: string[] | undefined;
326
+ x5t?: string | undefined;
327
+ "x5t#S256"?: string | undefined;
328
+ x5u?: string | undefined;
329
+ }, {
330
+ kty: "RSA" | "EC";
331
+ alg?: string | undefined;
332
+ crv?: string | undefined;
333
+ d?: string | undefined;
334
+ dp?: string | undefined;
335
+ dq?: string | undefined;
336
+ e?: string | undefined;
337
+ ext?: boolean | undefined;
338
+ k?: string | undefined;
339
+ key_ops?: string[] | undefined;
340
+ kid?: string | undefined;
341
+ n?: string | undefined;
342
+ p?: string | undefined;
343
+ q?: string | undefined;
344
+ qi?: string | undefined;
345
+ use?: string | undefined;
346
+ x?: string | undefined;
347
+ y?: string | undefined;
348
+ x5c?: string[] | undefined;
349
+ x5t?: string | undefined;
350
+ "x5t#S256"?: string | undefined;
351
+ x5u?: string | undefined;
352
+ }>, "many">;
353
+ }, "strip", z.ZodTypeAny, {
354
+ keys: {
355
+ kty: "RSA" | "EC";
356
+ alg?: string | undefined;
357
+ crv?: string | undefined;
358
+ d?: string | undefined;
359
+ dp?: string | undefined;
360
+ dq?: string | undefined;
361
+ e?: string | undefined;
362
+ ext?: boolean | undefined;
363
+ k?: string | undefined;
364
+ key_ops?: string[] | undefined;
365
+ kid?: string | undefined;
366
+ n?: string | undefined;
367
+ p?: string | undefined;
368
+ q?: string | undefined;
369
+ qi?: string | undefined;
370
+ use?: string | undefined;
371
+ x?: string | undefined;
372
+ y?: string | undefined;
373
+ x5c?: string[] | undefined;
374
+ x5t?: string | undefined;
375
+ "x5t#S256"?: string | undefined;
376
+ x5u?: string | undefined;
377
+ }[];
378
+ }, {
379
+ keys: {
380
+ kty: "RSA" | "EC";
381
+ alg?: string | undefined;
382
+ crv?: string | undefined;
383
+ d?: string | undefined;
384
+ dp?: string | undefined;
385
+ dq?: string | undefined;
386
+ e?: string | undefined;
387
+ ext?: boolean | undefined;
388
+ k?: string | undefined;
389
+ key_ops?: string[] | undefined;
390
+ kid?: string | undefined;
391
+ n?: string | undefined;
392
+ p?: string | undefined;
393
+ q?: string | undefined;
394
+ qi?: string | undefined;
395
+ use?: string | undefined;
396
+ x?: string | undefined;
397
+ y?: string | undefined;
398
+ x5c?: string[] | undefined;
399
+ x5t?: string | undefined;
400
+ "x5t#S256"?: string | undefined;
401
+ x5u?: string | undefined;
402
+ }[];
403
+ }>;
404
+ metadata: z.ZodObject<{
405
+ federation_entity: z.ZodObject<{
406
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
407
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
408
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
409
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
410
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
411
+ homepage_uri: z.ZodOptional<z.ZodString>;
412
+ policy_uri: z.ZodOptional<z.ZodString>;
413
+ logo_uri: z.ZodOptional<z.ZodString>;
414
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
415
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
416
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
417
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
418
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
419
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
420
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
421
+ homepage_uri: z.ZodOptional<z.ZodString>;
422
+ policy_uri: z.ZodOptional<z.ZodString>;
423
+ logo_uri: z.ZodOptional<z.ZodString>;
424
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
425
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
426
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
427
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
428
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
429
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
430
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
431
+ homepage_uri: z.ZodOptional<z.ZodString>;
432
+ policy_uri: z.ZodOptional<z.ZodString>;
433
+ logo_uri: z.ZodOptional<z.ZodString>;
434
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
435
+ }, z.ZodTypeAny, "passthrough">>;
436
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
437
+ federation_entity: z.ZodObject<{
438
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
439
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
440
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
441
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
442
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
443
+ homepage_uri: z.ZodOptional<z.ZodString>;
444
+ policy_uri: z.ZodOptional<z.ZodString>;
445
+ logo_uri: z.ZodOptional<z.ZodString>;
446
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
447
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
448
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
449
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
450
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
451
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
452
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
453
+ homepage_uri: z.ZodOptional<z.ZodString>;
454
+ policy_uri: z.ZodOptional<z.ZodString>;
455
+ logo_uri: z.ZodOptional<z.ZodString>;
456
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
457
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
458
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
459
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
460
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
461
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
462
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
463
+ homepage_uri: z.ZodOptional<z.ZodString>;
464
+ policy_uri: z.ZodOptional<z.ZodString>;
465
+ logo_uri: z.ZodOptional<z.ZodString>;
466
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
467
+ }, z.ZodTypeAny, "passthrough">>;
468
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
469
+ federation_entity: z.ZodObject<{
470
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
471
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
472
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
473
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
474
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
475
+ homepage_uri: z.ZodOptional<z.ZodString>;
476
+ policy_uri: z.ZodOptional<z.ZodString>;
477
+ logo_uri: z.ZodOptional<z.ZodString>;
478
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
479
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
480
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
481
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
482
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
483
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
484
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
485
+ homepage_uri: z.ZodOptional<z.ZodString>;
486
+ policy_uri: z.ZodOptional<z.ZodString>;
487
+ logo_uri: z.ZodOptional<z.ZodString>;
488
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
489
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
490
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
491
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
492
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
493
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
494
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
495
+ homepage_uri: z.ZodOptional<z.ZodString>;
496
+ policy_uri: z.ZodOptional<z.ZodString>;
497
+ logo_uri: z.ZodOptional<z.ZodString>;
498
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
499
+ }, z.ZodTypeAny, "passthrough">>;
500
+ }, z.ZodTypeAny, "passthrough">>;
501
+ authority_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
502
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
503
+ exp: z.ZodNumber;
504
+ iat: z.ZodNumber;
505
+ iss: z.ZodString;
506
+ sub: z.ZodString;
507
+ jwks: z.ZodObject<{
508
+ keys: z.ZodArray<z.ZodObject<{
509
+ alg: z.ZodOptional<z.ZodString>;
510
+ crv: z.ZodOptional<z.ZodString>;
511
+ d: z.ZodOptional<z.ZodString>;
512
+ dp: z.ZodOptional<z.ZodString>;
513
+ dq: z.ZodOptional<z.ZodString>;
514
+ e: z.ZodOptional<z.ZodString>;
515
+ ext: z.ZodOptional<z.ZodBoolean>;
516
+ k: z.ZodOptional<z.ZodString>;
517
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
518
+ kid: z.ZodOptional<z.ZodString>;
519
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
520
+ n: z.ZodOptional<z.ZodString>;
521
+ p: z.ZodOptional<z.ZodString>;
522
+ q: z.ZodOptional<z.ZodString>;
523
+ qi: z.ZodOptional<z.ZodString>;
524
+ use: z.ZodOptional<z.ZodString>;
525
+ x: z.ZodOptional<z.ZodString>;
526
+ y: z.ZodOptional<z.ZodString>;
527
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
528
+ x5t: z.ZodOptional<z.ZodString>;
529
+ "x5t#S256": z.ZodOptional<z.ZodString>;
530
+ x5u: z.ZodOptional<z.ZodString>;
531
+ }, "strip", z.ZodTypeAny, {
532
+ kty: "RSA" | "EC";
533
+ alg?: string | undefined;
534
+ crv?: string | undefined;
535
+ d?: string | undefined;
536
+ dp?: string | undefined;
537
+ dq?: string | undefined;
538
+ e?: string | undefined;
539
+ ext?: boolean | undefined;
540
+ k?: string | undefined;
541
+ key_ops?: string[] | undefined;
542
+ kid?: string | undefined;
543
+ n?: string | undefined;
544
+ p?: string | undefined;
545
+ q?: string | undefined;
546
+ qi?: string | undefined;
547
+ use?: string | undefined;
548
+ x?: string | undefined;
549
+ y?: string | undefined;
550
+ x5c?: string[] | undefined;
551
+ x5t?: string | undefined;
552
+ "x5t#S256"?: string | undefined;
553
+ x5u?: string | undefined;
554
+ }, {
555
+ kty: "RSA" | "EC";
556
+ alg?: string | undefined;
557
+ crv?: string | undefined;
558
+ d?: string | undefined;
559
+ dp?: string | undefined;
560
+ dq?: string | undefined;
561
+ e?: string | undefined;
562
+ ext?: boolean | undefined;
563
+ k?: string | undefined;
564
+ key_ops?: string[] | undefined;
565
+ kid?: string | undefined;
566
+ n?: string | undefined;
567
+ p?: string | undefined;
568
+ q?: string | undefined;
569
+ qi?: string | undefined;
570
+ use?: string | undefined;
571
+ x?: string | undefined;
572
+ y?: string | undefined;
573
+ x5c?: string[] | undefined;
574
+ x5t?: string | undefined;
575
+ "x5t#S256"?: string | undefined;
576
+ x5u?: string | undefined;
577
+ }>, "many">;
578
+ }, "strip", z.ZodTypeAny, {
579
+ keys: {
580
+ kty: "RSA" | "EC";
581
+ alg?: string | undefined;
582
+ crv?: string | undefined;
583
+ d?: string | undefined;
584
+ dp?: string | undefined;
585
+ dq?: string | undefined;
586
+ e?: string | undefined;
587
+ ext?: boolean | undefined;
588
+ k?: string | undefined;
589
+ key_ops?: string[] | undefined;
590
+ kid?: string | undefined;
591
+ n?: string | undefined;
592
+ p?: string | undefined;
593
+ q?: string | undefined;
594
+ qi?: string | undefined;
595
+ use?: string | undefined;
596
+ x?: string | undefined;
597
+ y?: string | undefined;
598
+ x5c?: string[] | undefined;
599
+ x5t?: string | undefined;
600
+ "x5t#S256"?: string | undefined;
601
+ x5u?: string | undefined;
602
+ }[];
603
+ }, {
604
+ keys: {
605
+ kty: "RSA" | "EC";
606
+ alg?: string | undefined;
607
+ crv?: string | undefined;
608
+ d?: string | undefined;
609
+ dp?: string | undefined;
610
+ dq?: string | undefined;
611
+ e?: string | undefined;
612
+ ext?: boolean | undefined;
613
+ k?: string | undefined;
614
+ key_ops?: string[] | undefined;
615
+ kid?: string | undefined;
616
+ n?: string | undefined;
617
+ p?: string | undefined;
618
+ q?: string | undefined;
619
+ qi?: string | undefined;
620
+ use?: string | undefined;
621
+ x?: string | undefined;
622
+ y?: string | undefined;
623
+ x5c?: string[] | undefined;
624
+ x5t?: string | undefined;
625
+ "x5t#S256"?: string | undefined;
626
+ x5u?: string | undefined;
627
+ }[];
628
+ }>;
629
+ metadata: z.ZodObject<{
630
+ federation_entity: z.ZodObject<{
631
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
632
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
633
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
634
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
635
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
636
+ homepage_uri: z.ZodOptional<z.ZodString>;
637
+ policy_uri: z.ZodOptional<z.ZodString>;
638
+ logo_uri: z.ZodOptional<z.ZodString>;
639
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
640
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
641
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
642
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
643
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
644
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
645
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
646
+ homepage_uri: z.ZodOptional<z.ZodString>;
647
+ policy_uri: z.ZodOptional<z.ZodString>;
648
+ logo_uri: z.ZodOptional<z.ZodString>;
649
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
650
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
651
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
652
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
653
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
654
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
655
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
656
+ homepage_uri: z.ZodOptional<z.ZodString>;
657
+ policy_uri: z.ZodOptional<z.ZodString>;
658
+ logo_uri: z.ZodOptional<z.ZodString>;
659
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
660
+ }, z.ZodTypeAny, "passthrough">>;
661
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
662
+ federation_entity: z.ZodObject<{
663
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
664
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
665
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
666
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
667
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
668
+ homepage_uri: z.ZodOptional<z.ZodString>;
669
+ policy_uri: z.ZodOptional<z.ZodString>;
670
+ logo_uri: z.ZodOptional<z.ZodString>;
671
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
672
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
673
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
674
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
675
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
676
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
677
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
678
+ homepage_uri: z.ZodOptional<z.ZodString>;
679
+ policy_uri: z.ZodOptional<z.ZodString>;
680
+ logo_uri: z.ZodOptional<z.ZodString>;
681
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
682
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
683
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
684
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
685
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
686
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
687
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
688
+ homepage_uri: z.ZodOptional<z.ZodString>;
689
+ policy_uri: z.ZodOptional<z.ZodString>;
690
+ logo_uri: z.ZodOptional<z.ZodString>;
691
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
692
+ }, z.ZodTypeAny, "passthrough">>;
693
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
694
+ federation_entity: z.ZodObject<{
695
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
696
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
697
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
698
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
699
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
700
+ homepage_uri: z.ZodOptional<z.ZodString>;
701
+ policy_uri: z.ZodOptional<z.ZodString>;
702
+ logo_uri: z.ZodOptional<z.ZodString>;
703
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
704
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
705
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
706
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
707
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
708
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
709
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
710
+ homepage_uri: z.ZodOptional<z.ZodString>;
711
+ policy_uri: z.ZodOptional<z.ZodString>;
712
+ logo_uri: z.ZodOptional<z.ZodString>;
713
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
714
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
715
+ federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
716
+ federation_list_endpoint: z.ZodOptional<z.ZodString>;
717
+ federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
718
+ federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
719
+ federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
720
+ homepage_uri: z.ZodOptional<z.ZodString>;
721
+ policy_uri: z.ZodOptional<z.ZodString>;
722
+ logo_uri: z.ZodOptional<z.ZodString>;
723
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
724
+ }, z.ZodTypeAny, "passthrough">>;
725
+ }, z.ZodTypeAny, "passthrough">>;
726
+ authority_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
727
+ }, z.ZodTypeAny, "passthrough">>;
728
+ }, "strip", z.ZodTypeAny, {
729
+ header: {
730
+ alg: string;
731
+ kid: string;
732
+ typ: "entity-statement+jwt";
733
+ };
734
+ payload: {
735
+ iss: string;
736
+ sub: string;
737
+ iat: number;
738
+ exp: number;
739
+ jwks: {
740
+ keys: {
741
+ kty: "RSA" | "EC";
742
+ alg?: string | undefined;
743
+ crv?: string | undefined;
744
+ d?: string | undefined;
745
+ dp?: string | undefined;
746
+ dq?: string | undefined;
747
+ e?: string | undefined;
748
+ ext?: boolean | undefined;
749
+ k?: string | undefined;
750
+ key_ops?: string[] | undefined;
751
+ kid?: string | undefined;
752
+ n?: string | undefined;
753
+ p?: string | undefined;
754
+ q?: string | undefined;
755
+ qi?: string | undefined;
756
+ use?: string | undefined;
757
+ x?: string | undefined;
758
+ y?: string | undefined;
759
+ x5c?: string[] | undefined;
760
+ x5t?: string | undefined;
761
+ "x5t#S256"?: string | undefined;
762
+ x5u?: string | undefined;
763
+ }[];
764
+ };
765
+ metadata: {
766
+ federation_entity: {
767
+ federation_fetch_endpoint?: string | undefined;
768
+ federation_list_endpoint?: string | undefined;
769
+ federation_resolve_endpoint?: string | undefined;
770
+ federation_trust_mark_status_endpoint?: string | undefined;
771
+ federation_trust_mark_list_endpoint?: string | undefined;
772
+ homepage_uri?: string | undefined;
773
+ policy_uri?: string | undefined;
774
+ logo_uri?: string | undefined;
775
+ contacts?: string[] | undefined;
776
+ } & {
777
+ [k: string]: unknown;
778
+ };
779
+ } & {
780
+ [k: string]: unknown;
781
+ };
782
+ authority_hints?: string[] | undefined;
783
+ } & {
784
+ [k: string]: unknown;
785
+ };
786
+ }, {
787
+ header: {
788
+ alg: string;
789
+ kid: string;
790
+ typ: "entity-statement+jwt";
791
+ };
792
+ payload: {
793
+ iss: string;
794
+ sub: string;
795
+ iat: number;
796
+ exp: number;
797
+ jwks: {
798
+ keys: {
799
+ kty: "RSA" | "EC";
800
+ alg?: string | undefined;
801
+ crv?: string | undefined;
802
+ d?: string | undefined;
803
+ dp?: string | undefined;
804
+ dq?: string | undefined;
805
+ e?: string | undefined;
806
+ ext?: boolean | undefined;
807
+ k?: string | undefined;
808
+ key_ops?: string[] | undefined;
809
+ kid?: string | undefined;
810
+ n?: string | undefined;
811
+ p?: string | undefined;
812
+ q?: string | undefined;
813
+ qi?: string | undefined;
814
+ use?: string | undefined;
815
+ x?: string | undefined;
816
+ y?: string | undefined;
817
+ x5c?: string[] | undefined;
818
+ x5t?: string | undefined;
819
+ "x5t#S256"?: string | undefined;
820
+ x5u?: string | undefined;
821
+ }[];
822
+ };
823
+ metadata: {
824
+ federation_entity: {
825
+ federation_fetch_endpoint?: string | undefined;
826
+ federation_list_endpoint?: string | undefined;
827
+ federation_resolve_endpoint?: string | undefined;
828
+ federation_trust_mark_status_endpoint?: string | undefined;
829
+ federation_trust_mark_list_endpoint?: string | undefined;
830
+ homepage_uri?: string | undefined;
831
+ policy_uri?: string | undefined;
832
+ logo_uri?: string | undefined;
833
+ contacts?: string[] | undefined;
834
+ } & {
835
+ [k: string]: unknown;
836
+ };
837
+ } & {
838
+ [k: string]: unknown;
839
+ };
840
+ authority_hints?: string[] | undefined;
841
+ } & {
842
+ [k: string]: unknown;
843
+ };
844
+ }>, z.ZodObject<{
845
+ payload: z.ZodObject<{
846
+ jwks: z.ZodObject<{
847
+ keys: z.ZodArray<z.ZodObject<{
848
+ alg: z.ZodOptional<z.ZodString>;
849
+ crv: z.ZodOptional<z.ZodString>;
850
+ d: z.ZodOptional<z.ZodString>;
851
+ dp: z.ZodOptional<z.ZodString>;
852
+ dq: z.ZodOptional<z.ZodString>;
853
+ e: z.ZodOptional<z.ZodString>;
854
+ ext: z.ZodOptional<z.ZodBoolean>;
855
+ k: z.ZodOptional<z.ZodString>;
856
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
857
+ kid: z.ZodOptional<z.ZodString>;
858
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
859
+ n: z.ZodOptional<z.ZodString>;
860
+ p: z.ZodOptional<z.ZodString>;
861
+ q: z.ZodOptional<z.ZodString>;
862
+ qi: z.ZodOptional<z.ZodString>;
863
+ use: z.ZodOptional<z.ZodString>;
864
+ x: z.ZodOptional<z.ZodString>;
865
+ y: z.ZodOptional<z.ZodString>;
866
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
867
+ x5t: z.ZodOptional<z.ZodString>;
868
+ "x5t#S256": z.ZodOptional<z.ZodString>;
869
+ x5u: z.ZodOptional<z.ZodString>;
870
+ }, "strip", z.ZodTypeAny, {
871
+ kty: "RSA" | "EC";
872
+ alg?: string | undefined;
873
+ crv?: string | undefined;
874
+ d?: string | undefined;
875
+ dp?: string | undefined;
876
+ dq?: string | undefined;
877
+ e?: string | undefined;
878
+ ext?: boolean | undefined;
879
+ k?: string | undefined;
880
+ key_ops?: string[] | undefined;
881
+ kid?: string | undefined;
882
+ n?: string | undefined;
883
+ p?: string | undefined;
884
+ q?: string | undefined;
885
+ qi?: string | undefined;
886
+ use?: string | undefined;
887
+ x?: string | undefined;
888
+ y?: string | undefined;
889
+ x5c?: string[] | undefined;
890
+ x5t?: string | undefined;
891
+ "x5t#S256"?: string | undefined;
892
+ x5u?: string | undefined;
893
+ }, {
894
+ kty: "RSA" | "EC";
895
+ alg?: string | undefined;
896
+ crv?: string | undefined;
897
+ d?: string | undefined;
898
+ dp?: string | undefined;
899
+ dq?: string | undefined;
900
+ e?: string | undefined;
901
+ ext?: boolean | undefined;
902
+ k?: string | undefined;
903
+ key_ops?: string[] | undefined;
904
+ kid?: string | undefined;
905
+ n?: string | undefined;
906
+ p?: string | undefined;
907
+ q?: string | undefined;
908
+ qi?: string | undefined;
909
+ use?: string | undefined;
910
+ x?: string | undefined;
911
+ y?: string | undefined;
912
+ x5c?: string[] | undefined;
913
+ x5t?: string | undefined;
914
+ "x5t#S256"?: string | undefined;
915
+ x5u?: string | undefined;
916
+ }>, "many">;
917
+ }, "strip", z.ZodTypeAny, {
918
+ keys: {
919
+ kty: "RSA" | "EC";
920
+ alg?: string | undefined;
921
+ crv?: string | undefined;
922
+ d?: string | undefined;
923
+ dp?: string | undefined;
924
+ dq?: string | undefined;
925
+ e?: string | undefined;
926
+ ext?: boolean | undefined;
927
+ k?: string | undefined;
928
+ key_ops?: string[] | undefined;
929
+ kid?: string | undefined;
930
+ n?: string | undefined;
931
+ p?: string | undefined;
932
+ q?: string | undefined;
933
+ qi?: string | undefined;
934
+ use?: string | undefined;
935
+ x?: string | undefined;
936
+ y?: string | undefined;
937
+ x5c?: string[] | undefined;
938
+ x5t?: string | undefined;
939
+ "x5t#S256"?: string | undefined;
940
+ x5u?: string | undefined;
941
+ }[];
942
+ }, {
943
+ keys: {
944
+ kty: "RSA" | "EC";
945
+ alg?: string | undefined;
946
+ crv?: string | undefined;
947
+ d?: string | undefined;
948
+ dp?: string | undefined;
949
+ dq?: string | undefined;
950
+ e?: string | undefined;
951
+ ext?: boolean | undefined;
952
+ k?: string | undefined;
953
+ key_ops?: string[] | undefined;
954
+ kid?: string | undefined;
955
+ n?: string | undefined;
956
+ p?: string | undefined;
957
+ q?: string | undefined;
958
+ qi?: string | undefined;
959
+ use?: string | undefined;
960
+ x?: string | undefined;
961
+ y?: string | undefined;
962
+ x5c?: string[] | undefined;
963
+ x5t?: string | undefined;
964
+ "x5t#S256"?: string | undefined;
965
+ x5u?: string | undefined;
966
+ }[];
967
+ }>;
968
+ metadata: z.ZodObject<{
969
+ openid_credential_issuer: z.ZodObject<{
970
+ credential_issuer: z.ZodString;
971
+ authorization_endpoint: z.ZodString;
972
+ token_endpoint: z.ZodString;
973
+ pushed_authorization_request_endpoint: z.ZodString;
974
+ dpop_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
975
+ credential_endpoint: z.ZodString;
976
+ credentials_supported: z.ZodArray<z.ZodObject<{
977
+ format: z.ZodLiteral<"vc+sd-jwt">;
978
+ cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
979
+ cryptographic_suites_supported: z.ZodArray<z.ZodString, "many">;
980
+ display: z.ZodArray<z.ZodObject<{
981
+ name: z.ZodString;
982
+ locale: z.ZodString;
983
+ logo: z.ZodObject<{
984
+ url: z.ZodString;
985
+ alt_text: z.ZodString;
986
+ }, "strip", z.ZodTypeAny, {
987
+ url: string;
988
+ alt_text: string;
989
+ }, {
990
+ url: string;
991
+ alt_text: string;
992
+ }>;
993
+ background_color: z.ZodString;
994
+ text_color: z.ZodString;
179
995
  }, "strip", z.ZodTypeAny, {
180
- url: string;
181
- alt_text: string;
996
+ name: string;
997
+ locale: string;
998
+ logo: {
999
+ url: string;
1000
+ alt_text: string;
1001
+ };
1002
+ background_color: string;
1003
+ text_color: string;
182
1004
  }, {
183
- url: string;
184
- alt_text: string;
185
- }>;
186
- background_color: z.ZodString;
187
- text_color: z.ZodString;
1005
+ name: string;
1006
+ locale: string;
1007
+ logo: {
1008
+ url: string;
1009
+ alt_text: string;
1010
+ };
1011
+ background_color: string;
1012
+ text_color: string;
1013
+ }>, "many">;
188
1014
  }, "strip", z.ZodTypeAny, {
189
- name: string;
190
- locale: string;
191
- logo: {
192
- url: string;
193
- alt_text: string;
194
- };
195
- background_color: string;
196
- text_color: string;
1015
+ format: "vc+sd-jwt";
1016
+ cryptographic_binding_methods_supported: string[];
1017
+ cryptographic_suites_supported: string[];
1018
+ display: {
1019
+ name: string;
1020
+ locale: string;
1021
+ logo: {
1022
+ url: string;
1023
+ alt_text: string;
1024
+ };
1025
+ background_color: string;
1026
+ text_color: string;
1027
+ }[];
197
1028
  }, {
198
- name: string;
199
- locale: string;
200
- logo: {
201
- url: string;
202
- alt_text: string;
203
- };
204
- background_color: string;
205
- text_color: string;
1029
+ format: "vc+sd-jwt";
1030
+ cryptographic_binding_methods_supported: string[];
1031
+ cryptographic_suites_supported: string[];
1032
+ display: {
1033
+ name: string;
1034
+ locale: string;
1035
+ logo: {
1036
+ url: string;
1037
+ alt_text: string;
1038
+ };
1039
+ background_color: string;
1040
+ text_color: string;
1041
+ }[];
206
1042
  }>, "many">;
207
1043
  }, "strip", z.ZodTypeAny, {
208
- format: "vc+sd-jwt";
209
- cryptographic_binding_methods_supported: string[];
210
- cryptographic_suites_supported: string[];
211
- display: {
212
- name: string;
213
- locale: string;
214
- logo: {
215
- url: string;
216
- alt_text: string;
217
- };
218
- background_color: string;
219
- text_color: string;
1044
+ credential_issuer: string;
1045
+ authorization_endpoint: string;
1046
+ token_endpoint: string;
1047
+ pushed_authorization_request_endpoint: string;
1048
+ dpop_signing_alg_values_supported: string[];
1049
+ credential_endpoint: string;
1050
+ credentials_supported: {
1051
+ format: "vc+sd-jwt";
1052
+ cryptographic_binding_methods_supported: string[];
1053
+ cryptographic_suites_supported: string[];
1054
+ display: {
1055
+ name: string;
1056
+ locale: string;
1057
+ logo: {
1058
+ url: string;
1059
+ alt_text: string;
1060
+ };
1061
+ background_color: string;
1062
+ text_color: string;
1063
+ }[];
220
1064
  }[];
221
1065
  }, {
222
- format: "vc+sd-jwt";
223
- cryptographic_binding_methods_supported: string[];
224
- cryptographic_suites_supported: string[];
225
- display: {
226
- name: string;
227
- locale: string;
228
- logo: {
229
- url: string;
230
- alt_text: string;
231
- };
232
- background_color: string;
233
- text_color: string;
1066
+ credential_issuer: string;
1067
+ authorization_endpoint: string;
1068
+ token_endpoint: string;
1069
+ pushed_authorization_request_endpoint: string;
1070
+ dpop_signing_alg_values_supported: string[];
1071
+ credential_endpoint: string;
1072
+ credentials_supported: {
1073
+ format: "vc+sd-jwt";
1074
+ cryptographic_binding_methods_supported: string[];
1075
+ cryptographic_suites_supported: string[];
1076
+ display: {
1077
+ name: string;
1078
+ locale: string;
1079
+ logo: {
1080
+ url: string;
1081
+ alt_text: string;
1082
+ };
1083
+ background_color: string;
1084
+ text_color: string;
1085
+ }[];
234
1086
  }[];
235
- }>, "many">;
1087
+ }>;
1088
+ federation_entity: z.ZodObject<{
1089
+ organization_name: z.ZodString;
1090
+ homepage_uri: z.ZodString;
1091
+ policy_uri: z.ZodString;
1092
+ tos_uri: z.ZodString;
1093
+ logo_uri: z.ZodString;
1094
+ }, "strip", z.ZodTypeAny, {
1095
+ organization_name: string;
1096
+ homepage_uri: string;
1097
+ policy_uri: string;
1098
+ logo_uri: string;
1099
+ tos_uri: string;
1100
+ }, {
1101
+ organization_name: string;
1102
+ homepage_uri: string;
1103
+ policy_uri: string;
1104
+ logo_uri: string;
1105
+ tos_uri: string;
1106
+ }>;
236
1107
  }, "strip", z.ZodTypeAny, {
237
- credential_issuer: string;
238
- authorization_endpoint: string;
239
- token_endpoint: string;
240
- pushed_authorization_request_endpoint: string;
241
- dpop_signing_alg_values_supported: string[];
242
- credential_endpoint: string;
243
- credentials_supported: {
244
- format: "vc+sd-jwt";
245
- cryptographic_binding_methods_supported: string[];
246
- cryptographic_suites_supported: string[];
247
- display: {
248
- name: string;
249
- locale: string;
250
- logo: {
251
- url: string;
252
- alt_text: string;
253
- };
254
- background_color: string;
255
- text_color: string;
1108
+ federation_entity: {
1109
+ organization_name: string;
1110
+ homepage_uri: string;
1111
+ policy_uri: string;
1112
+ logo_uri: string;
1113
+ tos_uri: string;
1114
+ };
1115
+ openid_credential_issuer: {
1116
+ credential_issuer: string;
1117
+ authorization_endpoint: string;
1118
+ token_endpoint: string;
1119
+ pushed_authorization_request_endpoint: string;
1120
+ dpop_signing_alg_values_supported: string[];
1121
+ credential_endpoint: string;
1122
+ credentials_supported: {
1123
+ format: "vc+sd-jwt";
1124
+ cryptographic_binding_methods_supported: string[];
1125
+ cryptographic_suites_supported: string[];
1126
+ display: {
1127
+ name: string;
1128
+ locale: string;
1129
+ logo: {
1130
+ url: string;
1131
+ alt_text: string;
1132
+ };
1133
+ background_color: string;
1134
+ text_color: string;
1135
+ }[];
256
1136
  }[];
257
- }[];
1137
+ };
258
1138
  }, {
259
- credential_issuer: string;
260
- authorization_endpoint: string;
261
- token_endpoint: string;
262
- pushed_authorization_request_endpoint: string;
263
- dpop_signing_alg_values_supported: string[];
264
- credential_endpoint: string;
265
- credentials_supported: {
266
- format: "vc+sd-jwt";
267
- cryptographic_binding_methods_supported: string[];
268
- cryptographic_suites_supported: string[];
269
- display: {
270
- name: string;
271
- locale: string;
272
- logo: {
273
- url: string;
274
- alt_text: string;
275
- };
276
- background_color: string;
277
- text_color: string;
1139
+ federation_entity: {
1140
+ organization_name: string;
1141
+ homepage_uri: string;
1142
+ policy_uri: string;
1143
+ logo_uri: string;
1144
+ tos_uri: string;
1145
+ };
1146
+ openid_credential_issuer: {
1147
+ credential_issuer: string;
1148
+ authorization_endpoint: string;
1149
+ token_endpoint: string;
1150
+ pushed_authorization_request_endpoint: string;
1151
+ dpop_signing_alg_values_supported: string[];
1152
+ credential_endpoint: string;
1153
+ credentials_supported: {
1154
+ format: "vc+sd-jwt";
1155
+ cryptographic_binding_methods_supported: string[];
1156
+ cryptographic_suites_supported: string[];
1157
+ display: {
1158
+ name: string;
1159
+ locale: string;
1160
+ logo: {
1161
+ url: string;
1162
+ alt_text: string;
1163
+ };
1164
+ background_color: string;
1165
+ text_color: string;
1166
+ }[];
278
1167
  }[];
279
- }[];
280
- }>;
281
- federation_entity: z.ZodObject<{
282
- organization_name: z.ZodString;
283
- homepage_uri: z.ZodString;
284
- policy_uri: z.ZodString;
285
- tos_uri: z.ZodString;
286
- logo_uri: z.ZodString;
287
- }, "strip", z.ZodTypeAny, {
288
- organization_name: string;
289
- homepage_uri: string;
290
- policy_uri: string;
291
- tos_uri: string;
292
- logo_uri: string;
293
- }, {
294
- organization_name: string;
295
- homepage_uri: string;
296
- policy_uri: string;
297
- tos_uri: string;
298
- logo_uri: string;
1168
+ };
299
1169
  }>;
300
1170
  }, "strip", z.ZodTypeAny, {
301
- openid_credential_issuer: {
302
- credential_issuer: string;
303
- authorization_endpoint: string;
304
- token_endpoint: string;
305
- pushed_authorization_request_endpoint: string;
306
- dpop_signing_alg_values_supported: string[];
307
- credential_endpoint: string;
308
- credentials_supported: {
309
- format: "vc+sd-jwt";
310
- cryptographic_binding_methods_supported: string[];
311
- cryptographic_suites_supported: string[];
312
- display: {
313
- name: string;
314
- locale: string;
315
- logo: {
316
- url: string;
317
- alt_text: string;
318
- };
319
- background_color: string;
320
- text_color: string;
321
- }[];
1171
+ jwks: {
1172
+ keys: {
1173
+ kty: "RSA" | "EC";
1174
+ alg?: string | undefined;
1175
+ crv?: string | undefined;
1176
+ d?: string | undefined;
1177
+ dp?: string | undefined;
1178
+ dq?: string | undefined;
1179
+ e?: string | undefined;
1180
+ ext?: boolean | undefined;
1181
+ k?: string | undefined;
1182
+ key_ops?: string[] | undefined;
1183
+ kid?: string | undefined;
1184
+ n?: string | undefined;
1185
+ p?: string | undefined;
1186
+ q?: string | undefined;
1187
+ qi?: string | undefined;
1188
+ use?: string | undefined;
1189
+ x?: string | undefined;
1190
+ y?: string | undefined;
1191
+ x5c?: string[] | undefined;
1192
+ x5t?: string | undefined;
1193
+ "x5t#S256"?: string | undefined;
1194
+ x5u?: string | undefined;
322
1195
  }[];
323
1196
  };
324
- federation_entity: {
325
- organization_name: string;
326
- homepage_uri: string;
327
- policy_uri: string;
328
- tos_uri: string;
329
- logo_uri: string;
1197
+ metadata: {
1198
+ federation_entity: {
1199
+ organization_name: string;
1200
+ homepage_uri: string;
1201
+ policy_uri: string;
1202
+ logo_uri: string;
1203
+ tos_uri: string;
1204
+ };
1205
+ openid_credential_issuer: {
1206
+ credential_issuer: string;
1207
+ authorization_endpoint: string;
1208
+ token_endpoint: string;
1209
+ pushed_authorization_request_endpoint: string;
1210
+ dpop_signing_alg_values_supported: string[];
1211
+ credential_endpoint: string;
1212
+ credentials_supported: {
1213
+ format: "vc+sd-jwt";
1214
+ cryptographic_binding_methods_supported: string[];
1215
+ cryptographic_suites_supported: string[];
1216
+ display: {
1217
+ name: string;
1218
+ locale: string;
1219
+ logo: {
1220
+ url: string;
1221
+ alt_text: string;
1222
+ };
1223
+ background_color: string;
1224
+ text_color: string;
1225
+ }[];
1226
+ }[];
1227
+ };
330
1228
  };
331
1229
  }, {
332
- openid_credential_issuer: {
333
- credential_issuer: string;
334
- authorization_endpoint: string;
335
- token_endpoint: string;
336
- pushed_authorization_request_endpoint: string;
337
- dpop_signing_alg_values_supported: string[];
338
- credential_endpoint: string;
339
- credentials_supported: {
340
- format: "vc+sd-jwt";
341
- cryptographic_binding_methods_supported: string[];
342
- cryptographic_suites_supported: string[];
343
- display: {
344
- name: string;
345
- locale: string;
346
- logo: {
347
- url: string;
348
- alt_text: string;
349
- };
350
- background_color: string;
351
- text_color: string;
352
- }[];
1230
+ jwks: {
1231
+ keys: {
1232
+ kty: "RSA" | "EC";
1233
+ alg?: string | undefined;
1234
+ crv?: string | undefined;
1235
+ d?: string | undefined;
1236
+ dp?: string | undefined;
1237
+ dq?: string | undefined;
1238
+ e?: string | undefined;
1239
+ ext?: boolean | undefined;
1240
+ k?: string | undefined;
1241
+ key_ops?: string[] | undefined;
1242
+ kid?: string | undefined;
1243
+ n?: string | undefined;
1244
+ p?: string | undefined;
1245
+ q?: string | undefined;
1246
+ qi?: string | undefined;
1247
+ use?: string | undefined;
1248
+ x?: string | undefined;
1249
+ y?: string | undefined;
1250
+ x5c?: string[] | undefined;
1251
+ x5t?: string | undefined;
1252
+ "x5t#S256"?: string | undefined;
1253
+ x5u?: string | undefined;
353
1254
  }[];
354
1255
  };
355
- federation_entity: {
356
- organization_name: string;
357
- homepage_uri: string;
358
- policy_uri: string;
359
- tos_uri: string;
360
- logo_uri: string;
1256
+ metadata: {
1257
+ federation_entity: {
1258
+ organization_name: string;
1259
+ homepage_uri: string;
1260
+ policy_uri: string;
1261
+ logo_uri: string;
1262
+ tos_uri: string;
1263
+ };
1264
+ openid_credential_issuer: {
1265
+ credential_issuer: string;
1266
+ authorization_endpoint: string;
1267
+ token_endpoint: string;
1268
+ pushed_authorization_request_endpoint: string;
1269
+ dpop_signing_alg_values_supported: string[];
1270
+ credential_endpoint: string;
1271
+ credentials_supported: {
1272
+ format: "vc+sd-jwt";
1273
+ cryptographic_binding_methods_supported: string[];
1274
+ cryptographic_suites_supported: string[];
1275
+ display: {
1276
+ name: string;
1277
+ locale: string;
1278
+ logo: {
1279
+ url: string;
1280
+ alt_text: string;
1281
+ };
1282
+ background_color: string;
1283
+ text_color: string;
1284
+ }[];
1285
+ }[];
1286
+ };
361
1287
  };
362
1288
  }>;
363
1289
  }, "strip", z.ZodTypeAny, {
364
- jwks: {
365
- keys: {
366
- kty: "RSA" | "EC";
367
- alg?: string | undefined;
368
- crv?: string | undefined;
369
- d?: string | undefined;
370
- dp?: string | undefined;
371
- dq?: string | undefined;
372
- e?: string | undefined;
373
- ext?: boolean | undefined;
374
- k?: string | undefined;
375
- key_ops?: string[] | undefined;
376
- kid?: string | undefined;
377
- n?: string | undefined;
378
- p?: string | undefined;
379
- q?: string | undefined;
380
- qi?: string | undefined;
381
- use?: string | undefined;
382
- x?: string | undefined;
383
- y?: string | undefined;
384
- x5c?: string[] | undefined;
385
- x5t?: string | undefined;
386
- "x5t#S256"?: string | undefined;
387
- x5u?: string | undefined;
388
- }[];
389
- };
390
- metadata: {
391
- openid_credential_issuer: {
392
- credential_issuer: string;
393
- authorization_endpoint: string;
394
- token_endpoint: string;
395
- pushed_authorization_request_endpoint: string;
396
- dpop_signing_alg_values_supported: string[];
397
- credential_endpoint: string;
398
- credentials_supported: {
399
- format: "vc+sd-jwt";
400
- cryptographic_binding_methods_supported: string[];
401
- cryptographic_suites_supported: string[];
402
- display: {
403
- name: string;
404
- locale: string;
405
- logo: {
406
- url: string;
407
- alt_text: string;
408
- };
409
- background_color: string;
410
- text_color: string;
411
- }[];
1290
+ payload: {
1291
+ jwks: {
1292
+ keys: {
1293
+ kty: "RSA" | "EC";
1294
+ alg?: string | undefined;
1295
+ crv?: string | undefined;
1296
+ d?: string | undefined;
1297
+ dp?: string | undefined;
1298
+ dq?: string | undefined;
1299
+ e?: string | undefined;
1300
+ ext?: boolean | undefined;
1301
+ k?: string | undefined;
1302
+ key_ops?: string[] | undefined;
1303
+ kid?: string | undefined;
1304
+ n?: string | undefined;
1305
+ p?: string | undefined;
1306
+ q?: string | undefined;
1307
+ qi?: string | undefined;
1308
+ use?: string | undefined;
1309
+ x?: string | undefined;
1310
+ y?: string | undefined;
1311
+ x5c?: string[] | undefined;
1312
+ x5t?: string | undefined;
1313
+ "x5t#S256"?: string | undefined;
1314
+ x5u?: string | undefined;
412
1315
  }[];
413
1316
  };
414
- federation_entity: {
415
- organization_name: string;
416
- homepage_uri: string;
417
- policy_uri: string;
418
- tos_uri: string;
419
- logo_uri: string;
1317
+ metadata: {
1318
+ federation_entity: {
1319
+ organization_name: string;
1320
+ homepage_uri: string;
1321
+ policy_uri: string;
1322
+ logo_uri: string;
1323
+ tos_uri: string;
1324
+ };
1325
+ openid_credential_issuer: {
1326
+ credential_issuer: string;
1327
+ authorization_endpoint: string;
1328
+ token_endpoint: string;
1329
+ pushed_authorization_request_endpoint: string;
1330
+ dpop_signing_alg_values_supported: string[];
1331
+ credential_endpoint: string;
1332
+ credentials_supported: {
1333
+ format: "vc+sd-jwt";
1334
+ cryptographic_binding_methods_supported: string[];
1335
+ cryptographic_suites_supported: string[];
1336
+ display: {
1337
+ name: string;
1338
+ locale: string;
1339
+ logo: {
1340
+ url: string;
1341
+ alt_text: string;
1342
+ };
1343
+ background_color: string;
1344
+ text_color: string;
1345
+ }[];
1346
+ }[];
1347
+ };
420
1348
  };
421
1349
  };
422
1350
  }, {
423
- jwks: {
424
- keys: {
425
- kty: "RSA" | "EC";
426
- alg?: string | undefined;
427
- crv?: string | undefined;
428
- d?: string | undefined;
429
- dp?: string | undefined;
430
- dq?: string | undefined;
431
- e?: string | undefined;
432
- ext?: boolean | undefined;
433
- k?: string | undefined;
434
- key_ops?: string[] | undefined;
435
- kid?: string | undefined;
436
- n?: string | undefined;
437
- p?: string | undefined;
438
- q?: string | undefined;
439
- qi?: string | undefined;
440
- use?: string | undefined;
441
- x?: string | undefined;
442
- y?: string | undefined;
443
- x5c?: string[] | undefined;
444
- x5t?: string | undefined;
445
- "x5t#S256"?: string | undefined;
446
- x5u?: string | undefined;
447
- }[];
448
- };
449
- metadata: {
450
- openid_credential_issuer: {
451
- credential_issuer: string;
452
- authorization_endpoint: string;
453
- token_endpoint: string;
454
- pushed_authorization_request_endpoint: string;
455
- dpop_signing_alg_values_supported: string[];
456
- credential_endpoint: string;
457
- credentials_supported: {
458
- format: "vc+sd-jwt";
459
- cryptographic_binding_methods_supported: string[];
460
- cryptographic_suites_supported: string[];
461
- display: {
462
- name: string;
463
- locale: string;
464
- logo: {
465
- url: string;
466
- alt_text: string;
467
- };
468
- background_color: string;
469
- text_color: string;
470
- }[];
1351
+ payload: {
1352
+ jwks: {
1353
+ keys: {
1354
+ kty: "RSA" | "EC";
1355
+ alg?: string | undefined;
1356
+ crv?: string | undefined;
1357
+ d?: string | undefined;
1358
+ dp?: string | undefined;
1359
+ dq?: string | undefined;
1360
+ e?: string | undefined;
1361
+ ext?: boolean | undefined;
1362
+ k?: string | undefined;
1363
+ key_ops?: string[] | undefined;
1364
+ kid?: string | undefined;
1365
+ n?: string | undefined;
1366
+ p?: string | undefined;
1367
+ q?: string | undefined;
1368
+ qi?: string | undefined;
1369
+ use?: string | undefined;
1370
+ x?: string | undefined;
1371
+ y?: string | undefined;
1372
+ x5c?: string[] | undefined;
1373
+ x5t?: string | undefined;
1374
+ "x5t#S256"?: string | undefined;
1375
+ x5u?: string | undefined;
471
1376
  }[];
472
1377
  };
473
- federation_entity: {
474
- organization_name: string;
475
- homepage_uri: string;
476
- policy_uri: string;
477
- tos_uri: string;
478
- logo_uri: string;
1378
+ metadata: {
1379
+ federation_entity: {
1380
+ organization_name: string;
1381
+ homepage_uri: string;
1382
+ policy_uri: string;
1383
+ logo_uri: string;
1384
+ tos_uri: string;
1385
+ };
1386
+ openid_credential_issuer: {
1387
+ credential_issuer: string;
1388
+ authorization_endpoint: string;
1389
+ token_endpoint: string;
1390
+ pushed_authorization_request_endpoint: string;
1391
+ dpop_signing_alg_values_supported: string[];
1392
+ credential_endpoint: string;
1393
+ credentials_supported: {
1394
+ format: "vc+sd-jwt";
1395
+ cryptographic_binding_methods_supported: string[];
1396
+ cryptographic_suites_supported: string[];
1397
+ display: {
1398
+ name: string;
1399
+ locale: string;
1400
+ logo: {
1401
+ url: string;
1402
+ alt_text: string;
1403
+ };
1404
+ background_color: string;
1405
+ text_color: string;
1406
+ }[];
1407
+ }[];
1408
+ };
479
1409
  };
480
1410
  };
481
- }>;
1411
+ }>>;
482
1412
  //# sourceMappingURL=metadata.d.ts.map