@atproto/oauth-client 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +12 -6
  3. package/dist/atproto-token-response.d.ts +110 -0
  4. package/dist/atproto-token-response.d.ts.map +1 -0
  5. package/dist/atproto-token-response.js +20 -0
  6. package/dist/atproto-token-response.js.map +1 -0
  7. package/dist/fetch-dpop.js +1 -2
  8. package/dist/fetch-dpop.js.map +1 -1
  9. package/dist/oauth-authorization-server-metadata-resolver.d.ts +6 -2
  10. package/dist/oauth-authorization-server-metadata-resolver.d.ts.map +1 -1
  11. package/dist/oauth-authorization-server-metadata-resolver.js +18 -9
  12. package/dist/oauth-authorization-server-metadata-resolver.js.map +1 -1
  13. package/dist/oauth-callback-error.d.ts.map +1 -1
  14. package/dist/oauth-client.d.ts +30 -15
  15. package/dist/oauth-client.d.ts.map +1 -1
  16. package/dist/oauth-client.js +22 -13
  17. package/dist/oauth-client.js.map +1 -1
  18. package/dist/oauth-protected-resource-metadata-resolver.d.ts +5 -1
  19. package/dist/oauth-protected-resource-metadata-resolver.d.ts.map +1 -1
  20. package/dist/oauth-protected-resource-metadata-resolver.js +18 -11
  21. package/dist/oauth-protected-resource-metadata-resolver.js.map +1 -1
  22. package/dist/oauth-resolver.d.ts +1 -1
  23. package/dist/oauth-server-agent.d.ts +14 -11
  24. package/dist/oauth-server-agent.d.ts.map +1 -1
  25. package/dist/oauth-server-agent.js +66 -47
  26. package/dist/oauth-server-agent.js.map +1 -1
  27. package/dist/oauth-session.d.ts +13 -8
  28. package/dist/oauth-session.d.ts.map +1 -1
  29. package/dist/oauth-session.js +12 -7
  30. package/dist/oauth-session.js.map +1 -1
  31. package/dist/runtime.d.ts +1 -1
  32. package/dist/runtime.js.map +1 -1
  33. package/dist/session-getter.d.ts +5 -4
  34. package/dist/session-getter.d.ts.map +1 -1
  35. package/dist/session-getter.js +52 -32
  36. package/dist/session-getter.js.map +1 -1
  37. package/dist/types.d.ts +98 -102
  38. package/dist/types.d.ts.map +1 -1
  39. package/dist/types.js.map +1 -1
  40. package/dist/util.d.ts +6 -1
  41. package/dist/util.d.ts.map +1 -1
  42. package/dist/util.js +56 -2
  43. package/dist/util.js.map +1 -1
  44. package/dist/validate-client-metadata.js +1 -2
  45. package/dist/validate-client-metadata.js.map +1 -1
  46. package/package.json +7 -7
  47. package/src/atproto-token-response.ts +22 -0
  48. package/src/oauth-authorization-server-metadata-resolver.ts +22 -8
  49. package/src/oauth-client.ts +61 -27
  50. package/src/oauth-protected-resource-metadata-resolver.ts +22 -12
  51. package/src/oauth-server-agent.ts +87 -68
  52. package/src/oauth-session.ts +21 -13
  53. package/src/runtime.ts +1 -1
  54. package/src/session-getter.ts +53 -33
  55. package/src/types.ts +16 -11
  56. package/src/util.ts +78 -0
  57. package/tsconfig.build.tsbuildinfo +1 -0
package/dist/types.d.ts CHANGED
@@ -1,13 +1,9 @@
1
+ import { OAuthAuthorizationRequestParameters } from '@atproto/oauth-types';
1
2
  import z from 'zod';
2
- export type AuthorizeOptions = {
3
- display?: 'page' | 'popup' | 'touch' | 'wap';
4
- redirect_uri?: string;
5
- prompt?: 'login' | 'none' | 'consent' | 'select_account';
6
- scope?: string;
7
- state?: string;
3
+ import { Simplify } from './util.js';
4
+ export type AuthorizeOptions = Simplify<Omit<OAuthAuthorizationRequestParameters, 'client_id' | 'response_mode' | 'response_type' | 'login_hint' | 'code_challenge' | 'code_challenge_method'> & {
8
5
  signal?: AbortSignal;
9
- ui_locales?: string;
10
- };
6
+ }>;
11
7
  export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<{
12
8
  redirect_uris: z.ZodArray<z.ZodString, "atleastone">;
13
9
  response_types: z.ZodDefault<z.ZodArray<z.ZodEnum<["code", "token", "none", "code id_token token", "code id_token", "code token", "id_token token", "id_token"]>, "atleastone">>;
@@ -28,7 +24,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
28
24
  key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
29
25
  x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30
26
  x5t: z.ZodOptional<z.ZodString>;
31
- 'x5t#S256': z.ZodOptional<z.ZodString>;
27
+ "x5t#S256": z.ZodOptional<z.ZodString>;
32
28
  x5u: z.ZodOptional<z.ZodString>;
33
29
  }, {
34
30
  kty: z.ZodEffects<z.ZodString, string, string>;
@@ -41,7 +37,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
41
37
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
42
38
  x5c?: string[] | undefined;
43
39
  x5t?: string | undefined;
44
- 'x5t#S256'?: string | undefined;
40
+ "x5t#S256"?: string | undefined;
45
41
  x5u?: string | undefined;
46
42
  }, {
47
43
  kty: string;
@@ -52,7 +48,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
52
48
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
53
49
  x5c?: string[] | undefined;
54
50
  x5t?: string | undefined;
55
- 'x5t#S256'?: string | undefined;
51
+ "x5t#S256"?: string | undefined;
56
52
  x5u?: string | undefined;
57
53
  }>, z.ZodObject<z.objectUtil.extendShape<{
58
54
  kty: z.ZodString;
@@ -63,7 +59,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
63
59
  key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
64
60
  x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
65
61
  x5t: z.ZodOptional<z.ZodString>;
66
- 'x5t#S256': z.ZodOptional<z.ZodString>;
62
+ "x5t#S256": z.ZodOptional<z.ZodString>;
67
63
  x5u: z.ZodOptional<z.ZodString>;
68
64
  }, {
69
65
  kty: z.ZodLiteral<"RSA">;
@@ -100,7 +96,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
100
96
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
101
97
  x5c?: string[] | undefined;
102
98
  x5t?: string | undefined;
103
- 'x5t#S256'?: string | undefined;
99
+ "x5t#S256"?: string | undefined;
104
100
  x5u?: string | undefined;
105
101
  d?: string | undefined;
106
102
  p?: string | undefined;
@@ -128,7 +124,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
128
124
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
129
125
  x5c?: string[] | undefined;
130
126
  x5t?: string | undefined;
131
- 'x5t#S256'?: string | undefined;
127
+ "x5t#S256"?: string | undefined;
132
128
  x5u?: string | undefined;
133
129
  d?: string | undefined;
134
130
  p?: string | undefined;
@@ -154,7 +150,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
154
150
  key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
155
151
  x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
156
152
  x5t: z.ZodOptional<z.ZodString>;
157
- 'x5t#S256': z.ZodOptional<z.ZodString>;
153
+ "x5t#S256": z.ZodOptional<z.ZodString>;
158
154
  x5u: z.ZodOptional<z.ZodString>;
159
155
  }, {
160
156
  kty: z.ZodLiteral<"EC">;
@@ -175,7 +171,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
175
171
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
176
172
  x5c?: string[] | undefined;
177
173
  x5t?: string | undefined;
178
- 'x5t#S256'?: string | undefined;
174
+ "x5t#S256"?: string | undefined;
179
175
  x5u?: string | undefined;
180
176
  d?: string | undefined;
181
177
  }, {
@@ -190,7 +186,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
190
186
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
191
187
  x5c?: string[] | undefined;
192
188
  x5t?: string | undefined;
193
- 'x5t#S256'?: string | undefined;
189
+ "x5t#S256"?: string | undefined;
194
190
  x5u?: string | undefined;
195
191
  d?: string | undefined;
196
192
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -202,7 +198,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
202
198
  key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
203
199
  x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
204
200
  x5t: z.ZodOptional<z.ZodString>;
205
- 'x5t#S256': z.ZodOptional<z.ZodString>;
201
+ "x5t#S256": z.ZodOptional<z.ZodString>;
206
202
  x5u: z.ZodOptional<z.ZodString>;
207
203
  }, {
208
204
  kty: z.ZodLiteral<"EC">;
@@ -223,7 +219,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
223
219
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
224
220
  x5c?: string[] | undefined;
225
221
  x5t?: string | undefined;
226
- 'x5t#S256'?: string | undefined;
222
+ "x5t#S256"?: string | undefined;
227
223
  x5u?: string | undefined;
228
224
  d?: string | undefined;
229
225
  }, {
@@ -238,7 +234,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
238
234
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
239
235
  x5c?: string[] | undefined;
240
236
  x5t?: string | undefined;
241
- 'x5t#S256'?: string | undefined;
237
+ "x5t#S256"?: string | undefined;
242
238
  x5u?: string | undefined;
243
239
  d?: string | undefined;
244
240
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -250,7 +246,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
250
246
  key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
251
247
  x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
252
248
  x5t: z.ZodOptional<z.ZodString>;
253
- 'x5t#S256': z.ZodOptional<z.ZodString>;
249
+ "x5t#S256": z.ZodOptional<z.ZodString>;
254
250
  x5u: z.ZodOptional<z.ZodString>;
255
251
  }, {
256
252
  kty: z.ZodLiteral<"OKP">;
@@ -269,7 +265,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
269
265
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
270
266
  x5c?: string[] | undefined;
271
267
  x5t?: string | undefined;
272
- 'x5t#S256'?: string | undefined;
268
+ "x5t#S256"?: string | undefined;
273
269
  x5u?: string | undefined;
274
270
  d?: string | undefined;
275
271
  }, {
@@ -283,7 +279,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
283
279
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
284
280
  x5c?: string[] | undefined;
285
281
  x5t?: string | undefined;
286
- 'x5t#S256'?: string | undefined;
282
+ "x5t#S256"?: string | undefined;
287
283
  x5u?: string | undefined;
288
284
  d?: string | undefined;
289
285
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -295,7 +291,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
295
291
  key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
296
292
  x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
297
293
  x5t: z.ZodOptional<z.ZodString>;
298
- 'x5t#S256': z.ZodOptional<z.ZodString>;
294
+ "x5t#S256": z.ZodOptional<z.ZodString>;
299
295
  x5u: z.ZodOptional<z.ZodString>;
300
296
  }, {
301
297
  kty: z.ZodLiteral<"oct">;
@@ -311,7 +307,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
311
307
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
312
308
  x5c?: string[] | undefined;
313
309
  x5t?: string | undefined;
314
- 'x5t#S256'?: string | undefined;
310
+ "x5t#S256"?: string | undefined;
315
311
  x5u?: string | undefined;
316
312
  }, {
317
313
  kty: "oct";
@@ -323,7 +319,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
323
319
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
324
320
  x5c?: string[] | undefined;
325
321
  x5t?: string | undefined;
326
- 'x5t#S256'?: string | undefined;
322
+ "x5t#S256"?: string | undefined;
327
323
  x5u?: string | undefined;
328
324
  }>]>, {
329
325
  kty: "RSA";
@@ -336,7 +332,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
336
332
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
337
333
  x5c?: string[] | undefined;
338
334
  x5t?: string | undefined;
339
- 'x5t#S256'?: string | undefined;
335
+ "x5t#S256"?: string | undefined;
340
336
  x5u?: string | undefined;
341
337
  d?: string | undefined;
342
338
  p?: string | undefined;
@@ -365,7 +361,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
365
361
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
366
362
  x5c?: string[] | undefined;
367
363
  x5t?: string | undefined;
368
- 'x5t#S256'?: string | undefined;
364
+ "x5t#S256"?: string | undefined;
369
365
  x5u?: string | undefined;
370
366
  d?: string | undefined;
371
367
  } | {
@@ -380,7 +376,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
380
376
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
381
377
  x5c?: string[] | undefined;
382
378
  x5t?: string | undefined;
383
- 'x5t#S256'?: string | undefined;
379
+ "x5t#S256"?: string | undefined;
384
380
  x5u?: string | undefined;
385
381
  d?: string | undefined;
386
382
  } | {
@@ -394,7 +390,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
394
390
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
395
391
  x5c?: string[] | undefined;
396
392
  x5t?: string | undefined;
397
- 'x5t#S256'?: string | undefined;
393
+ "x5t#S256"?: string | undefined;
398
394
  x5u?: string | undefined;
399
395
  d?: string | undefined;
400
396
  } | {
@@ -407,7 +403,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
407
403
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
408
404
  x5c?: string[] | undefined;
409
405
  x5t?: string | undefined;
410
- 'x5t#S256'?: string | undefined;
406
+ "x5t#S256"?: string | undefined;
411
407
  x5u?: string | undefined;
412
408
  } | {
413
409
  kty: string;
@@ -418,7 +414,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
418
414
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
419
415
  x5c?: string[] | undefined;
420
416
  x5t?: string | undefined;
421
- 'x5t#S256'?: string | undefined;
417
+ "x5t#S256"?: string | undefined;
422
418
  x5u?: string | undefined;
423
419
  }, {
424
420
  kty: "RSA";
@@ -431,7 +427,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
431
427
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
432
428
  x5c?: string[] | undefined;
433
429
  x5t?: string | undefined;
434
- 'x5t#S256'?: string | undefined;
430
+ "x5t#S256"?: string | undefined;
435
431
  x5u?: string | undefined;
436
432
  d?: string | undefined;
437
433
  p?: string | undefined;
@@ -460,7 +456,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
460
456
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
461
457
  x5c?: string[] | undefined;
462
458
  x5t?: string | undefined;
463
- 'x5t#S256'?: string | undefined;
459
+ "x5t#S256"?: string | undefined;
464
460
  x5u?: string | undefined;
465
461
  d?: string | undefined;
466
462
  } | {
@@ -475,7 +471,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
475
471
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
476
472
  x5c?: string[] | undefined;
477
473
  x5t?: string | undefined;
478
- 'x5t#S256'?: string | undefined;
474
+ "x5t#S256"?: string | undefined;
479
475
  x5u?: string | undefined;
480
476
  d?: string | undefined;
481
477
  } | {
@@ -489,7 +485,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
489
485
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
490
486
  x5c?: string[] | undefined;
491
487
  x5t?: string | undefined;
492
- 'x5t#S256'?: string | undefined;
488
+ "x5t#S256"?: string | undefined;
493
489
  x5u?: string | undefined;
494
490
  d?: string | undefined;
495
491
  } | {
@@ -502,7 +498,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
502
498
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
503
499
  x5c?: string[] | undefined;
504
500
  x5t?: string | undefined;
505
- 'x5t#S256'?: string | undefined;
501
+ "x5t#S256"?: string | undefined;
506
502
  x5u?: string | undefined;
507
503
  } | {
508
504
  kty: string;
@@ -513,7 +509,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
513
509
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
514
510
  x5c?: string[] | undefined;
515
511
  x5t?: string | undefined;
516
- 'x5t#S256'?: string | undefined;
512
+ "x5t#S256"?: string | undefined;
517
513
  x5u?: string | undefined;
518
514
  }>, {
519
515
  kty: "RSA";
@@ -526,7 +522,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
526
522
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
527
523
  x5c?: string[] | undefined;
528
524
  x5t?: string | undefined;
529
- 'x5t#S256'?: string | undefined;
525
+ "x5t#S256"?: string | undefined;
530
526
  x5u?: string | undefined;
531
527
  d?: string | undefined;
532
528
  p?: string | undefined;
@@ -555,7 +551,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
555
551
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
556
552
  x5c?: string[] | undefined;
557
553
  x5t?: string | undefined;
558
- 'x5t#S256'?: string | undefined;
554
+ "x5t#S256"?: string | undefined;
559
555
  x5u?: string | undefined;
560
556
  d?: string | undefined;
561
557
  } | {
@@ -570,7 +566,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
570
566
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
571
567
  x5c?: string[] | undefined;
572
568
  x5t?: string | undefined;
573
- 'x5t#S256'?: string | undefined;
569
+ "x5t#S256"?: string | undefined;
574
570
  x5u?: string | undefined;
575
571
  d?: string | undefined;
576
572
  } | {
@@ -584,7 +580,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
584
580
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
585
581
  x5c?: string[] | undefined;
586
582
  x5t?: string | undefined;
587
- 'x5t#S256'?: string | undefined;
583
+ "x5t#S256"?: string | undefined;
588
584
  x5u?: string | undefined;
589
585
  d?: string | undefined;
590
586
  } | {
@@ -597,7 +593,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
597
593
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
598
594
  x5c?: string[] | undefined;
599
595
  x5t?: string | undefined;
600
- 'x5t#S256'?: string | undefined;
596
+ "x5t#S256"?: string | undefined;
601
597
  x5u?: string | undefined;
602
598
  } | {
603
599
  kty: string;
@@ -608,7 +604,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
608
604
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
609
605
  x5c?: string[] | undefined;
610
606
  x5t?: string | undefined;
611
- 'x5t#S256'?: string | undefined;
607
+ "x5t#S256"?: string | undefined;
612
608
  x5u?: string | undefined;
613
609
  }, {
614
610
  kty: "RSA";
@@ -621,7 +617,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
621
617
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
622
618
  x5c?: string[] | undefined;
623
619
  x5t?: string | undefined;
624
- 'x5t#S256'?: string | undefined;
620
+ "x5t#S256"?: string | undefined;
625
621
  x5u?: string | undefined;
626
622
  d?: string | undefined;
627
623
  p?: string | undefined;
@@ -650,7 +646,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
650
646
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
651
647
  x5c?: string[] | undefined;
652
648
  x5t?: string | undefined;
653
- 'x5t#S256'?: string | undefined;
649
+ "x5t#S256"?: string | undefined;
654
650
  x5u?: string | undefined;
655
651
  d?: string | undefined;
656
652
  } | {
@@ -665,7 +661,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
665
661
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
666
662
  x5c?: string[] | undefined;
667
663
  x5t?: string | undefined;
668
- 'x5t#S256'?: string | undefined;
664
+ "x5t#S256"?: string | undefined;
669
665
  x5u?: string | undefined;
670
666
  d?: string | undefined;
671
667
  } | {
@@ -679,7 +675,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
679
675
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
680
676
  x5c?: string[] | undefined;
681
677
  x5t?: string | undefined;
682
- 'x5t#S256'?: string | undefined;
678
+ "x5t#S256"?: string | undefined;
683
679
  x5u?: string | undefined;
684
680
  d?: string | undefined;
685
681
  } | {
@@ -692,7 +688,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
692
688
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
693
689
  x5c?: string[] | undefined;
694
690
  x5t?: string | undefined;
695
- 'x5t#S256'?: string | undefined;
691
+ "x5t#S256"?: string | undefined;
696
692
  x5u?: string | undefined;
697
693
  } | {
698
694
  kty: string;
@@ -703,7 +699,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
703
699
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
704
700
  x5c?: string[] | undefined;
705
701
  x5t?: string | undefined;
706
- 'x5t#S256'?: string | undefined;
702
+ "x5t#S256"?: string | undefined;
707
703
  x5u?: string | undefined;
708
704
  }>, {
709
705
  kty: "RSA";
@@ -716,7 +712,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
716
712
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
717
713
  x5c?: string[] | undefined;
718
714
  x5t?: string | undefined;
719
- 'x5t#S256'?: string | undefined;
715
+ "x5t#S256"?: string | undefined;
720
716
  x5u?: string | undefined;
721
717
  d?: string | undefined;
722
718
  p?: string | undefined;
@@ -745,7 +741,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
745
741
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
746
742
  x5c?: string[] | undefined;
747
743
  x5t?: string | undefined;
748
- 'x5t#S256'?: string | undefined;
744
+ "x5t#S256"?: string | undefined;
749
745
  x5u?: string | undefined;
750
746
  d?: string | undefined;
751
747
  } | {
@@ -760,7 +756,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
760
756
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
761
757
  x5c?: string[] | undefined;
762
758
  x5t?: string | undefined;
763
- 'x5t#S256'?: string | undefined;
759
+ "x5t#S256"?: string | undefined;
764
760
  x5u?: string | undefined;
765
761
  d?: string | undefined;
766
762
  } | {
@@ -774,7 +770,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
774
770
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
775
771
  x5c?: string[] | undefined;
776
772
  x5t?: string | undefined;
777
- 'x5t#S256'?: string | undefined;
773
+ "x5t#S256"?: string | undefined;
778
774
  x5u?: string | undefined;
779
775
  d?: string | undefined;
780
776
  } | {
@@ -787,7 +783,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
787
783
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
788
784
  x5c?: string[] | undefined;
789
785
  x5t?: string | undefined;
790
- 'x5t#S256'?: string | undefined;
786
+ "x5t#S256"?: string | undefined;
791
787
  x5u?: string | undefined;
792
788
  } | {
793
789
  kty: string;
@@ -798,7 +794,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
798
794
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
799
795
  x5c?: string[] | undefined;
800
796
  x5t?: string | undefined;
801
- 'x5t#S256'?: string | undefined;
797
+ "x5t#S256"?: string | undefined;
802
798
  x5u?: string | undefined;
803
799
  }, {
804
800
  kty: "RSA";
@@ -811,7 +807,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
811
807
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
812
808
  x5c?: string[] | undefined;
813
809
  x5t?: string | undefined;
814
- 'x5t#S256'?: string | undefined;
810
+ "x5t#S256"?: string | undefined;
815
811
  x5u?: string | undefined;
816
812
  d?: string | undefined;
817
813
  p?: string | undefined;
@@ -840,7 +836,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
840
836
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
841
837
  x5c?: string[] | undefined;
842
838
  x5t?: string | undefined;
843
- 'x5t#S256'?: string | undefined;
839
+ "x5t#S256"?: string | undefined;
844
840
  x5u?: string | undefined;
845
841
  d?: string | undefined;
846
842
  } | {
@@ -855,7 +851,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
855
851
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
856
852
  x5c?: string[] | undefined;
857
853
  x5t?: string | undefined;
858
- 'x5t#S256'?: string | undefined;
854
+ "x5t#S256"?: string | undefined;
859
855
  x5u?: string | undefined;
860
856
  d?: string | undefined;
861
857
  } | {
@@ -869,7 +865,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
869
865
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
870
866
  x5c?: string[] | undefined;
871
867
  x5t?: string | undefined;
872
- 'x5t#S256'?: string | undefined;
868
+ "x5t#S256"?: string | undefined;
873
869
  x5u?: string | undefined;
874
870
  d?: string | undefined;
875
871
  } | {
@@ -882,7 +878,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
882
878
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
883
879
  x5c?: string[] | undefined;
884
880
  x5t?: string | undefined;
885
- 'x5t#S256'?: string | undefined;
881
+ "x5t#S256"?: string | undefined;
886
882
  x5u?: string | undefined;
887
883
  } | {
888
884
  kty: string;
@@ -893,7 +889,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
893
889
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
894
890
  x5c?: string[] | undefined;
895
891
  x5t?: string | undefined;
896
- 'x5t#S256'?: string | undefined;
892
+ "x5t#S256"?: string | undefined;
897
893
  x5u?: string | undefined;
898
894
  }>, {
899
895
  kty: "RSA";
@@ -906,7 +902,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
906
902
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
907
903
  x5c?: string[] | undefined;
908
904
  x5t?: string | undefined;
909
- 'x5t#S256'?: string | undefined;
905
+ "x5t#S256"?: string | undefined;
910
906
  x5u?: string | undefined;
911
907
  d?: string | undefined;
912
908
  p?: string | undefined;
@@ -935,7 +931,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
935
931
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
936
932
  x5c?: string[] | undefined;
937
933
  x5t?: string | undefined;
938
- 'x5t#S256'?: string | undefined;
934
+ "x5t#S256"?: string | undefined;
939
935
  x5u?: string | undefined;
940
936
  d?: string | undefined;
941
937
  } | {
@@ -950,7 +946,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
950
946
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
951
947
  x5c?: string[] | undefined;
952
948
  x5t?: string | undefined;
953
- 'x5t#S256'?: string | undefined;
949
+ "x5t#S256"?: string | undefined;
954
950
  x5u?: string | undefined;
955
951
  d?: string | undefined;
956
952
  } | {
@@ -964,7 +960,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
964
960
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
965
961
  x5c?: string[] | undefined;
966
962
  x5t?: string | undefined;
967
- 'x5t#S256'?: string | undefined;
963
+ "x5t#S256"?: string | undefined;
968
964
  x5u?: string | undefined;
969
965
  d?: string | undefined;
970
966
  } | {
@@ -977,7 +973,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
977
973
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
978
974
  x5c?: string[] | undefined;
979
975
  x5t?: string | undefined;
980
- 'x5t#S256'?: string | undefined;
976
+ "x5t#S256"?: string | undefined;
981
977
  x5u?: string | undefined;
982
978
  } | {
983
979
  kty: string;
@@ -988,7 +984,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
988
984
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
989
985
  x5c?: string[] | undefined;
990
986
  x5t?: string | undefined;
991
- 'x5t#S256'?: string | undefined;
987
+ "x5t#S256"?: string | undefined;
992
988
  x5u?: string | undefined;
993
989
  }, {
994
990
  kty: "RSA";
@@ -1001,7 +997,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1001
997
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1002
998
  x5c?: string[] | undefined;
1003
999
  x5t?: string | undefined;
1004
- 'x5t#S256'?: string | undefined;
1000
+ "x5t#S256"?: string | undefined;
1005
1001
  x5u?: string | undefined;
1006
1002
  d?: string | undefined;
1007
1003
  p?: string | undefined;
@@ -1030,7 +1026,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1030
1026
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1031
1027
  x5c?: string[] | undefined;
1032
1028
  x5t?: string | undefined;
1033
- 'x5t#S256'?: string | undefined;
1029
+ "x5t#S256"?: string | undefined;
1034
1030
  x5u?: string | undefined;
1035
1031
  d?: string | undefined;
1036
1032
  } | {
@@ -1045,7 +1041,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1045
1041
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1046
1042
  x5c?: string[] | undefined;
1047
1043
  x5t?: string | undefined;
1048
- 'x5t#S256'?: string | undefined;
1044
+ "x5t#S256"?: string | undefined;
1049
1045
  x5u?: string | undefined;
1050
1046
  d?: string | undefined;
1051
1047
  } | {
@@ -1059,7 +1055,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1059
1055
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1060
1056
  x5c?: string[] | undefined;
1061
1057
  x5t?: string | undefined;
1062
- 'x5t#S256'?: string | undefined;
1058
+ "x5t#S256"?: string | undefined;
1063
1059
  x5u?: string | undefined;
1064
1060
  d?: string | undefined;
1065
1061
  } | {
@@ -1072,7 +1068,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1072
1068
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1073
1069
  x5c?: string[] | undefined;
1074
1070
  x5t?: string | undefined;
1075
- 'x5t#S256'?: string | undefined;
1071
+ "x5t#S256"?: string | undefined;
1076
1072
  x5u?: string | undefined;
1077
1073
  } | {
1078
1074
  kty: string;
@@ -1083,7 +1079,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1083
1079
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1084
1080
  x5c?: string[] | undefined;
1085
1081
  x5t?: string | undefined;
1086
- 'x5t#S256'?: string | undefined;
1082
+ "x5t#S256"?: string | undefined;
1087
1083
  x5u?: string | undefined;
1088
1084
  }>, "many">;
1089
1085
  }, "strip", z.ZodTypeAny, {
@@ -1098,7 +1094,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1098
1094
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1099
1095
  x5c?: string[] | undefined;
1100
1096
  x5t?: string | undefined;
1101
- 'x5t#S256'?: string | undefined;
1097
+ "x5t#S256"?: string | undefined;
1102
1098
  x5u?: string | undefined;
1103
1099
  d?: string | undefined;
1104
1100
  p?: string | undefined;
@@ -1127,7 +1123,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1127
1123
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1128
1124
  x5c?: string[] | undefined;
1129
1125
  x5t?: string | undefined;
1130
- 'x5t#S256'?: string | undefined;
1126
+ "x5t#S256"?: string | undefined;
1131
1127
  x5u?: string | undefined;
1132
1128
  d?: string | undefined;
1133
1129
  } | {
@@ -1142,7 +1138,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1142
1138
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1143
1139
  x5c?: string[] | undefined;
1144
1140
  x5t?: string | undefined;
1145
- 'x5t#S256'?: string | undefined;
1141
+ "x5t#S256"?: string | undefined;
1146
1142
  x5u?: string | undefined;
1147
1143
  d?: string | undefined;
1148
1144
  } | {
@@ -1156,7 +1152,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1156
1152
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1157
1153
  x5c?: string[] | undefined;
1158
1154
  x5t?: string | undefined;
1159
- 'x5t#S256'?: string | undefined;
1155
+ "x5t#S256"?: string | undefined;
1160
1156
  x5u?: string | undefined;
1161
1157
  d?: string | undefined;
1162
1158
  } | {
@@ -1169,7 +1165,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1169
1165
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1170
1166
  x5c?: string[] | undefined;
1171
1167
  x5t?: string | undefined;
1172
- 'x5t#S256'?: string | undefined;
1168
+ "x5t#S256"?: string | undefined;
1173
1169
  x5u?: string | undefined;
1174
1170
  } | {
1175
1171
  kty: string;
@@ -1180,7 +1176,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1180
1176
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1181
1177
  x5c?: string[] | undefined;
1182
1178
  x5t?: string | undefined;
1183
- 'x5t#S256'?: string | undefined;
1179
+ "x5t#S256"?: string | undefined;
1184
1180
  x5u?: string | undefined;
1185
1181
  })[];
1186
1182
  }, {
@@ -1195,7 +1191,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1195
1191
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1196
1192
  x5c?: string[] | undefined;
1197
1193
  x5t?: string | undefined;
1198
- 'x5t#S256'?: string | undefined;
1194
+ "x5t#S256"?: string | undefined;
1199
1195
  x5u?: string | undefined;
1200
1196
  d?: string | undefined;
1201
1197
  p?: string | undefined;
@@ -1224,7 +1220,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1224
1220
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1225
1221
  x5c?: string[] | undefined;
1226
1222
  x5t?: string | undefined;
1227
- 'x5t#S256'?: string | undefined;
1223
+ "x5t#S256"?: string | undefined;
1228
1224
  x5u?: string | undefined;
1229
1225
  d?: string | undefined;
1230
1226
  } | {
@@ -1239,7 +1235,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1239
1235
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1240
1236
  x5c?: string[] | undefined;
1241
1237
  x5t?: string | undefined;
1242
- 'x5t#S256'?: string | undefined;
1238
+ "x5t#S256"?: string | undefined;
1243
1239
  x5u?: string | undefined;
1244
1240
  d?: string | undefined;
1245
1241
  } | {
@@ -1253,7 +1249,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1253
1249
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1254
1250
  x5c?: string[] | undefined;
1255
1251
  x5t?: string | undefined;
1256
- 'x5t#S256'?: string | undefined;
1252
+ "x5t#S256"?: string | undefined;
1257
1253
  x5u?: string | undefined;
1258
1254
  d?: string | undefined;
1259
1255
  } | {
@@ -1266,7 +1262,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1266
1262
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1267
1263
  x5c?: string[] | undefined;
1268
1264
  x5t?: string | undefined;
1269
- 'x5t#S256'?: string | undefined;
1265
+ "x5t#S256"?: string | undefined;
1270
1266
  x5u?: string | undefined;
1271
1267
  } | {
1272
1268
  kty: string;
@@ -1277,7 +1273,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1277
1273
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1278
1274
  x5c?: string[] | undefined;
1279
1275
  x5t?: string | undefined;
1280
- 'x5t#S256'?: string | undefined;
1276
+ "x5t#S256"?: string | undefined;
1281
1277
  x5u?: string | undefined;
1282
1278
  })[];
1283
1279
  }>>;
@@ -1305,8 +1301,8 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1305
1301
  }>, "strip", z.ZodTypeAny, {
1306
1302
  client_id: string;
1307
1303
  redirect_uris: [string, ...string[]];
1308
- response_types: ["none" | "code" | "token" | "code id_token token" | "code id_token" | "code token" | "id_token token" | "id_token", ...("none" | "code" | "token" | "code id_token token" | "code id_token" | "code token" | "id_token token" | "id_token")[]];
1309
- grant_types: ["authorization_code" | "implicit" | "refresh_token" | "password" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer", ...("authorization_code" | "implicit" | "refresh_token" | "password" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer")[]];
1304
+ response_types: ["code" | "id_token" | "token" | "none" | "code id_token token" | "code id_token" | "code token" | "id_token token", ...("code" | "id_token" | "token" | "none" | "code id_token token" | "code id_token" | "code token" | "id_token token")[]];
1305
+ grant_types: ["refresh_token" | "authorization_code" | "implicit" | "password" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer", ...("refresh_token" | "authorization_code" | "implicit" | "password" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer")[]];
1310
1306
  scope?: string | undefined;
1311
1307
  token_endpoint_auth_method?: "none" | "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1312
1308
  token_endpoint_auth_signing_alg?: string | undefined;
@@ -1325,7 +1321,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1325
1321
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1326
1322
  x5c?: string[] | undefined;
1327
1323
  x5t?: string | undefined;
1328
- 'x5t#S256'?: string | undefined;
1324
+ "x5t#S256"?: string | undefined;
1329
1325
  x5u?: string | undefined;
1330
1326
  d?: string | undefined;
1331
1327
  p?: string | undefined;
@@ -1354,7 +1350,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1354
1350
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1355
1351
  x5c?: string[] | undefined;
1356
1352
  x5t?: string | undefined;
1357
- 'x5t#S256'?: string | undefined;
1353
+ "x5t#S256"?: string | undefined;
1358
1354
  x5u?: string | undefined;
1359
1355
  d?: string | undefined;
1360
1356
  } | {
@@ -1369,7 +1365,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1369
1365
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1370
1366
  x5c?: string[] | undefined;
1371
1367
  x5t?: string | undefined;
1372
- 'x5t#S256'?: string | undefined;
1368
+ "x5t#S256"?: string | undefined;
1373
1369
  x5u?: string | undefined;
1374
1370
  d?: string | undefined;
1375
1371
  } | {
@@ -1383,7 +1379,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1383
1379
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1384
1380
  x5c?: string[] | undefined;
1385
1381
  x5t?: string | undefined;
1386
- 'x5t#S256'?: string | undefined;
1382
+ "x5t#S256"?: string | undefined;
1387
1383
  x5u?: string | undefined;
1388
1384
  d?: string | undefined;
1389
1385
  } | {
@@ -1396,7 +1392,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1396
1392
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1397
1393
  x5c?: string[] | undefined;
1398
1394
  x5t?: string | undefined;
1399
- 'x5t#S256'?: string | undefined;
1395
+ "x5t#S256"?: string | undefined;
1400
1396
  x5u?: string | undefined;
1401
1397
  } | {
1402
1398
  kty: string;
@@ -1407,7 +1403,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1407
1403
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1408
1404
  x5c?: string[] | undefined;
1409
1405
  x5t?: string | undefined;
1410
- 'x5t#S256'?: string | undefined;
1406
+ "x5t#S256"?: string | undefined;
1411
1407
  x5u?: string | undefined;
1412
1408
  })[];
1413
1409
  } | undefined;
@@ -1432,9 +1428,9 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1432
1428
  }, {
1433
1429
  client_id: string;
1434
1430
  redirect_uris: [string, ...string[]];
1435
- response_types?: ["none" | "code" | "token" | "code id_token token" | "code id_token" | "code token" | "id_token token" | "id_token", ...("none" | "code" | "token" | "code id_token token" | "code id_token" | "code token" | "id_token token" | "id_token")[]] | undefined;
1436
- grant_types?: ["authorization_code" | "implicit" | "refresh_token" | "password" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer", ...("authorization_code" | "implicit" | "refresh_token" | "password" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer")[]] | undefined;
1437
1431
  scope?: string | undefined;
1432
+ response_types?: ["code" | "id_token" | "token" | "none" | "code id_token token" | "code id_token" | "code token" | "id_token token", ...("code" | "id_token" | "token" | "none" | "code id_token token" | "code id_token" | "code token" | "id_token token")[]] | undefined;
1433
+ grant_types?: ["refresh_token" | "authorization_code" | "implicit" | "password" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer", ...("refresh_token" | "authorization_code" | "implicit" | "password" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer")[]] | undefined;
1438
1434
  token_endpoint_auth_method?: "none" | "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1439
1435
  token_endpoint_auth_signing_alg?: string | undefined;
1440
1436
  userinfo_signed_response_alg?: string | undefined;
@@ -1452,7 +1448,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1452
1448
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1453
1449
  x5c?: string[] | undefined;
1454
1450
  x5t?: string | undefined;
1455
- 'x5t#S256'?: string | undefined;
1451
+ "x5t#S256"?: string | undefined;
1456
1452
  x5u?: string | undefined;
1457
1453
  d?: string | undefined;
1458
1454
  p?: string | undefined;
@@ -1481,7 +1477,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1481
1477
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1482
1478
  x5c?: string[] | undefined;
1483
1479
  x5t?: string | undefined;
1484
- 'x5t#S256'?: string | undefined;
1480
+ "x5t#S256"?: string | undefined;
1485
1481
  x5u?: string | undefined;
1486
1482
  d?: string | undefined;
1487
1483
  } | {
@@ -1496,7 +1492,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1496
1492
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1497
1493
  x5c?: string[] | undefined;
1498
1494
  x5t?: string | undefined;
1499
- 'x5t#S256'?: string | undefined;
1495
+ "x5t#S256"?: string | undefined;
1500
1496
  x5u?: string | undefined;
1501
1497
  d?: string | undefined;
1502
1498
  } | {
@@ -1510,7 +1506,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1510
1506
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1511
1507
  x5c?: string[] | undefined;
1512
1508
  x5t?: string | undefined;
1513
- 'x5t#S256'?: string | undefined;
1509
+ "x5t#S256"?: string | undefined;
1514
1510
  x5u?: string | undefined;
1515
1511
  d?: string | undefined;
1516
1512
  } | {
@@ -1523,7 +1519,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1523
1519
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1524
1520
  x5c?: string[] | undefined;
1525
1521
  x5t?: string | undefined;
1526
- 'x5t#S256'?: string | undefined;
1522
+ "x5t#S256"?: string | undefined;
1527
1523
  x5u?: string | undefined;
1528
1524
  } | {
1529
1525
  kty: string;
@@ -1534,7 +1530,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
1534
1530
  key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1535
1531
  x5c?: string[] | undefined;
1536
1532
  x5t?: string | undefined;
1537
- 'x5t#S256'?: string | undefined;
1533
+ "x5t#S256"?: string | undefined;
1538
1534
  x5u?: string | undefined;
1539
1535
  })[];
1540
1536
  } | undefined;