@pagopa/io-react-native-wallet 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/lib/commonjs/index.js +12 -5
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/pid/index.js +7 -0
- package/lib/commonjs/pid/index.js.map +1 -1
- package/lib/commonjs/pid/issuing.js +231 -0
- package/lib/commonjs/pid/issuing.js.map +1 -0
- package/lib/commonjs/rp/__test__/index.test.js +18 -0
- package/lib/commonjs/rp/__test__/index.test.js.map +1 -0
- package/lib/commonjs/rp/index.js +116 -0
- package/lib/commonjs/rp/index.js.map +1 -0
- package/lib/commonjs/rp/types.js +72 -0
- package/lib/commonjs/rp/types.js.map +1 -0
- package/lib/commonjs/sd-jwt/types.js +1 -1
- package/lib/commonjs/sd-jwt/types.js.map +1 -1
- package/lib/commonjs/utils/dpop.js +27 -0
- package/lib/commonjs/utils/dpop.js.map +1 -0
- package/lib/commonjs/utils/errors.js +49 -1
- package/lib/commonjs/utils/errors.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/issuing.js +3 -5
- package/lib/commonjs/wallet-instance-attestation/issuing.js.map +1 -1
- package/lib/module/index.js +4 -4
- package/lib/module/index.js.map +1 -1
- package/lib/module/pid/index.js +2 -1
- package/lib/module/pid/index.js.map +1 -1
- package/lib/module/pid/issuing.js +225 -0
- package/lib/module/pid/issuing.js.map +1 -0
- package/lib/module/rp/__test__/index.test.js +16 -0
- package/lib/module/rp/__test__/index.test.js.map +1 -0
- package/lib/module/rp/index.js +108 -0
- package/lib/module/rp/index.js.map +1 -0
- package/lib/module/rp/types.js +63 -0
- package/lib/module/rp/types.js.map +1 -0
- package/lib/module/sd-jwt/types.js +1 -1
- package/lib/module/sd-jwt/types.js.map +1 -1
- package/lib/module/utils/dpop.js +17 -0
- package/lib/module/utils/dpop.js.map +1 -0
- package/lib/module/utils/errors.js +46 -0
- package/lib/module/utils/errors.js.map +1 -1
- package/lib/module/wallet-instance-attestation/issuing.js +3 -5
- package/lib/module/wallet-instance-attestation/issuing.js.map +1 -1
- package/lib/typescript/index.d.ts +4 -2
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/pid/index.d.ts +2 -1
- package/lib/typescript/pid/index.d.ts.map +1 -1
- package/lib/typescript/pid/issuing.d.ts +93 -0
- package/lib/typescript/pid/issuing.d.ts.map +1 -0
- package/lib/typescript/rp/__test__/index.test.d.ts +2 -0
- package/lib/typescript/rp/__test__/index.test.d.ts.map +1 -0
- package/lib/typescript/rp/index.d.ts +43 -0
- package/lib/typescript/rp/index.d.ts.map +1 -0
- package/lib/typescript/rp/types.d.ts +840 -0
- package/lib/typescript/rp/types.d.ts.map +1 -0
- package/lib/typescript/sd-jwt/types.d.ts +5 -5
- package/lib/typescript/utils/dpop.d.ts +21 -0
- package/lib/typescript/utils/dpop.d.ts.map +1 -0
- package/lib/typescript/utils/errors.d.ts +26 -0
- package/lib/typescript/utils/errors.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/issuing.d.ts +3 -3
- package/lib/typescript/wallet-instance-attestation/issuing.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/types.d.ts +4 -4
- package/package.json +4 -2
- package/src/index.ts +4 -5
- package/src/pid/index.ts +2 -1
- package/src/pid/issuing.ts +305 -0
- package/src/rp/__test__/index.test.ts +23 -0
- package/src/rp/index.ts +150 -0
- package/src/rp/types.ts +64 -0
- package/src/sd-jwt/types.ts +1 -1
- package/src/utils/dpop.ts +25 -0
- package/src/utils/errors.ts +48 -0
- package/src/wallet-instance-attestation/issuing.ts +9 -7
@@ -0,0 +1,840 @@
|
|
1
|
+
import * as z from "zod";
|
2
|
+
export type RequestObject = z.infer<typeof RequestObject>;
|
3
|
+
export declare const RequestObject: z.ZodObject<{
|
4
|
+
header: z.ZodObject<{
|
5
|
+
typ: z.ZodLiteral<"JWT">;
|
6
|
+
alg: z.ZodString;
|
7
|
+
kid: z.ZodString;
|
8
|
+
trust_chain: z.ZodArray<z.ZodString, "many">;
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
10
|
+
alg: string;
|
11
|
+
kid: string;
|
12
|
+
typ: "JWT";
|
13
|
+
trust_chain: string[];
|
14
|
+
}, {
|
15
|
+
alg: string;
|
16
|
+
kid: string;
|
17
|
+
typ: "JWT";
|
18
|
+
trust_chain: string[];
|
19
|
+
}>;
|
20
|
+
payload: z.ZodObject<{
|
21
|
+
iss: z.ZodString;
|
22
|
+
iat: z.ZodNumber;
|
23
|
+
exp: z.ZodNumber;
|
24
|
+
state: z.ZodString;
|
25
|
+
nonce: z.ZodString;
|
26
|
+
response_uri: z.ZodString;
|
27
|
+
response_type: z.ZodLiteral<"vp_token">;
|
28
|
+
response_mode: z.ZodLiteral<"direct_post.jwt">;
|
29
|
+
client_id: z.ZodString;
|
30
|
+
client_id_scheme: z.ZodLiteral<"entity_id">;
|
31
|
+
scope: z.ZodString;
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
33
|
+
iss: string;
|
34
|
+
iat: number;
|
35
|
+
exp: number;
|
36
|
+
response_type: "vp_token";
|
37
|
+
state: string;
|
38
|
+
client_id: string;
|
39
|
+
nonce: string;
|
40
|
+
response_uri: string;
|
41
|
+
response_mode: "direct_post.jwt";
|
42
|
+
client_id_scheme: "entity_id";
|
43
|
+
scope: string;
|
44
|
+
}, {
|
45
|
+
iss: string;
|
46
|
+
iat: number;
|
47
|
+
exp: number;
|
48
|
+
response_type: "vp_token";
|
49
|
+
state: string;
|
50
|
+
client_id: string;
|
51
|
+
nonce: string;
|
52
|
+
response_uri: string;
|
53
|
+
response_mode: "direct_post.jwt";
|
54
|
+
client_id_scheme: "entity_id";
|
55
|
+
scope: string;
|
56
|
+
}>;
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
58
|
+
header: {
|
59
|
+
alg: string;
|
60
|
+
kid: string;
|
61
|
+
typ: "JWT";
|
62
|
+
trust_chain: string[];
|
63
|
+
};
|
64
|
+
payload: {
|
65
|
+
iss: string;
|
66
|
+
iat: number;
|
67
|
+
exp: number;
|
68
|
+
response_type: "vp_token";
|
69
|
+
state: string;
|
70
|
+
client_id: string;
|
71
|
+
nonce: string;
|
72
|
+
response_uri: string;
|
73
|
+
response_mode: "direct_post.jwt";
|
74
|
+
client_id_scheme: "entity_id";
|
75
|
+
scope: string;
|
76
|
+
};
|
77
|
+
}, {
|
78
|
+
header: {
|
79
|
+
alg: string;
|
80
|
+
kid: string;
|
81
|
+
typ: "JWT";
|
82
|
+
trust_chain: string[];
|
83
|
+
};
|
84
|
+
payload: {
|
85
|
+
iss: string;
|
86
|
+
iat: number;
|
87
|
+
exp: number;
|
88
|
+
response_type: "vp_token";
|
89
|
+
state: string;
|
90
|
+
client_id: string;
|
91
|
+
nonce: string;
|
92
|
+
response_uri: string;
|
93
|
+
response_mode: "direct_post.jwt";
|
94
|
+
client_id_scheme: "entity_id";
|
95
|
+
scope: string;
|
96
|
+
};
|
97
|
+
}>;
|
98
|
+
export type RpEntityConfiguration = z.infer<typeof RpEntityConfiguration>;
|
99
|
+
export declare const RpEntityConfiguration: z.ZodObject<{
|
100
|
+
header: z.ZodObject<{
|
101
|
+
typ: z.ZodLiteral<"entity-statement+jwt">;
|
102
|
+
alg: z.ZodString;
|
103
|
+
kid: z.ZodString;
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
105
|
+
alg: string;
|
106
|
+
kid: string;
|
107
|
+
typ: "entity-statement+jwt";
|
108
|
+
}, {
|
109
|
+
alg: string;
|
110
|
+
kid: string;
|
111
|
+
typ: "entity-statement+jwt";
|
112
|
+
}>;
|
113
|
+
payload: z.ZodObject<{
|
114
|
+
exp: z.ZodNumber;
|
115
|
+
iat: z.ZodNumber;
|
116
|
+
iss: z.ZodString;
|
117
|
+
sub: z.ZodString;
|
118
|
+
jwks: z.ZodObject<{
|
119
|
+
keys: z.ZodArray<z.ZodObject<{
|
120
|
+
alg: z.ZodOptional<z.ZodString>;
|
121
|
+
crv: z.ZodOptional<z.ZodString>;
|
122
|
+
d: z.ZodOptional<z.ZodString>;
|
123
|
+
dp: z.ZodOptional<z.ZodString>;
|
124
|
+
dq: z.ZodOptional<z.ZodString>;
|
125
|
+
e: z.ZodOptional<z.ZodString>;
|
126
|
+
ext: z.ZodOptional<z.ZodBoolean>;
|
127
|
+
k: z.ZodOptional<z.ZodString>;
|
128
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
129
|
+
kid: z.ZodOptional<z.ZodString>;
|
130
|
+
kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
|
131
|
+
n: z.ZodOptional<z.ZodString>;
|
132
|
+
p: z.ZodOptional<z.ZodString>;
|
133
|
+
q: z.ZodOptional<z.ZodString>;
|
134
|
+
qi: z.ZodOptional<z.ZodString>;
|
135
|
+
use: z.ZodOptional<z.ZodString>;
|
136
|
+
x: z.ZodOptional<z.ZodString>;
|
137
|
+
y: z.ZodOptional<z.ZodString>;
|
138
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
139
|
+
x5t: z.ZodOptional<z.ZodString>;
|
140
|
+
"x5t#S256": z.ZodOptional<z.ZodString>;
|
141
|
+
x5u: z.ZodOptional<z.ZodString>;
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
143
|
+
kty: "RSA" | "EC";
|
144
|
+
alg?: string | undefined;
|
145
|
+
crv?: string | undefined;
|
146
|
+
d?: string | undefined;
|
147
|
+
dp?: string | undefined;
|
148
|
+
dq?: string | undefined;
|
149
|
+
e?: string | undefined;
|
150
|
+
ext?: boolean | undefined;
|
151
|
+
k?: string | undefined;
|
152
|
+
key_ops?: string[] | undefined;
|
153
|
+
kid?: string | undefined;
|
154
|
+
n?: string | undefined;
|
155
|
+
p?: string | undefined;
|
156
|
+
q?: string | undefined;
|
157
|
+
qi?: string | undefined;
|
158
|
+
use?: string | undefined;
|
159
|
+
x?: string | undefined;
|
160
|
+
y?: string | undefined;
|
161
|
+
x5c?: string[] | undefined;
|
162
|
+
x5t?: string | undefined;
|
163
|
+
"x5t#S256"?: string | undefined;
|
164
|
+
x5u?: string | undefined;
|
165
|
+
}, {
|
166
|
+
kty: "RSA" | "EC";
|
167
|
+
alg?: string | undefined;
|
168
|
+
crv?: string | undefined;
|
169
|
+
d?: string | undefined;
|
170
|
+
dp?: string | undefined;
|
171
|
+
dq?: string | undefined;
|
172
|
+
e?: string | undefined;
|
173
|
+
ext?: boolean | undefined;
|
174
|
+
k?: string | undefined;
|
175
|
+
key_ops?: string[] | undefined;
|
176
|
+
kid?: string | undefined;
|
177
|
+
n?: string | undefined;
|
178
|
+
p?: string | undefined;
|
179
|
+
q?: string | undefined;
|
180
|
+
qi?: string | undefined;
|
181
|
+
use?: string | undefined;
|
182
|
+
x?: string | undefined;
|
183
|
+
y?: string | undefined;
|
184
|
+
x5c?: string[] | undefined;
|
185
|
+
x5t?: string | undefined;
|
186
|
+
"x5t#S256"?: string | undefined;
|
187
|
+
x5u?: string | undefined;
|
188
|
+
}>, "many">;
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
190
|
+
keys: {
|
191
|
+
kty: "RSA" | "EC";
|
192
|
+
alg?: string | undefined;
|
193
|
+
crv?: string | undefined;
|
194
|
+
d?: string | undefined;
|
195
|
+
dp?: string | undefined;
|
196
|
+
dq?: string | undefined;
|
197
|
+
e?: string | undefined;
|
198
|
+
ext?: boolean | undefined;
|
199
|
+
k?: string | undefined;
|
200
|
+
key_ops?: string[] | undefined;
|
201
|
+
kid?: string | undefined;
|
202
|
+
n?: string | undefined;
|
203
|
+
p?: string | undefined;
|
204
|
+
q?: string | undefined;
|
205
|
+
qi?: string | undefined;
|
206
|
+
use?: string | undefined;
|
207
|
+
x?: string | undefined;
|
208
|
+
y?: string | undefined;
|
209
|
+
x5c?: string[] | undefined;
|
210
|
+
x5t?: string | undefined;
|
211
|
+
"x5t#S256"?: string | undefined;
|
212
|
+
x5u?: string | undefined;
|
213
|
+
}[];
|
214
|
+
}, {
|
215
|
+
keys: {
|
216
|
+
kty: "RSA" | "EC";
|
217
|
+
alg?: string | undefined;
|
218
|
+
crv?: string | undefined;
|
219
|
+
d?: string | undefined;
|
220
|
+
dp?: string | undefined;
|
221
|
+
dq?: string | undefined;
|
222
|
+
e?: string | undefined;
|
223
|
+
ext?: boolean | undefined;
|
224
|
+
k?: string | undefined;
|
225
|
+
key_ops?: string[] | undefined;
|
226
|
+
kid?: string | undefined;
|
227
|
+
n?: string | undefined;
|
228
|
+
p?: string | undefined;
|
229
|
+
q?: string | undefined;
|
230
|
+
qi?: string | undefined;
|
231
|
+
use?: string | undefined;
|
232
|
+
x?: string | undefined;
|
233
|
+
y?: string | undefined;
|
234
|
+
x5c?: string[] | undefined;
|
235
|
+
x5t?: string | undefined;
|
236
|
+
"x5t#S256"?: string | undefined;
|
237
|
+
x5u?: string | undefined;
|
238
|
+
}[];
|
239
|
+
}>;
|
240
|
+
metadata: z.ZodObject<{
|
241
|
+
wallet_relying_party: z.ZodObject<{
|
242
|
+
application_type: z.ZodString;
|
243
|
+
client_id: z.ZodString;
|
244
|
+
client_name: z.ZodString;
|
245
|
+
jwks: z.ZodObject<{
|
246
|
+
keys: z.ZodArray<z.ZodObject<{
|
247
|
+
alg: z.ZodOptional<z.ZodString>;
|
248
|
+
crv: z.ZodOptional<z.ZodString>;
|
249
|
+
d: z.ZodOptional<z.ZodString>;
|
250
|
+
dp: z.ZodOptional<z.ZodString>;
|
251
|
+
dq: z.ZodOptional<z.ZodString>;
|
252
|
+
e: z.ZodOptional<z.ZodString>;
|
253
|
+
ext: z.ZodOptional<z.ZodBoolean>;
|
254
|
+
k: z.ZodOptional<z.ZodString>;
|
255
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
256
|
+
kid: z.ZodOptional<z.ZodString>;
|
257
|
+
kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
|
258
|
+
n: z.ZodOptional<z.ZodString>;
|
259
|
+
p: z.ZodOptional<z.ZodString>;
|
260
|
+
q: z.ZodOptional<z.ZodString>;
|
261
|
+
qi: z.ZodOptional<z.ZodString>;
|
262
|
+
use: z.ZodOptional<z.ZodString>;
|
263
|
+
x: z.ZodOptional<z.ZodString>;
|
264
|
+
y: z.ZodOptional<z.ZodString>;
|
265
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
266
|
+
x5t: z.ZodOptional<z.ZodString>;
|
267
|
+
"x5t#S256": z.ZodOptional<z.ZodString>;
|
268
|
+
x5u: z.ZodOptional<z.ZodString>;
|
269
|
+
}, "strip", z.ZodTypeAny, {
|
270
|
+
kty: "RSA" | "EC";
|
271
|
+
alg?: string | undefined;
|
272
|
+
crv?: string | undefined;
|
273
|
+
d?: string | undefined;
|
274
|
+
dp?: string | undefined;
|
275
|
+
dq?: string | undefined;
|
276
|
+
e?: string | undefined;
|
277
|
+
ext?: boolean | undefined;
|
278
|
+
k?: string | undefined;
|
279
|
+
key_ops?: string[] | undefined;
|
280
|
+
kid?: string | undefined;
|
281
|
+
n?: string | undefined;
|
282
|
+
p?: string | undefined;
|
283
|
+
q?: string | undefined;
|
284
|
+
qi?: string | undefined;
|
285
|
+
use?: string | undefined;
|
286
|
+
x?: string | undefined;
|
287
|
+
y?: string | undefined;
|
288
|
+
x5c?: string[] | undefined;
|
289
|
+
x5t?: string | undefined;
|
290
|
+
"x5t#S256"?: string | undefined;
|
291
|
+
x5u?: string | undefined;
|
292
|
+
}, {
|
293
|
+
kty: "RSA" | "EC";
|
294
|
+
alg?: string | undefined;
|
295
|
+
crv?: string | undefined;
|
296
|
+
d?: string | undefined;
|
297
|
+
dp?: string | undefined;
|
298
|
+
dq?: string | undefined;
|
299
|
+
e?: string | undefined;
|
300
|
+
ext?: boolean | undefined;
|
301
|
+
k?: string | undefined;
|
302
|
+
key_ops?: string[] | undefined;
|
303
|
+
kid?: string | undefined;
|
304
|
+
n?: string | undefined;
|
305
|
+
p?: string | undefined;
|
306
|
+
q?: string | undefined;
|
307
|
+
qi?: string | undefined;
|
308
|
+
use?: string | undefined;
|
309
|
+
x?: string | undefined;
|
310
|
+
y?: string | undefined;
|
311
|
+
x5c?: string[] | undefined;
|
312
|
+
x5t?: string | undefined;
|
313
|
+
"x5t#S256"?: string | undefined;
|
314
|
+
x5u?: string | undefined;
|
315
|
+
}>, "many">;
|
316
|
+
}, "strip", z.ZodTypeAny, {
|
317
|
+
keys: {
|
318
|
+
kty: "RSA" | "EC";
|
319
|
+
alg?: string | undefined;
|
320
|
+
crv?: string | undefined;
|
321
|
+
d?: string | undefined;
|
322
|
+
dp?: string | undefined;
|
323
|
+
dq?: string | undefined;
|
324
|
+
e?: string | undefined;
|
325
|
+
ext?: boolean | undefined;
|
326
|
+
k?: string | undefined;
|
327
|
+
key_ops?: string[] | undefined;
|
328
|
+
kid?: string | undefined;
|
329
|
+
n?: string | undefined;
|
330
|
+
p?: string | undefined;
|
331
|
+
q?: string | undefined;
|
332
|
+
qi?: string | undefined;
|
333
|
+
use?: string | undefined;
|
334
|
+
x?: string | undefined;
|
335
|
+
y?: string | undefined;
|
336
|
+
x5c?: string[] | undefined;
|
337
|
+
x5t?: string | undefined;
|
338
|
+
"x5t#S256"?: string | undefined;
|
339
|
+
x5u?: string | undefined;
|
340
|
+
}[];
|
341
|
+
}, {
|
342
|
+
keys: {
|
343
|
+
kty: "RSA" | "EC";
|
344
|
+
alg?: string | undefined;
|
345
|
+
crv?: string | undefined;
|
346
|
+
d?: string | undefined;
|
347
|
+
dp?: string | undefined;
|
348
|
+
dq?: string | undefined;
|
349
|
+
e?: string | undefined;
|
350
|
+
ext?: boolean | undefined;
|
351
|
+
k?: string | undefined;
|
352
|
+
key_ops?: string[] | undefined;
|
353
|
+
kid?: string | undefined;
|
354
|
+
n?: string | undefined;
|
355
|
+
p?: string | undefined;
|
356
|
+
q?: string | undefined;
|
357
|
+
qi?: string | undefined;
|
358
|
+
use?: string | undefined;
|
359
|
+
x?: string | undefined;
|
360
|
+
y?: string | undefined;
|
361
|
+
x5c?: string[] | undefined;
|
362
|
+
x5t?: string | undefined;
|
363
|
+
"x5t#S256"?: string | undefined;
|
364
|
+
x5u?: string | undefined;
|
365
|
+
}[];
|
366
|
+
}>;
|
367
|
+
contacts: z.ZodArray<z.ZodString, "many">;
|
368
|
+
}, "strip", z.ZodTypeAny, {
|
369
|
+
client_id: string;
|
370
|
+
jwks: {
|
371
|
+
keys: {
|
372
|
+
kty: "RSA" | "EC";
|
373
|
+
alg?: string | undefined;
|
374
|
+
crv?: string | undefined;
|
375
|
+
d?: string | undefined;
|
376
|
+
dp?: string | undefined;
|
377
|
+
dq?: string | undefined;
|
378
|
+
e?: string | undefined;
|
379
|
+
ext?: boolean | undefined;
|
380
|
+
k?: string | undefined;
|
381
|
+
key_ops?: string[] | undefined;
|
382
|
+
kid?: string | undefined;
|
383
|
+
n?: string | undefined;
|
384
|
+
p?: string | undefined;
|
385
|
+
q?: string | undefined;
|
386
|
+
qi?: string | undefined;
|
387
|
+
use?: string | undefined;
|
388
|
+
x?: string | undefined;
|
389
|
+
y?: string | undefined;
|
390
|
+
x5c?: string[] | undefined;
|
391
|
+
x5t?: string | undefined;
|
392
|
+
"x5t#S256"?: string | undefined;
|
393
|
+
x5u?: string | undefined;
|
394
|
+
}[];
|
395
|
+
};
|
396
|
+
application_type: string;
|
397
|
+
client_name: string;
|
398
|
+
contacts: string[];
|
399
|
+
}, {
|
400
|
+
client_id: string;
|
401
|
+
jwks: {
|
402
|
+
keys: {
|
403
|
+
kty: "RSA" | "EC";
|
404
|
+
alg?: string | undefined;
|
405
|
+
crv?: string | undefined;
|
406
|
+
d?: string | undefined;
|
407
|
+
dp?: string | undefined;
|
408
|
+
dq?: string | undefined;
|
409
|
+
e?: string | undefined;
|
410
|
+
ext?: boolean | undefined;
|
411
|
+
k?: string | undefined;
|
412
|
+
key_ops?: string[] | undefined;
|
413
|
+
kid?: string | undefined;
|
414
|
+
n?: string | undefined;
|
415
|
+
p?: string | undefined;
|
416
|
+
q?: string | undefined;
|
417
|
+
qi?: string | undefined;
|
418
|
+
use?: string | undefined;
|
419
|
+
x?: string | undefined;
|
420
|
+
y?: string | undefined;
|
421
|
+
x5c?: string[] | undefined;
|
422
|
+
x5t?: string | undefined;
|
423
|
+
"x5t#S256"?: string | undefined;
|
424
|
+
x5u?: string | undefined;
|
425
|
+
}[];
|
426
|
+
};
|
427
|
+
application_type: string;
|
428
|
+
client_name: string;
|
429
|
+
contacts: string[];
|
430
|
+
}>;
|
431
|
+
federation_entity: z.ZodObject<{
|
432
|
+
organization_name: z.ZodString;
|
433
|
+
homepage_uri: z.ZodString;
|
434
|
+
policy_uri: z.ZodString;
|
435
|
+
logo_uri: z.ZodString;
|
436
|
+
contacts: z.ZodArray<z.ZodString, "many">;
|
437
|
+
}, "strip", z.ZodTypeAny, {
|
438
|
+
organization_name: string;
|
439
|
+
contacts: string[];
|
440
|
+
homepage_uri: string;
|
441
|
+
policy_uri: string;
|
442
|
+
logo_uri: string;
|
443
|
+
}, {
|
444
|
+
organization_name: string;
|
445
|
+
contacts: string[];
|
446
|
+
homepage_uri: string;
|
447
|
+
policy_uri: string;
|
448
|
+
logo_uri: string;
|
449
|
+
}>;
|
450
|
+
}, "strip", z.ZodTypeAny, {
|
451
|
+
wallet_relying_party: {
|
452
|
+
client_id: string;
|
453
|
+
jwks: {
|
454
|
+
keys: {
|
455
|
+
kty: "RSA" | "EC";
|
456
|
+
alg?: string | undefined;
|
457
|
+
crv?: string | undefined;
|
458
|
+
d?: string | undefined;
|
459
|
+
dp?: string | undefined;
|
460
|
+
dq?: string | undefined;
|
461
|
+
e?: string | undefined;
|
462
|
+
ext?: boolean | undefined;
|
463
|
+
k?: string | undefined;
|
464
|
+
key_ops?: string[] | undefined;
|
465
|
+
kid?: string | undefined;
|
466
|
+
n?: string | undefined;
|
467
|
+
p?: string | undefined;
|
468
|
+
q?: string | undefined;
|
469
|
+
qi?: string | undefined;
|
470
|
+
use?: string | undefined;
|
471
|
+
x?: string | undefined;
|
472
|
+
y?: string | undefined;
|
473
|
+
x5c?: string[] | undefined;
|
474
|
+
x5t?: string | undefined;
|
475
|
+
"x5t#S256"?: string | undefined;
|
476
|
+
x5u?: string | undefined;
|
477
|
+
}[];
|
478
|
+
};
|
479
|
+
application_type: string;
|
480
|
+
client_name: string;
|
481
|
+
contacts: string[];
|
482
|
+
};
|
483
|
+
federation_entity: {
|
484
|
+
organization_name: string;
|
485
|
+
contacts: string[];
|
486
|
+
homepage_uri: string;
|
487
|
+
policy_uri: string;
|
488
|
+
logo_uri: string;
|
489
|
+
};
|
490
|
+
}, {
|
491
|
+
wallet_relying_party: {
|
492
|
+
client_id: string;
|
493
|
+
jwks: {
|
494
|
+
keys: {
|
495
|
+
kty: "RSA" | "EC";
|
496
|
+
alg?: string | undefined;
|
497
|
+
crv?: string | undefined;
|
498
|
+
d?: string | undefined;
|
499
|
+
dp?: string | undefined;
|
500
|
+
dq?: string | undefined;
|
501
|
+
e?: string | undefined;
|
502
|
+
ext?: boolean | undefined;
|
503
|
+
k?: string | undefined;
|
504
|
+
key_ops?: string[] | undefined;
|
505
|
+
kid?: string | undefined;
|
506
|
+
n?: string | undefined;
|
507
|
+
p?: string | undefined;
|
508
|
+
q?: string | undefined;
|
509
|
+
qi?: string | undefined;
|
510
|
+
use?: string | undefined;
|
511
|
+
x?: string | undefined;
|
512
|
+
y?: string | undefined;
|
513
|
+
x5c?: string[] | undefined;
|
514
|
+
x5t?: string | undefined;
|
515
|
+
"x5t#S256"?: string | undefined;
|
516
|
+
x5u?: string | undefined;
|
517
|
+
}[];
|
518
|
+
};
|
519
|
+
application_type: string;
|
520
|
+
client_name: string;
|
521
|
+
contacts: string[];
|
522
|
+
};
|
523
|
+
federation_entity: {
|
524
|
+
organization_name: string;
|
525
|
+
contacts: string[];
|
526
|
+
homepage_uri: string;
|
527
|
+
policy_uri: string;
|
528
|
+
logo_uri: string;
|
529
|
+
};
|
530
|
+
}>;
|
531
|
+
authority_hints: z.ZodArray<z.ZodString, "many">;
|
532
|
+
}, "strip", z.ZodTypeAny, {
|
533
|
+
iss: string;
|
534
|
+
sub: string;
|
535
|
+
iat: number;
|
536
|
+
exp: number;
|
537
|
+
jwks: {
|
538
|
+
keys: {
|
539
|
+
kty: "RSA" | "EC";
|
540
|
+
alg?: string | undefined;
|
541
|
+
crv?: string | undefined;
|
542
|
+
d?: string | undefined;
|
543
|
+
dp?: string | undefined;
|
544
|
+
dq?: string | undefined;
|
545
|
+
e?: string | undefined;
|
546
|
+
ext?: boolean | undefined;
|
547
|
+
k?: string | undefined;
|
548
|
+
key_ops?: string[] | undefined;
|
549
|
+
kid?: string | undefined;
|
550
|
+
n?: string | undefined;
|
551
|
+
p?: string | undefined;
|
552
|
+
q?: string | undefined;
|
553
|
+
qi?: string | undefined;
|
554
|
+
use?: string | undefined;
|
555
|
+
x?: string | undefined;
|
556
|
+
y?: string | undefined;
|
557
|
+
x5c?: string[] | undefined;
|
558
|
+
x5t?: string | undefined;
|
559
|
+
"x5t#S256"?: string | undefined;
|
560
|
+
x5u?: string | undefined;
|
561
|
+
}[];
|
562
|
+
};
|
563
|
+
metadata: {
|
564
|
+
wallet_relying_party: {
|
565
|
+
client_id: string;
|
566
|
+
jwks: {
|
567
|
+
keys: {
|
568
|
+
kty: "RSA" | "EC";
|
569
|
+
alg?: string | undefined;
|
570
|
+
crv?: string | undefined;
|
571
|
+
d?: string | undefined;
|
572
|
+
dp?: string | undefined;
|
573
|
+
dq?: string | undefined;
|
574
|
+
e?: string | undefined;
|
575
|
+
ext?: boolean | undefined;
|
576
|
+
k?: string | undefined;
|
577
|
+
key_ops?: string[] | undefined;
|
578
|
+
kid?: string | undefined;
|
579
|
+
n?: string | undefined;
|
580
|
+
p?: string | undefined;
|
581
|
+
q?: string | undefined;
|
582
|
+
qi?: string | undefined;
|
583
|
+
use?: string | undefined;
|
584
|
+
x?: string | undefined;
|
585
|
+
y?: string | undefined;
|
586
|
+
x5c?: string[] | undefined;
|
587
|
+
x5t?: string | undefined;
|
588
|
+
"x5t#S256"?: string | undefined;
|
589
|
+
x5u?: string | undefined;
|
590
|
+
}[];
|
591
|
+
};
|
592
|
+
application_type: string;
|
593
|
+
client_name: string;
|
594
|
+
contacts: string[];
|
595
|
+
};
|
596
|
+
federation_entity: {
|
597
|
+
organization_name: string;
|
598
|
+
contacts: string[];
|
599
|
+
homepage_uri: string;
|
600
|
+
policy_uri: string;
|
601
|
+
logo_uri: string;
|
602
|
+
};
|
603
|
+
};
|
604
|
+
authority_hints: string[];
|
605
|
+
}, {
|
606
|
+
iss: string;
|
607
|
+
sub: string;
|
608
|
+
iat: number;
|
609
|
+
exp: number;
|
610
|
+
jwks: {
|
611
|
+
keys: {
|
612
|
+
kty: "RSA" | "EC";
|
613
|
+
alg?: string | undefined;
|
614
|
+
crv?: string | undefined;
|
615
|
+
d?: string | undefined;
|
616
|
+
dp?: string | undefined;
|
617
|
+
dq?: string | undefined;
|
618
|
+
e?: string | undefined;
|
619
|
+
ext?: boolean | undefined;
|
620
|
+
k?: string | undefined;
|
621
|
+
key_ops?: string[] | undefined;
|
622
|
+
kid?: string | undefined;
|
623
|
+
n?: string | undefined;
|
624
|
+
p?: string | undefined;
|
625
|
+
q?: string | undefined;
|
626
|
+
qi?: string | undefined;
|
627
|
+
use?: string | undefined;
|
628
|
+
x?: string | undefined;
|
629
|
+
y?: string | undefined;
|
630
|
+
x5c?: string[] | undefined;
|
631
|
+
x5t?: string | undefined;
|
632
|
+
"x5t#S256"?: string | undefined;
|
633
|
+
x5u?: string | undefined;
|
634
|
+
}[];
|
635
|
+
};
|
636
|
+
metadata: {
|
637
|
+
wallet_relying_party: {
|
638
|
+
client_id: string;
|
639
|
+
jwks: {
|
640
|
+
keys: {
|
641
|
+
kty: "RSA" | "EC";
|
642
|
+
alg?: string | undefined;
|
643
|
+
crv?: string | undefined;
|
644
|
+
d?: string | undefined;
|
645
|
+
dp?: string | undefined;
|
646
|
+
dq?: string | undefined;
|
647
|
+
e?: string | undefined;
|
648
|
+
ext?: boolean | undefined;
|
649
|
+
k?: string | undefined;
|
650
|
+
key_ops?: string[] | undefined;
|
651
|
+
kid?: string | undefined;
|
652
|
+
n?: string | undefined;
|
653
|
+
p?: string | undefined;
|
654
|
+
q?: string | undefined;
|
655
|
+
qi?: string | undefined;
|
656
|
+
use?: string | undefined;
|
657
|
+
x?: string | undefined;
|
658
|
+
y?: string | undefined;
|
659
|
+
x5c?: string[] | undefined;
|
660
|
+
x5t?: string | undefined;
|
661
|
+
"x5t#S256"?: string | undefined;
|
662
|
+
x5u?: string | undefined;
|
663
|
+
}[];
|
664
|
+
};
|
665
|
+
application_type: string;
|
666
|
+
client_name: string;
|
667
|
+
contacts: string[];
|
668
|
+
};
|
669
|
+
federation_entity: {
|
670
|
+
organization_name: string;
|
671
|
+
contacts: string[];
|
672
|
+
homepage_uri: string;
|
673
|
+
policy_uri: string;
|
674
|
+
logo_uri: string;
|
675
|
+
};
|
676
|
+
};
|
677
|
+
authority_hints: string[];
|
678
|
+
}>;
|
679
|
+
}, "strip", z.ZodTypeAny, {
|
680
|
+
header: {
|
681
|
+
alg: string;
|
682
|
+
kid: string;
|
683
|
+
typ: "entity-statement+jwt";
|
684
|
+
};
|
685
|
+
payload: {
|
686
|
+
iss: string;
|
687
|
+
sub: string;
|
688
|
+
iat: number;
|
689
|
+
exp: number;
|
690
|
+
jwks: {
|
691
|
+
keys: {
|
692
|
+
kty: "RSA" | "EC";
|
693
|
+
alg?: string | undefined;
|
694
|
+
crv?: string | undefined;
|
695
|
+
d?: string | undefined;
|
696
|
+
dp?: string | undefined;
|
697
|
+
dq?: string | undefined;
|
698
|
+
e?: string | undefined;
|
699
|
+
ext?: boolean | undefined;
|
700
|
+
k?: string | undefined;
|
701
|
+
key_ops?: string[] | undefined;
|
702
|
+
kid?: string | undefined;
|
703
|
+
n?: string | undefined;
|
704
|
+
p?: string | undefined;
|
705
|
+
q?: string | undefined;
|
706
|
+
qi?: string | undefined;
|
707
|
+
use?: string | undefined;
|
708
|
+
x?: string | undefined;
|
709
|
+
y?: string | undefined;
|
710
|
+
x5c?: string[] | undefined;
|
711
|
+
x5t?: string | undefined;
|
712
|
+
"x5t#S256"?: string | undefined;
|
713
|
+
x5u?: string | undefined;
|
714
|
+
}[];
|
715
|
+
};
|
716
|
+
metadata: {
|
717
|
+
wallet_relying_party: {
|
718
|
+
client_id: string;
|
719
|
+
jwks: {
|
720
|
+
keys: {
|
721
|
+
kty: "RSA" | "EC";
|
722
|
+
alg?: string | undefined;
|
723
|
+
crv?: string | undefined;
|
724
|
+
d?: string | undefined;
|
725
|
+
dp?: string | undefined;
|
726
|
+
dq?: string | undefined;
|
727
|
+
e?: string | undefined;
|
728
|
+
ext?: boolean | undefined;
|
729
|
+
k?: string | undefined;
|
730
|
+
key_ops?: string[] | undefined;
|
731
|
+
kid?: string | undefined;
|
732
|
+
n?: string | undefined;
|
733
|
+
p?: string | undefined;
|
734
|
+
q?: string | undefined;
|
735
|
+
qi?: string | undefined;
|
736
|
+
use?: string | undefined;
|
737
|
+
x?: string | undefined;
|
738
|
+
y?: string | undefined;
|
739
|
+
x5c?: string[] | undefined;
|
740
|
+
x5t?: string | undefined;
|
741
|
+
"x5t#S256"?: string | undefined;
|
742
|
+
x5u?: string | undefined;
|
743
|
+
}[];
|
744
|
+
};
|
745
|
+
application_type: string;
|
746
|
+
client_name: string;
|
747
|
+
contacts: string[];
|
748
|
+
};
|
749
|
+
federation_entity: {
|
750
|
+
organization_name: string;
|
751
|
+
contacts: string[];
|
752
|
+
homepage_uri: string;
|
753
|
+
policy_uri: string;
|
754
|
+
logo_uri: string;
|
755
|
+
};
|
756
|
+
};
|
757
|
+
authority_hints: string[];
|
758
|
+
};
|
759
|
+
}, {
|
760
|
+
header: {
|
761
|
+
alg: string;
|
762
|
+
kid: string;
|
763
|
+
typ: "entity-statement+jwt";
|
764
|
+
};
|
765
|
+
payload: {
|
766
|
+
iss: string;
|
767
|
+
sub: string;
|
768
|
+
iat: number;
|
769
|
+
exp: number;
|
770
|
+
jwks: {
|
771
|
+
keys: {
|
772
|
+
kty: "RSA" | "EC";
|
773
|
+
alg?: string | undefined;
|
774
|
+
crv?: string | undefined;
|
775
|
+
d?: string | undefined;
|
776
|
+
dp?: string | undefined;
|
777
|
+
dq?: string | undefined;
|
778
|
+
e?: string | undefined;
|
779
|
+
ext?: boolean | undefined;
|
780
|
+
k?: string | undefined;
|
781
|
+
key_ops?: string[] | undefined;
|
782
|
+
kid?: string | undefined;
|
783
|
+
n?: string | undefined;
|
784
|
+
p?: string | undefined;
|
785
|
+
q?: string | undefined;
|
786
|
+
qi?: string | undefined;
|
787
|
+
use?: string | undefined;
|
788
|
+
x?: string | undefined;
|
789
|
+
y?: string | undefined;
|
790
|
+
x5c?: string[] | undefined;
|
791
|
+
x5t?: string | undefined;
|
792
|
+
"x5t#S256"?: string | undefined;
|
793
|
+
x5u?: string | undefined;
|
794
|
+
}[];
|
795
|
+
};
|
796
|
+
metadata: {
|
797
|
+
wallet_relying_party: {
|
798
|
+
client_id: string;
|
799
|
+
jwks: {
|
800
|
+
keys: {
|
801
|
+
kty: "RSA" | "EC";
|
802
|
+
alg?: string | undefined;
|
803
|
+
crv?: string | undefined;
|
804
|
+
d?: string | undefined;
|
805
|
+
dp?: string | undefined;
|
806
|
+
dq?: string | undefined;
|
807
|
+
e?: string | undefined;
|
808
|
+
ext?: boolean | undefined;
|
809
|
+
k?: string | undefined;
|
810
|
+
key_ops?: string[] | undefined;
|
811
|
+
kid?: string | undefined;
|
812
|
+
n?: string | undefined;
|
813
|
+
p?: string | undefined;
|
814
|
+
q?: string | undefined;
|
815
|
+
qi?: string | undefined;
|
816
|
+
use?: string | undefined;
|
817
|
+
x?: string | undefined;
|
818
|
+
y?: string | undefined;
|
819
|
+
x5c?: string[] | undefined;
|
820
|
+
x5t?: string | undefined;
|
821
|
+
"x5t#S256"?: string | undefined;
|
822
|
+
x5u?: string | undefined;
|
823
|
+
}[];
|
824
|
+
};
|
825
|
+
application_type: string;
|
826
|
+
client_name: string;
|
827
|
+
contacts: string[];
|
828
|
+
};
|
829
|
+
federation_entity: {
|
830
|
+
organization_name: string;
|
831
|
+
contacts: string[];
|
832
|
+
homepage_uri: string;
|
833
|
+
policy_uri: string;
|
834
|
+
logo_uri: string;
|
835
|
+
};
|
836
|
+
};
|
837
|
+
authority_hints: string[];
|
838
|
+
};
|
839
|
+
}>;
|
840
|
+
//# sourceMappingURL=types.d.ts.map
|