@atproto/oauth-provider 0.2.10 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,15 +4,15 @@ export declare const tokenClaimsSchema: z.ZodIntersection<z.ZodObject<{
4
4
  iat: z.ZodNumber;
5
5
  aud: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
6
6
  exp: z.ZodNumber;
7
- }, "strip", z.ZodTypeAny, {
8
- iat: number;
9
- aud: string | [string, ...string[]];
10
- exp: number;
11
- }, {
12
- iat: number;
13
- aud: string | [string, ...string[]];
14
- exp: number;
15
- }>, z.ZodObject<z.objectUtil.extendShape<{
7
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8
+ iat: z.ZodNumber;
9
+ aud: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
10
+ exp: z.ZodNumber;
11
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12
+ iat: z.ZodNumber;
13
+ aud: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
14
+ exp: z.ZodNumber;
15
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<z.objectUtil.extendShape<{
16
16
  nonce: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17
17
  client_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18
18
  scope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1374,58 +1374,154 @@ export declare const tokenClaimsSchema: z.ZodIntersection<z.ZodObject<{
1374
1374
  }, {
1375
1375
  sub: z.ZodString;
1376
1376
  client_id: z.ZodString;
1377
- }>, "strip", z.ZodTypeAny, {
1378
- client_id: string;
1379
- sub: string;
1380
- nonce?: string | undefined;
1381
- scope?: string | undefined;
1382
- authorization_details?: z.objectOutputType<{
1377
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
1378
+ nonce: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1379
+ client_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1380
+ scope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1381
+ authorization_details: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1382
+ type: z.ZodString;
1383
+ locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1384
+ actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1385
+ datatypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1386
+ identifier: z.ZodOptional<z.ZodString>;
1387
+ privileges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1388
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1389
+ type: z.ZodString;
1390
+ locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1391
+ actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1392
+ datatypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1393
+ identifier: z.ZodOptional<z.ZodString>;
1394
+ privileges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1395
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1383
1396
  type: z.ZodString;
1384
1397
  locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1385
1398
  actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1386
1399
  datatypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1387
1400
  identifier: z.ZodOptional<z.ZodString>;
1388
1401
  privileges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1389
- }, z.ZodTypeAny, "passthrough">[] | undefined;
1390
- email?: string | undefined;
1391
- auth_time?: number | undefined;
1392
- acr?: string | undefined;
1393
- name?: string | undefined;
1394
- family_name?: string | undefined;
1395
- given_name?: string | undefined;
1396
- middle_name?: string | undefined;
1397
- nickname?: string | undefined;
1398
- preferred_username?: string | undefined;
1399
- gender?: string | undefined;
1400
- picture?: string | undefined;
1401
- profile?: string | undefined;
1402
- website?: string | undefined;
1403
- birthdate?: string | undefined;
1404
- zoneinfo?: string | undefined;
1405
- locale?: string | undefined;
1406
- updated_at?: number | undefined;
1407
- email_verified?: boolean | undefined;
1408
- phone_number?: string | undefined;
1409
- phone_number_verified?: boolean | undefined;
1410
- address?: {
1402
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
1403
+ email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1404
+ auth_time: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1405
+ acr: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1406
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1407
+ family_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1408
+ given_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1409
+ middle_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1410
+ nickname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1411
+ preferred_username: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1412
+ gender: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1413
+ picture: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1414
+ profile: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1415
+ website: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1416
+ birthdate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1417
+ zoneinfo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1418
+ locale: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1419
+ updated_at: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1420
+ email_verified: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1421
+ phone_number: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1422
+ phone_number_verified: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1423
+ address: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1424
+ formatted: z.ZodOptional<z.ZodString>;
1425
+ street_address: z.ZodOptional<z.ZodString>;
1426
+ locality: z.ZodOptional<z.ZodString>;
1427
+ region: z.ZodOptional<z.ZodString>;
1428
+ postal_code: z.ZodOptional<z.ZodString>;
1429
+ country: z.ZodOptional<z.ZodString>;
1430
+ }, "strip", z.ZodTypeAny, {
1411
1431
  formatted?: string | undefined;
1412
1432
  street_address?: string | undefined;
1413
1433
  locality?: string | undefined;
1414
1434
  region?: string | undefined;
1415
1435
  postal_code?: string | undefined;
1416
1436
  country?: string | undefined;
1417
- } | undefined;
1418
- htm?: string | undefined;
1419
- htu?: string | undefined;
1420
- ath?: string | undefined;
1421
- nbf?: number | undefined;
1422
- azp?: string | undefined;
1423
- amr?: string[] | undefined;
1424
- cnf?: {
1425
- kid?: string | undefined;
1426
- 'x5t#S256'?: string | undefined;
1427
- jku?: string | undefined;
1428
- jwk?: {
1437
+ }, {
1438
+ formatted?: string | undefined;
1439
+ street_address?: string | undefined;
1440
+ locality?: string | undefined;
1441
+ region?: string | undefined;
1442
+ postal_code?: string | undefined;
1443
+ country?: string | undefined;
1444
+ }>>>;
1445
+ htm: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1446
+ htu: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1447
+ ath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1448
+ sub: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1449
+ nbf: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1450
+ azp: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1451
+ amr: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1452
+ cnf: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1453
+ kid: z.ZodOptional<z.ZodString>;
1454
+ jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1455
+ kty: z.ZodString;
1456
+ alg: z.ZodOptional<z.ZodString>;
1457
+ kid: z.ZodOptional<z.ZodString>;
1458
+ ext: z.ZodOptional<z.ZodBoolean>;
1459
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
1460
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
1461
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1462
+ x5t: z.ZodOptional<z.ZodString>;
1463
+ "x5t#S256": z.ZodOptional<z.ZodString>;
1464
+ x5u: z.ZodOptional<z.ZodString>;
1465
+ }, {
1466
+ kty: z.ZodEffects<z.ZodString, string, string>;
1467
+ }>, "strip", z.ZodTypeAny, {
1468
+ kty: string;
1469
+ alg?: string | undefined;
1470
+ kid?: string | undefined;
1471
+ ext?: boolean | undefined;
1472
+ use?: "sig" | "enc" | undefined;
1473
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1474
+ x5c?: string[] | undefined;
1475
+ x5t?: string | undefined;
1476
+ "x5t#S256"?: string | undefined;
1477
+ x5u?: string | undefined;
1478
+ }, {
1479
+ kty: string;
1480
+ alg?: string | undefined;
1481
+ kid?: string | undefined;
1482
+ ext?: boolean | undefined;
1483
+ use?: "sig" | "enc" | undefined;
1484
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1485
+ x5c?: string[] | undefined;
1486
+ x5t?: string | undefined;
1487
+ "x5t#S256"?: string | undefined;
1488
+ x5u?: string | undefined;
1489
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1490
+ kty: z.ZodString;
1491
+ alg: z.ZodOptional<z.ZodString>;
1492
+ kid: z.ZodOptional<z.ZodString>;
1493
+ ext: z.ZodOptional<z.ZodBoolean>;
1494
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
1495
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
1496
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1497
+ x5t: z.ZodOptional<z.ZodString>;
1498
+ "x5t#S256": z.ZodOptional<z.ZodString>;
1499
+ x5u: z.ZodOptional<z.ZodString>;
1500
+ }, {
1501
+ kty: z.ZodLiteral<"RSA">;
1502
+ alg: z.ZodOptional<z.ZodEnum<["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]>>;
1503
+ n: z.ZodString;
1504
+ e: z.ZodString;
1505
+ d: z.ZodOptional<z.ZodString>;
1506
+ p: z.ZodOptional<z.ZodString>;
1507
+ q: z.ZodOptional<z.ZodString>;
1508
+ dp: z.ZodOptional<z.ZodString>;
1509
+ dq: z.ZodOptional<z.ZodString>;
1510
+ qi: z.ZodOptional<z.ZodString>;
1511
+ oth: z.ZodOptional<z.ZodArray<z.ZodObject<{
1512
+ r: z.ZodOptional<z.ZodString>;
1513
+ d: z.ZodOptional<z.ZodString>;
1514
+ t: z.ZodOptional<z.ZodString>;
1515
+ }, "strip", z.ZodTypeAny, {
1516
+ d?: string | undefined;
1517
+ r?: string | undefined;
1518
+ t?: string | undefined;
1519
+ }, {
1520
+ d?: string | undefined;
1521
+ r?: string | undefined;
1522
+ t?: string | undefined;
1523
+ }>, "atleastone">>;
1524
+ }>, "strip", z.ZodTypeAny, {
1429
1525
  kty: "RSA";
1430
1526
  n: string;
1431
1527
  e: string;
@@ -1453,12 +1549,11 @@ export declare const tokenClaimsSchema: z.ZodIntersection<z.ZodObject<{
1453
1549
  r?: string | undefined;
1454
1550
  t?: string | undefined;
1455
1551
  }[]] | undefined;
1456
- } | {
1457
- kty: "EC";
1458
- crv: "P-256" | "P-384" | "P-521";
1459
- x: string;
1460
- y: string;
1461
- alg?: "ES256" | "ES384" | "ES512" | undefined;
1552
+ }, {
1553
+ kty: "RSA";
1554
+ n: string;
1555
+ e: string;
1556
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
1462
1557
  kid?: string | undefined;
1463
1558
  ext?: boolean | undefined;
1464
1559
  use?: "sig" | "enc" | undefined;
@@ -1468,12 +1563,44 @@ export declare const tokenClaimsSchema: z.ZodIntersection<z.ZodObject<{
1468
1563
  "x5t#S256"?: string | undefined;
1469
1564
  x5u?: string | undefined;
1470
1565
  d?: string | undefined;
1471
- } | {
1566
+ p?: string | undefined;
1567
+ q?: string | undefined;
1568
+ dp?: string | undefined;
1569
+ dq?: string | undefined;
1570
+ qi?: string | undefined;
1571
+ oth?: [{
1572
+ d?: string | undefined;
1573
+ r?: string | undefined;
1574
+ t?: string | undefined;
1575
+ }, ...{
1576
+ d?: string | undefined;
1577
+ r?: string | undefined;
1578
+ t?: string | undefined;
1579
+ }[]] | undefined;
1580
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1581
+ kty: z.ZodString;
1582
+ alg: z.ZodOptional<z.ZodString>;
1583
+ kid: z.ZodOptional<z.ZodString>;
1584
+ ext: z.ZodOptional<z.ZodBoolean>;
1585
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
1586
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
1587
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1588
+ x5t: z.ZodOptional<z.ZodString>;
1589
+ "x5t#S256": z.ZodOptional<z.ZodString>;
1590
+ x5u: z.ZodOptional<z.ZodString>;
1591
+ }, {
1592
+ kty: z.ZodLiteral<"EC">;
1593
+ alg: z.ZodOptional<z.ZodEnum<["ES256", "ES384", "ES512"]>>;
1594
+ crv: z.ZodEnum<["P-256", "P-384", "P-521"]>;
1595
+ x: z.ZodString;
1596
+ y: z.ZodString;
1597
+ d: z.ZodOptional<z.ZodString>;
1598
+ }>, "strip", z.ZodTypeAny, {
1472
1599
  kty: "EC";
1473
- crv: "secp256k1";
1600
+ crv: "P-256" | "P-384" | "P-521";
1474
1601
  x: string;
1475
1602
  y: string;
1476
- alg?: "ES256K" | undefined;
1603
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
1477
1604
  kid?: string | undefined;
1478
1605
  ext?: boolean | undefined;
1479
1606
  use?: "sig" | "enc" | undefined;
@@ -1483,11 +1610,12 @@ export declare const tokenClaimsSchema: z.ZodIntersection<z.ZodObject<{
1483
1610
  "x5t#S256"?: string | undefined;
1484
1611
  x5u?: string | undefined;
1485
1612
  d?: string | undefined;
1486
- } | {
1487
- kty: "OKP";
1488
- crv: "Ed25519" | "Ed448";
1613
+ }, {
1614
+ kty: "EC";
1615
+ crv: "P-256" | "P-384" | "P-521";
1489
1616
  x: string;
1490
- alg?: "EdDSA" | undefined;
1617
+ y: string;
1618
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
1491
1619
  kid?: string | undefined;
1492
1620
  ext?: boolean | undefined;
1493
1621
  use?: "sig" | "enc" | undefined;
@@ -1497,10 +1625,30 @@ export declare const tokenClaimsSchema: z.ZodIntersection<z.ZodObject<{
1497
1625
  "x5t#S256"?: string | undefined;
1498
1626
  x5u?: string | undefined;
1499
1627
  d?: string | undefined;
1500
- } | {
1501
- kty: "oct";
1502
- k: string;
1503
- alg?: "HS256" | "HS384" | "HS512" | undefined;
1628
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1629
+ kty: z.ZodString;
1630
+ alg: z.ZodOptional<z.ZodString>;
1631
+ kid: z.ZodOptional<z.ZodString>;
1632
+ ext: z.ZodOptional<z.ZodBoolean>;
1633
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
1634
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
1635
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1636
+ x5t: z.ZodOptional<z.ZodString>;
1637
+ "x5t#S256": z.ZodOptional<z.ZodString>;
1638
+ x5u: z.ZodOptional<z.ZodString>;
1639
+ }, {
1640
+ kty: z.ZodLiteral<"EC">;
1641
+ alg: z.ZodOptional<z.ZodEnum<["ES256K"]>>;
1642
+ crv: z.ZodEnum<["secp256k1"]>;
1643
+ x: z.ZodString;
1644
+ y: z.ZodString;
1645
+ d: z.ZodOptional<z.ZodString>;
1646
+ }>, "strip", z.ZodTypeAny, {
1647
+ kty: "EC";
1648
+ crv: "secp256k1";
1649
+ x: string;
1650
+ y: string;
1651
+ alg?: "ES256K" | undefined;
1504
1652
  kid?: string | undefined;
1505
1653
  ext?: boolean | undefined;
1506
1654
  use?: "sig" | "enc" | undefined;
@@ -1509,9 +1657,13 @@ export declare const tokenClaimsSchema: z.ZodIntersection<z.ZodObject<{
1509
1657
  x5t?: string | undefined;
1510
1658
  "x5t#S256"?: string | undefined;
1511
1659
  x5u?: string | undefined;
1512
- } | {
1513
- kty: string;
1514
- alg?: string | undefined;
1660
+ d?: string | undefined;
1661
+ }, {
1662
+ kty: "EC";
1663
+ crv: "secp256k1";
1664
+ x: string;
1665
+ y: string;
1666
+ alg?: "ES256K" | undefined;
1515
1667
  kid?: string | undefined;
1516
1668
  ext?: boolean | undefined;
1517
1669
  use?: "sig" | "enc" | undefined;
@@ -1520,62 +1672,2323 @@ export declare const tokenClaimsSchema: z.ZodIntersection<z.ZodObject<{
1520
1672
  x5t?: string | undefined;
1521
1673
  "x5t#S256"?: string | undefined;
1522
1674
  x5u?: string | undefined;
1523
- } | undefined;
1524
- jwe?: string | undefined;
1525
- jkt?: string | undefined;
1526
- osc?: string | undefined;
1527
- } | undefined;
1528
- at_hash?: string | undefined;
1529
- c_hash?: string | undefined;
1530
- s_hash?: string | undefined;
1531
- }, {
1532
- client_id: string;
1533
- sub: string;
1534
- nonce?: string | undefined;
1535
- scope?: string | undefined;
1536
- authorization_details?: z.objectInputType<{
1537
- type: z.ZodString;
1538
- locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1539
- actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1540
- datatypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1541
- identifier: z.ZodOptional<z.ZodString>;
1542
- privileges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1543
- }, z.ZodTypeAny, "passthrough">[] | undefined;
1544
- email?: string | undefined;
1545
- auth_time?: number | undefined;
1546
- acr?: string | undefined;
1547
- name?: string | undefined;
1548
- family_name?: string | undefined;
1549
- given_name?: string | undefined;
1550
- middle_name?: string | undefined;
1551
- nickname?: string | undefined;
1552
- preferred_username?: string | undefined;
1553
- gender?: string | undefined;
1554
- picture?: string | undefined;
1555
- profile?: string | undefined;
1556
- website?: string | undefined;
1557
- birthdate?: string | undefined;
1558
- zoneinfo?: string | undefined;
1559
- locale?: string | undefined;
1560
- updated_at?: number | undefined;
1561
- email_verified?: boolean | undefined;
1562
- phone_number?: string | undefined;
1563
- phone_number_verified?: boolean | undefined;
1564
- address?: {
1565
- formatted?: string | undefined;
1566
- street_address?: string | undefined;
1567
- locality?: string | undefined;
1675
+ d?: string | undefined;
1676
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1677
+ kty: z.ZodString;
1678
+ alg: z.ZodOptional<z.ZodString>;
1679
+ kid: z.ZodOptional<z.ZodString>;
1680
+ ext: z.ZodOptional<z.ZodBoolean>;
1681
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
1682
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
1683
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1684
+ x5t: z.ZodOptional<z.ZodString>;
1685
+ "x5t#S256": z.ZodOptional<z.ZodString>;
1686
+ x5u: z.ZodOptional<z.ZodString>;
1687
+ }, {
1688
+ kty: z.ZodLiteral<"OKP">;
1689
+ alg: z.ZodOptional<z.ZodEnum<["EdDSA"]>>;
1690
+ crv: z.ZodEnum<["Ed25519", "Ed448"]>;
1691
+ x: z.ZodString;
1692
+ d: z.ZodOptional<z.ZodString>;
1693
+ }>, "strip", z.ZodTypeAny, {
1694
+ kty: "OKP";
1695
+ crv: "Ed25519" | "Ed448";
1696
+ x: string;
1697
+ alg?: "EdDSA" | undefined;
1698
+ kid?: string | undefined;
1699
+ ext?: boolean | undefined;
1700
+ use?: "sig" | "enc" | undefined;
1701
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1702
+ x5c?: string[] | undefined;
1703
+ x5t?: string | undefined;
1704
+ "x5t#S256"?: string | undefined;
1705
+ x5u?: string | undefined;
1706
+ d?: string | undefined;
1707
+ }, {
1708
+ kty: "OKP";
1709
+ crv: "Ed25519" | "Ed448";
1710
+ x: string;
1711
+ alg?: "EdDSA" | undefined;
1712
+ kid?: string | undefined;
1713
+ ext?: boolean | undefined;
1714
+ use?: "sig" | "enc" | undefined;
1715
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1716
+ x5c?: string[] | undefined;
1717
+ x5t?: string | undefined;
1718
+ "x5t#S256"?: string | undefined;
1719
+ x5u?: string | undefined;
1720
+ d?: string | undefined;
1721
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1722
+ kty: z.ZodString;
1723
+ alg: z.ZodOptional<z.ZodString>;
1724
+ kid: z.ZodOptional<z.ZodString>;
1725
+ ext: z.ZodOptional<z.ZodBoolean>;
1726
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
1727
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
1728
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1729
+ x5t: z.ZodOptional<z.ZodString>;
1730
+ "x5t#S256": z.ZodOptional<z.ZodString>;
1731
+ x5u: z.ZodOptional<z.ZodString>;
1732
+ }, {
1733
+ kty: z.ZodLiteral<"oct">;
1734
+ alg: z.ZodOptional<z.ZodEnum<["HS256", "HS384", "HS512"]>>;
1735
+ k: z.ZodString;
1736
+ }>, "strip", z.ZodTypeAny, {
1737
+ kty: "oct";
1738
+ k: string;
1739
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
1740
+ kid?: string | undefined;
1741
+ ext?: boolean | undefined;
1742
+ use?: "sig" | "enc" | undefined;
1743
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1744
+ x5c?: string[] | undefined;
1745
+ x5t?: string | undefined;
1746
+ "x5t#S256"?: string | undefined;
1747
+ x5u?: string | undefined;
1748
+ }, {
1749
+ kty: "oct";
1750
+ k: string;
1751
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
1752
+ kid?: string | undefined;
1753
+ ext?: boolean | undefined;
1754
+ use?: "sig" | "enc" | undefined;
1755
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1756
+ x5c?: string[] | undefined;
1757
+ x5t?: string | undefined;
1758
+ "x5t#S256"?: string | undefined;
1759
+ x5u?: string | undefined;
1760
+ }>]>, {
1761
+ kty: "RSA";
1762
+ n: string;
1763
+ e: string;
1764
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
1765
+ kid?: string | undefined;
1766
+ ext?: boolean | undefined;
1767
+ use?: "sig" | "enc" | undefined;
1768
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1769
+ x5c?: string[] | undefined;
1770
+ x5t?: string | undefined;
1771
+ "x5t#S256"?: string | undefined;
1772
+ x5u?: string | undefined;
1773
+ d?: string | undefined;
1774
+ p?: string | undefined;
1775
+ q?: string | undefined;
1776
+ dp?: string | undefined;
1777
+ dq?: string | undefined;
1778
+ qi?: string | undefined;
1779
+ oth?: [{
1780
+ d?: string | undefined;
1781
+ r?: string | undefined;
1782
+ t?: string | undefined;
1783
+ }, ...{
1784
+ d?: string | undefined;
1785
+ r?: string | undefined;
1786
+ t?: string | undefined;
1787
+ }[]] | undefined;
1788
+ } | {
1789
+ kty: "EC";
1790
+ crv: "P-256" | "P-384" | "P-521";
1791
+ x: string;
1792
+ y: string;
1793
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
1794
+ kid?: string | undefined;
1795
+ ext?: boolean | undefined;
1796
+ use?: "sig" | "enc" | undefined;
1797
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1798
+ x5c?: string[] | undefined;
1799
+ x5t?: string | undefined;
1800
+ "x5t#S256"?: string | undefined;
1801
+ x5u?: string | undefined;
1802
+ d?: string | undefined;
1803
+ } | {
1804
+ kty: "EC";
1805
+ crv: "secp256k1";
1806
+ x: string;
1807
+ y: string;
1808
+ alg?: "ES256K" | undefined;
1809
+ kid?: string | undefined;
1810
+ ext?: boolean | undefined;
1811
+ use?: "sig" | "enc" | undefined;
1812
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1813
+ x5c?: string[] | undefined;
1814
+ x5t?: string | undefined;
1815
+ "x5t#S256"?: string | undefined;
1816
+ x5u?: string | undefined;
1817
+ d?: string | undefined;
1818
+ } | {
1819
+ kty: "OKP";
1820
+ crv: "Ed25519" | "Ed448";
1821
+ x: string;
1822
+ alg?: "EdDSA" | undefined;
1823
+ kid?: string | undefined;
1824
+ ext?: boolean | undefined;
1825
+ use?: "sig" | "enc" | undefined;
1826
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1827
+ x5c?: string[] | undefined;
1828
+ x5t?: string | undefined;
1829
+ "x5t#S256"?: string | undefined;
1830
+ x5u?: string | undefined;
1831
+ d?: string | undefined;
1832
+ } | {
1833
+ kty: "oct";
1834
+ k: string;
1835
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
1836
+ kid?: string | undefined;
1837
+ ext?: boolean | undefined;
1838
+ use?: "sig" | "enc" | undefined;
1839
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1840
+ x5c?: string[] | undefined;
1841
+ x5t?: string | undefined;
1842
+ "x5t#S256"?: string | undefined;
1843
+ x5u?: string | undefined;
1844
+ } | {
1845
+ kty: string;
1846
+ alg?: string | undefined;
1847
+ kid?: string | undefined;
1848
+ ext?: boolean | undefined;
1849
+ use?: "sig" | "enc" | undefined;
1850
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1851
+ x5c?: string[] | undefined;
1852
+ x5t?: string | undefined;
1853
+ "x5t#S256"?: string | undefined;
1854
+ x5u?: string | undefined;
1855
+ }, {
1856
+ kty: "RSA";
1857
+ n: string;
1858
+ e: string;
1859
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
1860
+ kid?: string | undefined;
1861
+ ext?: boolean | undefined;
1862
+ use?: "sig" | "enc" | undefined;
1863
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1864
+ x5c?: string[] | undefined;
1865
+ x5t?: string | undefined;
1866
+ "x5t#S256"?: string | undefined;
1867
+ x5u?: string | undefined;
1868
+ d?: string | undefined;
1869
+ p?: string | undefined;
1870
+ q?: string | undefined;
1871
+ dp?: string | undefined;
1872
+ dq?: string | undefined;
1873
+ qi?: string | undefined;
1874
+ oth?: [{
1875
+ d?: string | undefined;
1876
+ r?: string | undefined;
1877
+ t?: string | undefined;
1878
+ }, ...{
1879
+ d?: string | undefined;
1880
+ r?: string | undefined;
1881
+ t?: string | undefined;
1882
+ }[]] | undefined;
1883
+ } | {
1884
+ kty: "EC";
1885
+ crv: "P-256" | "P-384" | "P-521";
1886
+ x: string;
1887
+ y: string;
1888
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
1889
+ kid?: string | undefined;
1890
+ ext?: boolean | undefined;
1891
+ use?: "sig" | "enc" | undefined;
1892
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1893
+ x5c?: string[] | undefined;
1894
+ x5t?: string | undefined;
1895
+ "x5t#S256"?: string | undefined;
1896
+ x5u?: string | undefined;
1897
+ d?: string | undefined;
1898
+ } | {
1899
+ kty: "EC";
1900
+ crv: "secp256k1";
1901
+ x: string;
1902
+ y: string;
1903
+ alg?: "ES256K" | undefined;
1904
+ kid?: string | undefined;
1905
+ ext?: boolean | undefined;
1906
+ use?: "sig" | "enc" | undefined;
1907
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1908
+ x5c?: string[] | undefined;
1909
+ x5t?: string | undefined;
1910
+ "x5t#S256"?: string | undefined;
1911
+ x5u?: string | undefined;
1912
+ d?: string | undefined;
1913
+ } | {
1914
+ kty: "OKP";
1915
+ crv: "Ed25519" | "Ed448";
1916
+ x: string;
1917
+ alg?: "EdDSA" | undefined;
1918
+ kid?: string | undefined;
1919
+ ext?: boolean | undefined;
1920
+ use?: "sig" | "enc" | undefined;
1921
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1922
+ x5c?: string[] | undefined;
1923
+ x5t?: string | undefined;
1924
+ "x5t#S256"?: string | undefined;
1925
+ x5u?: string | undefined;
1926
+ d?: string | undefined;
1927
+ } | {
1928
+ kty: "oct";
1929
+ k: string;
1930
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
1931
+ kid?: string | undefined;
1932
+ ext?: boolean | undefined;
1933
+ use?: "sig" | "enc" | undefined;
1934
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1935
+ x5c?: string[] | undefined;
1936
+ x5t?: string | undefined;
1937
+ "x5t#S256"?: string | undefined;
1938
+ x5u?: string | undefined;
1939
+ } | {
1940
+ kty: string;
1941
+ alg?: string | undefined;
1942
+ kid?: string | undefined;
1943
+ ext?: boolean | undefined;
1944
+ use?: "sig" | "enc" | undefined;
1945
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1946
+ x5c?: string[] | undefined;
1947
+ x5t?: string | undefined;
1948
+ "x5t#S256"?: string | undefined;
1949
+ x5u?: string | undefined;
1950
+ }>, {
1951
+ kty: "RSA";
1952
+ n: string;
1953
+ e: string;
1954
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
1955
+ kid?: string | undefined;
1956
+ ext?: boolean | undefined;
1957
+ use?: "sig" | "enc" | undefined;
1958
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1959
+ x5c?: string[] | undefined;
1960
+ x5t?: string | undefined;
1961
+ "x5t#S256"?: string | undefined;
1962
+ x5u?: string | undefined;
1963
+ d?: string | undefined;
1964
+ p?: string | undefined;
1965
+ q?: string | undefined;
1966
+ dp?: string | undefined;
1967
+ dq?: string | undefined;
1968
+ qi?: string | undefined;
1969
+ oth?: [{
1970
+ d?: string | undefined;
1971
+ r?: string | undefined;
1972
+ t?: string | undefined;
1973
+ }, ...{
1974
+ d?: string | undefined;
1975
+ r?: string | undefined;
1976
+ t?: string | undefined;
1977
+ }[]] | undefined;
1978
+ } | {
1979
+ kty: "EC";
1980
+ crv: "P-256" | "P-384" | "P-521";
1981
+ x: string;
1982
+ y: string;
1983
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
1984
+ kid?: string | undefined;
1985
+ ext?: boolean | undefined;
1986
+ use?: "sig" | "enc" | undefined;
1987
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1988
+ x5c?: string[] | undefined;
1989
+ x5t?: string | undefined;
1990
+ "x5t#S256"?: string | undefined;
1991
+ x5u?: string | undefined;
1992
+ d?: string | undefined;
1993
+ } | {
1994
+ kty: "EC";
1995
+ crv: "secp256k1";
1996
+ x: string;
1997
+ y: string;
1998
+ alg?: "ES256K" | undefined;
1999
+ kid?: string | undefined;
2000
+ ext?: boolean | undefined;
2001
+ use?: "sig" | "enc" | undefined;
2002
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2003
+ x5c?: string[] | undefined;
2004
+ x5t?: string | undefined;
2005
+ "x5t#S256"?: string | undefined;
2006
+ x5u?: string | undefined;
2007
+ d?: string | undefined;
2008
+ } | {
2009
+ kty: "OKP";
2010
+ crv: "Ed25519" | "Ed448";
2011
+ x: string;
2012
+ alg?: "EdDSA" | undefined;
2013
+ kid?: string | undefined;
2014
+ ext?: boolean | undefined;
2015
+ use?: "sig" | "enc" | undefined;
2016
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2017
+ x5c?: string[] | undefined;
2018
+ x5t?: string | undefined;
2019
+ "x5t#S256"?: string | undefined;
2020
+ x5u?: string | undefined;
2021
+ d?: string | undefined;
2022
+ } | {
2023
+ kty: "oct";
2024
+ k: string;
2025
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
2026
+ kid?: string | undefined;
2027
+ ext?: boolean | undefined;
2028
+ use?: "sig" | "enc" | undefined;
2029
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2030
+ x5c?: string[] | undefined;
2031
+ x5t?: string | undefined;
2032
+ "x5t#S256"?: string | undefined;
2033
+ x5u?: string | undefined;
2034
+ } | {
2035
+ kty: string;
2036
+ alg?: string | undefined;
2037
+ kid?: string | undefined;
2038
+ ext?: boolean | undefined;
2039
+ use?: "sig" | "enc" | undefined;
2040
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2041
+ x5c?: string[] | undefined;
2042
+ x5t?: string | undefined;
2043
+ "x5t#S256"?: string | undefined;
2044
+ x5u?: string | undefined;
2045
+ }, {
2046
+ kty: "RSA";
2047
+ n: string;
2048
+ e: string;
2049
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2050
+ kid?: string | undefined;
2051
+ ext?: boolean | undefined;
2052
+ use?: "sig" | "enc" | undefined;
2053
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2054
+ x5c?: string[] | undefined;
2055
+ x5t?: string | undefined;
2056
+ "x5t#S256"?: string | undefined;
2057
+ x5u?: string | undefined;
2058
+ d?: string | undefined;
2059
+ p?: string | undefined;
2060
+ q?: string | undefined;
2061
+ dp?: string | undefined;
2062
+ dq?: string | undefined;
2063
+ qi?: string | undefined;
2064
+ oth?: [{
2065
+ d?: string | undefined;
2066
+ r?: string | undefined;
2067
+ t?: string | undefined;
2068
+ }, ...{
2069
+ d?: string | undefined;
2070
+ r?: string | undefined;
2071
+ t?: string | undefined;
2072
+ }[]] | undefined;
2073
+ } | {
2074
+ kty: "EC";
2075
+ crv: "P-256" | "P-384" | "P-521";
2076
+ x: string;
2077
+ y: string;
2078
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
2079
+ kid?: string | undefined;
2080
+ ext?: boolean | undefined;
2081
+ use?: "sig" | "enc" | undefined;
2082
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2083
+ x5c?: string[] | undefined;
2084
+ x5t?: string | undefined;
2085
+ "x5t#S256"?: string | undefined;
2086
+ x5u?: string | undefined;
2087
+ d?: string | undefined;
2088
+ } | {
2089
+ kty: "EC";
2090
+ crv: "secp256k1";
2091
+ x: string;
2092
+ y: string;
2093
+ alg?: "ES256K" | undefined;
2094
+ kid?: string | undefined;
2095
+ ext?: boolean | undefined;
2096
+ use?: "sig" | "enc" | undefined;
2097
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2098
+ x5c?: string[] | undefined;
2099
+ x5t?: string | undefined;
2100
+ "x5t#S256"?: string | undefined;
2101
+ x5u?: string | undefined;
2102
+ d?: string | undefined;
2103
+ } | {
2104
+ kty: "OKP";
2105
+ crv: "Ed25519" | "Ed448";
2106
+ x: string;
2107
+ alg?: "EdDSA" | undefined;
2108
+ kid?: string | undefined;
2109
+ ext?: boolean | undefined;
2110
+ use?: "sig" | "enc" | undefined;
2111
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2112
+ x5c?: string[] | undefined;
2113
+ x5t?: string | undefined;
2114
+ "x5t#S256"?: string | undefined;
2115
+ x5u?: string | undefined;
2116
+ d?: string | undefined;
2117
+ } | {
2118
+ kty: "oct";
2119
+ k: string;
2120
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
2121
+ kid?: string | undefined;
2122
+ ext?: boolean | undefined;
2123
+ use?: "sig" | "enc" | undefined;
2124
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2125
+ x5c?: string[] | undefined;
2126
+ x5t?: string | undefined;
2127
+ "x5t#S256"?: string | undefined;
2128
+ x5u?: string | undefined;
2129
+ } | {
2130
+ kty: string;
2131
+ alg?: string | undefined;
2132
+ kid?: string | undefined;
2133
+ ext?: boolean | undefined;
2134
+ use?: "sig" | "enc" | undefined;
2135
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2136
+ x5c?: string[] | undefined;
2137
+ x5t?: string | undefined;
2138
+ "x5t#S256"?: string | undefined;
2139
+ x5u?: string | undefined;
2140
+ }>, {
2141
+ kty: "RSA";
2142
+ n: string;
2143
+ e: string;
2144
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2145
+ kid?: string | undefined;
2146
+ ext?: boolean | undefined;
2147
+ use?: "sig" | "enc" | undefined;
2148
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2149
+ x5c?: string[] | undefined;
2150
+ x5t?: string | undefined;
2151
+ "x5t#S256"?: string | undefined;
2152
+ x5u?: string | undefined;
2153
+ d?: string | undefined;
2154
+ p?: string | undefined;
2155
+ q?: string | undefined;
2156
+ dp?: string | undefined;
2157
+ dq?: string | undefined;
2158
+ qi?: string | undefined;
2159
+ oth?: [{
2160
+ d?: string | undefined;
2161
+ r?: string | undefined;
2162
+ t?: string | undefined;
2163
+ }, ...{
2164
+ d?: string | undefined;
2165
+ r?: string | undefined;
2166
+ t?: string | undefined;
2167
+ }[]] | undefined;
2168
+ } | {
2169
+ kty: "EC";
2170
+ crv: "P-256" | "P-384" | "P-521";
2171
+ x: string;
2172
+ y: string;
2173
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
2174
+ kid?: string | undefined;
2175
+ ext?: boolean | undefined;
2176
+ use?: "sig" | "enc" | undefined;
2177
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2178
+ x5c?: string[] | undefined;
2179
+ x5t?: string | undefined;
2180
+ "x5t#S256"?: string | undefined;
2181
+ x5u?: string | undefined;
2182
+ d?: string | undefined;
2183
+ } | {
2184
+ kty: "EC";
2185
+ crv: "secp256k1";
2186
+ x: string;
2187
+ y: string;
2188
+ alg?: "ES256K" | undefined;
2189
+ kid?: string | undefined;
2190
+ ext?: boolean | undefined;
2191
+ use?: "sig" | "enc" | undefined;
2192
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2193
+ x5c?: string[] | undefined;
2194
+ x5t?: string | undefined;
2195
+ "x5t#S256"?: string | undefined;
2196
+ x5u?: string | undefined;
2197
+ d?: string | undefined;
2198
+ } | {
2199
+ kty: "OKP";
2200
+ crv: "Ed25519" | "Ed448";
2201
+ x: string;
2202
+ alg?: "EdDSA" | undefined;
2203
+ kid?: string | undefined;
2204
+ ext?: boolean | undefined;
2205
+ use?: "sig" | "enc" | undefined;
2206
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2207
+ x5c?: string[] | undefined;
2208
+ x5t?: string | undefined;
2209
+ "x5t#S256"?: string | undefined;
2210
+ x5u?: string | undefined;
2211
+ d?: string | undefined;
2212
+ } | {
2213
+ kty: "oct";
2214
+ k: string;
2215
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
2216
+ kid?: string | undefined;
2217
+ ext?: boolean | undefined;
2218
+ use?: "sig" | "enc" | undefined;
2219
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2220
+ x5c?: string[] | undefined;
2221
+ x5t?: string | undefined;
2222
+ "x5t#S256"?: string | undefined;
2223
+ x5u?: string | undefined;
2224
+ } | {
2225
+ kty: string;
2226
+ alg?: string | undefined;
2227
+ kid?: string | undefined;
2228
+ ext?: boolean | undefined;
2229
+ use?: "sig" | "enc" | undefined;
2230
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2231
+ x5c?: string[] | undefined;
2232
+ x5t?: string | undefined;
2233
+ "x5t#S256"?: string | undefined;
2234
+ x5u?: string | undefined;
2235
+ }, {
2236
+ kty: "RSA";
2237
+ n: string;
2238
+ e: string;
2239
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2240
+ kid?: string | undefined;
2241
+ ext?: boolean | undefined;
2242
+ use?: "sig" | "enc" | undefined;
2243
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2244
+ x5c?: string[] | undefined;
2245
+ x5t?: string | undefined;
2246
+ "x5t#S256"?: string | undefined;
2247
+ x5u?: string | undefined;
2248
+ d?: string | undefined;
2249
+ p?: string | undefined;
2250
+ q?: string | undefined;
2251
+ dp?: string | undefined;
2252
+ dq?: string | undefined;
2253
+ qi?: string | undefined;
2254
+ oth?: [{
2255
+ d?: string | undefined;
2256
+ r?: string | undefined;
2257
+ t?: string | undefined;
2258
+ }, ...{
2259
+ d?: string | undefined;
2260
+ r?: string | undefined;
2261
+ t?: string | undefined;
2262
+ }[]] | undefined;
2263
+ } | {
2264
+ kty: "EC";
2265
+ crv: "P-256" | "P-384" | "P-521";
2266
+ x: string;
2267
+ y: string;
2268
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
2269
+ kid?: string | undefined;
2270
+ ext?: boolean | undefined;
2271
+ use?: "sig" | "enc" | undefined;
2272
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2273
+ x5c?: string[] | undefined;
2274
+ x5t?: string | undefined;
2275
+ "x5t#S256"?: string | undefined;
2276
+ x5u?: string | undefined;
2277
+ d?: string | undefined;
2278
+ } | {
2279
+ kty: "EC";
2280
+ crv: "secp256k1";
2281
+ x: string;
2282
+ y: string;
2283
+ alg?: "ES256K" | undefined;
2284
+ kid?: string | undefined;
2285
+ ext?: boolean | undefined;
2286
+ use?: "sig" | "enc" | undefined;
2287
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2288
+ x5c?: string[] | undefined;
2289
+ x5t?: string | undefined;
2290
+ "x5t#S256"?: string | undefined;
2291
+ x5u?: string | undefined;
2292
+ d?: string | undefined;
2293
+ } | {
2294
+ kty: "OKP";
2295
+ crv: "Ed25519" | "Ed448";
2296
+ x: string;
2297
+ alg?: "EdDSA" | undefined;
2298
+ kid?: string | undefined;
2299
+ ext?: boolean | undefined;
2300
+ use?: "sig" | "enc" | undefined;
2301
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2302
+ x5c?: string[] | undefined;
2303
+ x5t?: string | undefined;
2304
+ "x5t#S256"?: string | undefined;
2305
+ x5u?: string | undefined;
2306
+ d?: string | undefined;
2307
+ } | {
2308
+ kty: "oct";
2309
+ k: string;
2310
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
2311
+ kid?: string | undefined;
2312
+ ext?: boolean | undefined;
2313
+ use?: "sig" | "enc" | undefined;
2314
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2315
+ x5c?: string[] | undefined;
2316
+ x5t?: string | undefined;
2317
+ "x5t#S256"?: string | undefined;
2318
+ x5u?: string | undefined;
2319
+ } | {
2320
+ kty: string;
2321
+ alg?: string | undefined;
2322
+ kid?: string | undefined;
2323
+ ext?: boolean | undefined;
2324
+ use?: "sig" | "enc" | undefined;
2325
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2326
+ x5c?: string[] | undefined;
2327
+ x5t?: string | undefined;
2328
+ "x5t#S256"?: string | undefined;
2329
+ x5u?: string | undefined;
2330
+ }>, {
2331
+ kty: "RSA";
2332
+ n: string;
2333
+ e: string;
2334
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2335
+ kid?: string | undefined;
2336
+ ext?: boolean | undefined;
2337
+ use?: "sig" | "enc" | undefined;
2338
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2339
+ x5c?: string[] | undefined;
2340
+ x5t?: string | undefined;
2341
+ "x5t#S256"?: string | undefined;
2342
+ x5u?: string | undefined;
2343
+ d?: string | undefined;
2344
+ p?: string | undefined;
2345
+ q?: string | undefined;
2346
+ dp?: string | undefined;
2347
+ dq?: string | undefined;
2348
+ qi?: string | undefined;
2349
+ oth?: [{
2350
+ d?: string | undefined;
2351
+ r?: string | undefined;
2352
+ t?: string | undefined;
2353
+ }, ...{
2354
+ d?: string | undefined;
2355
+ r?: string | undefined;
2356
+ t?: string | undefined;
2357
+ }[]] | undefined;
2358
+ } | {
2359
+ kty: "EC";
2360
+ crv: "P-256" | "P-384" | "P-521";
2361
+ x: string;
2362
+ y: string;
2363
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
2364
+ kid?: string | undefined;
2365
+ ext?: boolean | undefined;
2366
+ use?: "sig" | "enc" | undefined;
2367
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2368
+ x5c?: string[] | undefined;
2369
+ x5t?: string | undefined;
2370
+ "x5t#S256"?: string | undefined;
2371
+ x5u?: string | undefined;
2372
+ d?: string | undefined;
2373
+ } | {
2374
+ kty: "EC";
2375
+ crv: "secp256k1";
2376
+ x: string;
2377
+ y: string;
2378
+ alg?: "ES256K" | undefined;
2379
+ kid?: string | undefined;
2380
+ ext?: boolean | undefined;
2381
+ use?: "sig" | "enc" | undefined;
2382
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2383
+ x5c?: string[] | undefined;
2384
+ x5t?: string | undefined;
2385
+ "x5t#S256"?: string | undefined;
2386
+ x5u?: string | undefined;
2387
+ d?: string | undefined;
2388
+ } | {
2389
+ kty: "OKP";
2390
+ crv: "Ed25519" | "Ed448";
2391
+ x: string;
2392
+ alg?: "EdDSA" | undefined;
2393
+ kid?: string | undefined;
2394
+ ext?: boolean | undefined;
2395
+ use?: "sig" | "enc" | undefined;
2396
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2397
+ x5c?: string[] | undefined;
2398
+ x5t?: string | undefined;
2399
+ "x5t#S256"?: string | undefined;
2400
+ x5u?: string | undefined;
2401
+ d?: string | undefined;
2402
+ } | {
2403
+ kty: "oct";
2404
+ k: string;
2405
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
2406
+ kid?: string | undefined;
2407
+ ext?: boolean | undefined;
2408
+ use?: "sig" | "enc" | undefined;
2409
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2410
+ x5c?: string[] | undefined;
2411
+ x5t?: string | undefined;
2412
+ "x5t#S256"?: string | undefined;
2413
+ x5u?: string | undefined;
2414
+ } | {
2415
+ kty: string;
2416
+ alg?: string | undefined;
2417
+ kid?: string | undefined;
2418
+ ext?: boolean | undefined;
2419
+ use?: "sig" | "enc" | undefined;
2420
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2421
+ x5c?: string[] | undefined;
2422
+ x5t?: string | undefined;
2423
+ "x5t#S256"?: string | undefined;
2424
+ x5u?: string | undefined;
2425
+ }, {
2426
+ kty: "RSA";
2427
+ n: string;
2428
+ e: string;
2429
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2430
+ kid?: string | undefined;
2431
+ ext?: boolean | undefined;
2432
+ use?: "sig" | "enc" | undefined;
2433
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2434
+ x5c?: string[] | undefined;
2435
+ x5t?: string | undefined;
2436
+ "x5t#S256"?: string | undefined;
2437
+ x5u?: string | undefined;
2438
+ d?: string | undefined;
2439
+ p?: string | undefined;
2440
+ q?: string | undefined;
2441
+ dp?: string | undefined;
2442
+ dq?: string | undefined;
2443
+ qi?: string | undefined;
2444
+ oth?: [{
2445
+ d?: string | undefined;
2446
+ r?: string | undefined;
2447
+ t?: string | undefined;
2448
+ }, ...{
2449
+ d?: string | undefined;
2450
+ r?: string | undefined;
2451
+ t?: string | undefined;
2452
+ }[]] | undefined;
2453
+ } | {
2454
+ kty: "EC";
2455
+ crv: "P-256" | "P-384" | "P-521";
2456
+ x: string;
2457
+ y: string;
2458
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
2459
+ kid?: string | undefined;
2460
+ ext?: boolean | undefined;
2461
+ use?: "sig" | "enc" | undefined;
2462
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2463
+ x5c?: string[] | undefined;
2464
+ x5t?: string | undefined;
2465
+ "x5t#S256"?: string | undefined;
2466
+ x5u?: string | undefined;
2467
+ d?: string | undefined;
2468
+ } | {
2469
+ kty: "EC";
2470
+ crv: "secp256k1";
2471
+ x: string;
2472
+ y: string;
2473
+ alg?: "ES256K" | undefined;
2474
+ kid?: string | undefined;
2475
+ ext?: boolean | undefined;
2476
+ use?: "sig" | "enc" | undefined;
2477
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2478
+ x5c?: string[] | undefined;
2479
+ x5t?: string | undefined;
2480
+ "x5t#S256"?: string | undefined;
2481
+ x5u?: string | undefined;
2482
+ d?: string | undefined;
2483
+ } | {
2484
+ kty: "OKP";
2485
+ crv: "Ed25519" | "Ed448";
2486
+ x: string;
2487
+ alg?: "EdDSA" | undefined;
2488
+ kid?: string | undefined;
2489
+ ext?: boolean | undefined;
2490
+ use?: "sig" | "enc" | undefined;
2491
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2492
+ x5c?: string[] | undefined;
2493
+ x5t?: string | undefined;
2494
+ "x5t#S256"?: string | undefined;
2495
+ x5u?: string | undefined;
2496
+ d?: string | undefined;
2497
+ } | {
2498
+ kty: "oct";
2499
+ k: string;
2500
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
2501
+ kid?: string | undefined;
2502
+ ext?: boolean | undefined;
2503
+ use?: "sig" | "enc" | undefined;
2504
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2505
+ x5c?: string[] | undefined;
2506
+ x5t?: string | undefined;
2507
+ "x5t#S256"?: string | undefined;
2508
+ x5u?: string | undefined;
2509
+ } | {
2510
+ kty: string;
2511
+ alg?: string | undefined;
2512
+ kid?: string | undefined;
2513
+ ext?: boolean | undefined;
2514
+ use?: "sig" | "enc" | undefined;
2515
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2516
+ x5c?: string[] | undefined;
2517
+ x5t?: string | undefined;
2518
+ "x5t#S256"?: string | undefined;
2519
+ x5u?: string | undefined;
2520
+ }>>;
2521
+ jwe: z.ZodOptional<z.ZodString>;
2522
+ jku: z.ZodOptional<z.ZodString>;
2523
+ jkt: z.ZodOptional<z.ZodString>;
2524
+ 'x5t#S256': z.ZodOptional<z.ZodString>;
2525
+ osc: z.ZodOptional<z.ZodString>;
2526
+ }, "strip", z.ZodTypeAny, {
2527
+ kid?: string | undefined;
2528
+ 'x5t#S256'?: string | undefined;
2529
+ jku?: string | undefined;
2530
+ jwk?: {
2531
+ kty: "RSA";
2532
+ n: string;
2533
+ e: string;
2534
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2535
+ kid?: string | undefined;
2536
+ ext?: boolean | undefined;
2537
+ use?: "sig" | "enc" | undefined;
2538
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2539
+ x5c?: string[] | undefined;
2540
+ x5t?: string | undefined;
2541
+ "x5t#S256"?: string | undefined;
2542
+ x5u?: string | undefined;
2543
+ d?: string | undefined;
2544
+ p?: string | undefined;
2545
+ q?: string | undefined;
2546
+ dp?: string | undefined;
2547
+ dq?: string | undefined;
2548
+ qi?: string | undefined;
2549
+ oth?: [{
2550
+ d?: string | undefined;
2551
+ r?: string | undefined;
2552
+ t?: string | undefined;
2553
+ }, ...{
2554
+ d?: string | undefined;
2555
+ r?: string | undefined;
2556
+ t?: string | undefined;
2557
+ }[]] | undefined;
2558
+ } | {
2559
+ kty: "EC";
2560
+ crv: "P-256" | "P-384" | "P-521";
2561
+ x: string;
2562
+ y: string;
2563
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
2564
+ kid?: string | undefined;
2565
+ ext?: boolean | undefined;
2566
+ use?: "sig" | "enc" | undefined;
2567
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2568
+ x5c?: string[] | undefined;
2569
+ x5t?: string | undefined;
2570
+ "x5t#S256"?: string | undefined;
2571
+ x5u?: string | undefined;
2572
+ d?: string | undefined;
2573
+ } | {
2574
+ kty: "EC";
2575
+ crv: "secp256k1";
2576
+ x: string;
2577
+ y: string;
2578
+ alg?: "ES256K" | undefined;
2579
+ kid?: string | undefined;
2580
+ ext?: boolean | undefined;
2581
+ use?: "sig" | "enc" | undefined;
2582
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2583
+ x5c?: string[] | undefined;
2584
+ x5t?: string | undefined;
2585
+ "x5t#S256"?: string | undefined;
2586
+ x5u?: string | undefined;
2587
+ d?: string | undefined;
2588
+ } | {
2589
+ kty: "OKP";
2590
+ crv: "Ed25519" | "Ed448";
2591
+ x: string;
2592
+ alg?: "EdDSA" | undefined;
2593
+ kid?: string | undefined;
2594
+ ext?: boolean | undefined;
2595
+ use?: "sig" | "enc" | undefined;
2596
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2597
+ x5c?: string[] | undefined;
2598
+ x5t?: string | undefined;
2599
+ "x5t#S256"?: string | undefined;
2600
+ x5u?: string | undefined;
2601
+ d?: string | undefined;
2602
+ } | {
2603
+ kty: "oct";
2604
+ k: string;
2605
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
2606
+ kid?: string | undefined;
2607
+ ext?: boolean | undefined;
2608
+ use?: "sig" | "enc" | undefined;
2609
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2610
+ x5c?: string[] | undefined;
2611
+ x5t?: string | undefined;
2612
+ "x5t#S256"?: string | undefined;
2613
+ x5u?: string | undefined;
2614
+ } | {
2615
+ kty: string;
2616
+ alg?: string | undefined;
2617
+ kid?: string | undefined;
2618
+ ext?: boolean | undefined;
2619
+ use?: "sig" | "enc" | undefined;
2620
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2621
+ x5c?: string[] | undefined;
2622
+ x5t?: string | undefined;
2623
+ "x5t#S256"?: string | undefined;
2624
+ x5u?: string | undefined;
2625
+ } | undefined;
2626
+ jwe?: string | undefined;
2627
+ jkt?: string | undefined;
2628
+ osc?: string | undefined;
2629
+ }, {
2630
+ kid?: string | undefined;
2631
+ 'x5t#S256'?: string | undefined;
2632
+ jku?: string | undefined;
2633
+ jwk?: {
2634
+ kty: "RSA";
2635
+ n: string;
2636
+ e: string;
2637
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2638
+ kid?: string | undefined;
2639
+ ext?: boolean | undefined;
2640
+ use?: "sig" | "enc" | undefined;
2641
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2642
+ x5c?: string[] | undefined;
2643
+ x5t?: string | undefined;
2644
+ "x5t#S256"?: string | undefined;
2645
+ x5u?: string | undefined;
2646
+ d?: string | undefined;
2647
+ p?: string | undefined;
2648
+ q?: string | undefined;
2649
+ dp?: string | undefined;
2650
+ dq?: string | undefined;
2651
+ qi?: string | undefined;
2652
+ oth?: [{
2653
+ d?: string | undefined;
2654
+ r?: string | undefined;
2655
+ t?: string | undefined;
2656
+ }, ...{
2657
+ d?: string | undefined;
2658
+ r?: string | undefined;
2659
+ t?: string | undefined;
2660
+ }[]] | undefined;
2661
+ } | {
2662
+ kty: "EC";
2663
+ crv: "P-256" | "P-384" | "P-521";
2664
+ x: string;
2665
+ y: string;
2666
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
2667
+ kid?: string | undefined;
2668
+ ext?: boolean | undefined;
2669
+ use?: "sig" | "enc" | undefined;
2670
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2671
+ x5c?: string[] | undefined;
2672
+ x5t?: string | undefined;
2673
+ "x5t#S256"?: string | undefined;
2674
+ x5u?: string | undefined;
2675
+ d?: string | undefined;
2676
+ } | {
2677
+ kty: "EC";
2678
+ crv: "secp256k1";
2679
+ x: string;
2680
+ y: string;
2681
+ alg?: "ES256K" | undefined;
2682
+ kid?: string | undefined;
2683
+ ext?: boolean | undefined;
2684
+ use?: "sig" | "enc" | undefined;
2685
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2686
+ x5c?: string[] | undefined;
2687
+ x5t?: string | undefined;
2688
+ "x5t#S256"?: string | undefined;
2689
+ x5u?: string | undefined;
2690
+ d?: string | undefined;
2691
+ } | {
2692
+ kty: "OKP";
2693
+ crv: "Ed25519" | "Ed448";
2694
+ x: string;
2695
+ alg?: "EdDSA" | undefined;
2696
+ kid?: string | undefined;
2697
+ ext?: boolean | undefined;
2698
+ use?: "sig" | "enc" | undefined;
2699
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2700
+ x5c?: string[] | undefined;
2701
+ x5t?: string | undefined;
2702
+ "x5t#S256"?: string | undefined;
2703
+ x5u?: string | undefined;
2704
+ d?: string | undefined;
2705
+ } | {
2706
+ kty: "oct";
2707
+ k: string;
2708
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
2709
+ kid?: string | undefined;
2710
+ ext?: boolean | undefined;
2711
+ use?: "sig" | "enc" | undefined;
2712
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2713
+ x5c?: string[] | undefined;
2714
+ x5t?: string | undefined;
2715
+ "x5t#S256"?: string | undefined;
2716
+ x5u?: string | undefined;
2717
+ } | {
2718
+ kty: string;
2719
+ alg?: string | undefined;
2720
+ kid?: string | undefined;
2721
+ ext?: boolean | undefined;
2722
+ use?: "sig" | "enc" | undefined;
2723
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2724
+ x5c?: string[] | undefined;
2725
+ x5t?: string | undefined;
2726
+ "x5t#S256"?: string | undefined;
2727
+ x5u?: string | undefined;
2728
+ } | undefined;
2729
+ jwe?: string | undefined;
2730
+ jkt?: string | undefined;
2731
+ osc?: string | undefined;
2732
+ }>>>;
2733
+ at_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2734
+ c_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2735
+ s_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2736
+ }, {
2737
+ sub: z.ZodString;
2738
+ client_id: z.ZodString;
2739
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
2740
+ nonce: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2741
+ client_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2742
+ scope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2743
+ authorization_details: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2744
+ type: z.ZodString;
2745
+ locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2746
+ actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2747
+ datatypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2748
+ identifier: z.ZodOptional<z.ZodString>;
2749
+ privileges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2750
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2751
+ type: z.ZodString;
2752
+ locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2753
+ actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2754
+ datatypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2755
+ identifier: z.ZodOptional<z.ZodString>;
2756
+ privileges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2757
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2758
+ type: z.ZodString;
2759
+ locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2760
+ actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2761
+ datatypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2762
+ identifier: z.ZodOptional<z.ZodString>;
2763
+ privileges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2764
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
2765
+ email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2766
+ auth_time: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2767
+ acr: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2768
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2769
+ family_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2770
+ given_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2771
+ middle_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2772
+ nickname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2773
+ preferred_username: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2774
+ gender: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2775
+ picture: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2776
+ profile: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2777
+ website: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2778
+ birthdate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2779
+ zoneinfo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2780
+ locale: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2781
+ updated_at: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2782
+ email_verified: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2783
+ phone_number: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2784
+ phone_number_verified: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2785
+ address: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2786
+ formatted: z.ZodOptional<z.ZodString>;
2787
+ street_address: z.ZodOptional<z.ZodString>;
2788
+ locality: z.ZodOptional<z.ZodString>;
2789
+ region: z.ZodOptional<z.ZodString>;
2790
+ postal_code: z.ZodOptional<z.ZodString>;
2791
+ country: z.ZodOptional<z.ZodString>;
2792
+ }, "strip", z.ZodTypeAny, {
2793
+ formatted?: string | undefined;
2794
+ street_address?: string | undefined;
2795
+ locality?: string | undefined;
1568
2796
  region?: string | undefined;
1569
2797
  postal_code?: string | undefined;
1570
2798
  country?: string | undefined;
1571
- } | undefined;
1572
- htm?: string | undefined;
1573
- htu?: string | undefined;
1574
- ath?: string | undefined;
1575
- nbf?: number | undefined;
1576
- azp?: string | undefined;
1577
- amr?: string[] | undefined;
1578
- cnf?: {
2799
+ }, {
2800
+ formatted?: string | undefined;
2801
+ street_address?: string | undefined;
2802
+ locality?: string | undefined;
2803
+ region?: string | undefined;
2804
+ postal_code?: string | undefined;
2805
+ country?: string | undefined;
2806
+ }>>>;
2807
+ htm: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2808
+ htu: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2809
+ ath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2810
+ sub: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2811
+ nbf: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2812
+ azp: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2813
+ amr: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2814
+ cnf: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2815
+ kid: z.ZodOptional<z.ZodString>;
2816
+ jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2817
+ kty: z.ZodString;
2818
+ alg: z.ZodOptional<z.ZodString>;
2819
+ kid: z.ZodOptional<z.ZodString>;
2820
+ ext: z.ZodOptional<z.ZodBoolean>;
2821
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
2822
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
2823
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2824
+ x5t: z.ZodOptional<z.ZodString>;
2825
+ "x5t#S256": z.ZodOptional<z.ZodString>;
2826
+ x5u: z.ZodOptional<z.ZodString>;
2827
+ }, {
2828
+ kty: z.ZodEffects<z.ZodString, string, string>;
2829
+ }>, "strip", z.ZodTypeAny, {
2830
+ kty: string;
2831
+ alg?: string | undefined;
2832
+ kid?: string | undefined;
2833
+ ext?: boolean | undefined;
2834
+ use?: "sig" | "enc" | undefined;
2835
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2836
+ x5c?: string[] | undefined;
2837
+ x5t?: string | undefined;
2838
+ "x5t#S256"?: string | undefined;
2839
+ x5u?: string | undefined;
2840
+ }, {
2841
+ kty: string;
2842
+ alg?: string | undefined;
2843
+ kid?: string | undefined;
2844
+ ext?: boolean | undefined;
2845
+ use?: "sig" | "enc" | undefined;
2846
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2847
+ x5c?: string[] | undefined;
2848
+ x5t?: string | undefined;
2849
+ "x5t#S256"?: string | undefined;
2850
+ x5u?: string | undefined;
2851
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2852
+ kty: z.ZodString;
2853
+ alg: z.ZodOptional<z.ZodString>;
2854
+ kid: z.ZodOptional<z.ZodString>;
2855
+ ext: z.ZodOptional<z.ZodBoolean>;
2856
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
2857
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
2858
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2859
+ x5t: z.ZodOptional<z.ZodString>;
2860
+ "x5t#S256": z.ZodOptional<z.ZodString>;
2861
+ x5u: z.ZodOptional<z.ZodString>;
2862
+ }, {
2863
+ kty: z.ZodLiteral<"RSA">;
2864
+ alg: z.ZodOptional<z.ZodEnum<["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]>>;
2865
+ n: z.ZodString;
2866
+ e: z.ZodString;
2867
+ d: z.ZodOptional<z.ZodString>;
2868
+ p: z.ZodOptional<z.ZodString>;
2869
+ q: z.ZodOptional<z.ZodString>;
2870
+ dp: z.ZodOptional<z.ZodString>;
2871
+ dq: z.ZodOptional<z.ZodString>;
2872
+ qi: z.ZodOptional<z.ZodString>;
2873
+ oth: z.ZodOptional<z.ZodArray<z.ZodObject<{
2874
+ r: z.ZodOptional<z.ZodString>;
2875
+ d: z.ZodOptional<z.ZodString>;
2876
+ t: z.ZodOptional<z.ZodString>;
2877
+ }, "strip", z.ZodTypeAny, {
2878
+ d?: string | undefined;
2879
+ r?: string | undefined;
2880
+ t?: string | undefined;
2881
+ }, {
2882
+ d?: string | undefined;
2883
+ r?: string | undefined;
2884
+ t?: string | undefined;
2885
+ }>, "atleastone">>;
2886
+ }>, "strip", z.ZodTypeAny, {
2887
+ kty: "RSA";
2888
+ n: string;
2889
+ e: string;
2890
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2891
+ kid?: string | undefined;
2892
+ ext?: boolean | undefined;
2893
+ use?: "sig" | "enc" | undefined;
2894
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2895
+ x5c?: string[] | undefined;
2896
+ x5t?: string | undefined;
2897
+ "x5t#S256"?: string | undefined;
2898
+ x5u?: string | undefined;
2899
+ d?: string | undefined;
2900
+ p?: string | undefined;
2901
+ q?: string | undefined;
2902
+ dp?: string | undefined;
2903
+ dq?: string | undefined;
2904
+ qi?: string | undefined;
2905
+ oth?: [{
2906
+ d?: string | undefined;
2907
+ r?: string | undefined;
2908
+ t?: string | undefined;
2909
+ }, ...{
2910
+ d?: string | undefined;
2911
+ r?: string | undefined;
2912
+ t?: string | undefined;
2913
+ }[]] | undefined;
2914
+ }, {
2915
+ kty: "RSA";
2916
+ n: string;
2917
+ e: string;
2918
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2919
+ kid?: string | undefined;
2920
+ ext?: boolean | undefined;
2921
+ use?: "sig" | "enc" | undefined;
2922
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2923
+ x5c?: string[] | undefined;
2924
+ x5t?: string | undefined;
2925
+ "x5t#S256"?: string | undefined;
2926
+ x5u?: string | undefined;
2927
+ d?: string | undefined;
2928
+ p?: string | undefined;
2929
+ q?: string | undefined;
2930
+ dp?: string | undefined;
2931
+ dq?: string | undefined;
2932
+ qi?: string | undefined;
2933
+ oth?: [{
2934
+ d?: string | undefined;
2935
+ r?: string | undefined;
2936
+ t?: string | undefined;
2937
+ }, ...{
2938
+ d?: string | undefined;
2939
+ r?: string | undefined;
2940
+ t?: string | undefined;
2941
+ }[]] | undefined;
2942
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2943
+ kty: z.ZodString;
2944
+ alg: z.ZodOptional<z.ZodString>;
2945
+ kid: z.ZodOptional<z.ZodString>;
2946
+ ext: z.ZodOptional<z.ZodBoolean>;
2947
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
2948
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
2949
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2950
+ x5t: z.ZodOptional<z.ZodString>;
2951
+ "x5t#S256": z.ZodOptional<z.ZodString>;
2952
+ x5u: z.ZodOptional<z.ZodString>;
2953
+ }, {
2954
+ kty: z.ZodLiteral<"EC">;
2955
+ alg: z.ZodOptional<z.ZodEnum<["ES256", "ES384", "ES512"]>>;
2956
+ crv: z.ZodEnum<["P-256", "P-384", "P-521"]>;
2957
+ x: z.ZodString;
2958
+ y: z.ZodString;
2959
+ d: z.ZodOptional<z.ZodString>;
2960
+ }>, "strip", z.ZodTypeAny, {
2961
+ kty: "EC";
2962
+ crv: "P-256" | "P-384" | "P-521";
2963
+ x: string;
2964
+ y: string;
2965
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
2966
+ kid?: string | undefined;
2967
+ ext?: boolean | undefined;
2968
+ use?: "sig" | "enc" | undefined;
2969
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2970
+ x5c?: string[] | undefined;
2971
+ x5t?: string | undefined;
2972
+ "x5t#S256"?: string | undefined;
2973
+ x5u?: string | undefined;
2974
+ d?: string | undefined;
2975
+ }, {
2976
+ kty: "EC";
2977
+ crv: "P-256" | "P-384" | "P-521";
2978
+ x: string;
2979
+ y: string;
2980
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
2981
+ kid?: string | undefined;
2982
+ ext?: boolean | undefined;
2983
+ use?: "sig" | "enc" | undefined;
2984
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2985
+ x5c?: string[] | undefined;
2986
+ x5t?: string | undefined;
2987
+ "x5t#S256"?: string | undefined;
2988
+ x5u?: string | undefined;
2989
+ d?: string | undefined;
2990
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2991
+ kty: z.ZodString;
2992
+ alg: z.ZodOptional<z.ZodString>;
2993
+ kid: z.ZodOptional<z.ZodString>;
2994
+ ext: z.ZodOptional<z.ZodBoolean>;
2995
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
2996
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
2997
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2998
+ x5t: z.ZodOptional<z.ZodString>;
2999
+ "x5t#S256": z.ZodOptional<z.ZodString>;
3000
+ x5u: z.ZodOptional<z.ZodString>;
3001
+ }, {
3002
+ kty: z.ZodLiteral<"EC">;
3003
+ alg: z.ZodOptional<z.ZodEnum<["ES256K"]>>;
3004
+ crv: z.ZodEnum<["secp256k1"]>;
3005
+ x: z.ZodString;
3006
+ y: z.ZodString;
3007
+ d: z.ZodOptional<z.ZodString>;
3008
+ }>, "strip", z.ZodTypeAny, {
3009
+ kty: "EC";
3010
+ crv: "secp256k1";
3011
+ x: string;
3012
+ y: string;
3013
+ alg?: "ES256K" | undefined;
3014
+ kid?: string | undefined;
3015
+ ext?: boolean | undefined;
3016
+ use?: "sig" | "enc" | undefined;
3017
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3018
+ x5c?: string[] | undefined;
3019
+ x5t?: string | undefined;
3020
+ "x5t#S256"?: string | undefined;
3021
+ x5u?: string | undefined;
3022
+ d?: string | undefined;
3023
+ }, {
3024
+ kty: "EC";
3025
+ crv: "secp256k1";
3026
+ x: string;
3027
+ y: string;
3028
+ alg?: "ES256K" | undefined;
3029
+ kid?: string | undefined;
3030
+ ext?: boolean | undefined;
3031
+ use?: "sig" | "enc" | undefined;
3032
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3033
+ x5c?: string[] | undefined;
3034
+ x5t?: string | undefined;
3035
+ "x5t#S256"?: string | undefined;
3036
+ x5u?: string | undefined;
3037
+ d?: string | undefined;
3038
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3039
+ kty: z.ZodString;
3040
+ alg: z.ZodOptional<z.ZodString>;
3041
+ kid: z.ZodOptional<z.ZodString>;
3042
+ ext: z.ZodOptional<z.ZodBoolean>;
3043
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
3044
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
3045
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3046
+ x5t: z.ZodOptional<z.ZodString>;
3047
+ "x5t#S256": z.ZodOptional<z.ZodString>;
3048
+ x5u: z.ZodOptional<z.ZodString>;
3049
+ }, {
3050
+ kty: z.ZodLiteral<"OKP">;
3051
+ alg: z.ZodOptional<z.ZodEnum<["EdDSA"]>>;
3052
+ crv: z.ZodEnum<["Ed25519", "Ed448"]>;
3053
+ x: z.ZodString;
3054
+ d: z.ZodOptional<z.ZodString>;
3055
+ }>, "strip", z.ZodTypeAny, {
3056
+ kty: "OKP";
3057
+ crv: "Ed25519" | "Ed448";
3058
+ x: string;
3059
+ alg?: "EdDSA" | undefined;
3060
+ kid?: string | undefined;
3061
+ ext?: boolean | undefined;
3062
+ use?: "sig" | "enc" | undefined;
3063
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3064
+ x5c?: string[] | undefined;
3065
+ x5t?: string | undefined;
3066
+ "x5t#S256"?: string | undefined;
3067
+ x5u?: string | undefined;
3068
+ d?: string | undefined;
3069
+ }, {
3070
+ kty: "OKP";
3071
+ crv: "Ed25519" | "Ed448";
3072
+ x: string;
3073
+ alg?: "EdDSA" | undefined;
3074
+ kid?: string | undefined;
3075
+ ext?: boolean | undefined;
3076
+ use?: "sig" | "enc" | undefined;
3077
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3078
+ x5c?: string[] | undefined;
3079
+ x5t?: string | undefined;
3080
+ "x5t#S256"?: string | undefined;
3081
+ x5u?: string | undefined;
3082
+ d?: string | undefined;
3083
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3084
+ kty: z.ZodString;
3085
+ alg: z.ZodOptional<z.ZodString>;
3086
+ kid: z.ZodOptional<z.ZodString>;
3087
+ ext: z.ZodOptional<z.ZodBoolean>;
3088
+ use: z.ZodOptional<z.ZodEnum<["sig", "enc"]>>;
3089
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodEnum<["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"]>, "many">>;
3090
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3091
+ x5t: z.ZodOptional<z.ZodString>;
3092
+ "x5t#S256": z.ZodOptional<z.ZodString>;
3093
+ x5u: z.ZodOptional<z.ZodString>;
3094
+ }, {
3095
+ kty: z.ZodLiteral<"oct">;
3096
+ alg: z.ZodOptional<z.ZodEnum<["HS256", "HS384", "HS512"]>>;
3097
+ k: z.ZodString;
3098
+ }>, "strip", z.ZodTypeAny, {
3099
+ kty: "oct";
3100
+ k: string;
3101
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3102
+ kid?: string | undefined;
3103
+ ext?: boolean | undefined;
3104
+ use?: "sig" | "enc" | undefined;
3105
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3106
+ x5c?: string[] | undefined;
3107
+ x5t?: string | undefined;
3108
+ "x5t#S256"?: string | undefined;
3109
+ x5u?: string | undefined;
3110
+ }, {
3111
+ kty: "oct";
3112
+ k: string;
3113
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3114
+ kid?: string | undefined;
3115
+ ext?: boolean | undefined;
3116
+ use?: "sig" | "enc" | undefined;
3117
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3118
+ x5c?: string[] | undefined;
3119
+ x5t?: string | undefined;
3120
+ "x5t#S256"?: string | undefined;
3121
+ x5u?: string | undefined;
3122
+ }>]>, {
3123
+ kty: "RSA";
3124
+ n: string;
3125
+ e: string;
3126
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3127
+ kid?: string | undefined;
3128
+ ext?: boolean | undefined;
3129
+ use?: "sig" | "enc" | undefined;
3130
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3131
+ x5c?: string[] | undefined;
3132
+ x5t?: string | undefined;
3133
+ "x5t#S256"?: string | undefined;
3134
+ x5u?: string | undefined;
3135
+ d?: string | undefined;
3136
+ p?: string | undefined;
3137
+ q?: string | undefined;
3138
+ dp?: string | undefined;
3139
+ dq?: string | undefined;
3140
+ qi?: string | undefined;
3141
+ oth?: [{
3142
+ d?: string | undefined;
3143
+ r?: string | undefined;
3144
+ t?: string | undefined;
3145
+ }, ...{
3146
+ d?: string | undefined;
3147
+ r?: string | undefined;
3148
+ t?: string | undefined;
3149
+ }[]] | undefined;
3150
+ } | {
3151
+ kty: "EC";
3152
+ crv: "P-256" | "P-384" | "P-521";
3153
+ x: string;
3154
+ y: string;
3155
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
3156
+ kid?: string | undefined;
3157
+ ext?: boolean | undefined;
3158
+ use?: "sig" | "enc" | undefined;
3159
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3160
+ x5c?: string[] | undefined;
3161
+ x5t?: string | undefined;
3162
+ "x5t#S256"?: string | undefined;
3163
+ x5u?: string | undefined;
3164
+ d?: string | undefined;
3165
+ } | {
3166
+ kty: "EC";
3167
+ crv: "secp256k1";
3168
+ x: string;
3169
+ y: string;
3170
+ alg?: "ES256K" | undefined;
3171
+ kid?: string | undefined;
3172
+ ext?: boolean | undefined;
3173
+ use?: "sig" | "enc" | undefined;
3174
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3175
+ x5c?: string[] | undefined;
3176
+ x5t?: string | undefined;
3177
+ "x5t#S256"?: string | undefined;
3178
+ x5u?: string | undefined;
3179
+ d?: string | undefined;
3180
+ } | {
3181
+ kty: "OKP";
3182
+ crv: "Ed25519" | "Ed448";
3183
+ x: string;
3184
+ alg?: "EdDSA" | undefined;
3185
+ kid?: string | undefined;
3186
+ ext?: boolean | undefined;
3187
+ use?: "sig" | "enc" | undefined;
3188
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3189
+ x5c?: string[] | undefined;
3190
+ x5t?: string | undefined;
3191
+ "x5t#S256"?: string | undefined;
3192
+ x5u?: string | undefined;
3193
+ d?: string | undefined;
3194
+ } | {
3195
+ kty: "oct";
3196
+ k: string;
3197
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3198
+ kid?: string | undefined;
3199
+ ext?: boolean | undefined;
3200
+ use?: "sig" | "enc" | undefined;
3201
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3202
+ x5c?: string[] | undefined;
3203
+ x5t?: string | undefined;
3204
+ "x5t#S256"?: string | undefined;
3205
+ x5u?: string | undefined;
3206
+ } | {
3207
+ kty: string;
3208
+ alg?: string | undefined;
3209
+ kid?: string | undefined;
3210
+ ext?: boolean | undefined;
3211
+ use?: "sig" | "enc" | undefined;
3212
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3213
+ x5c?: string[] | undefined;
3214
+ x5t?: string | undefined;
3215
+ "x5t#S256"?: string | undefined;
3216
+ x5u?: string | undefined;
3217
+ }, {
3218
+ kty: "RSA";
3219
+ n: string;
3220
+ e: string;
3221
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3222
+ kid?: string | undefined;
3223
+ ext?: boolean | undefined;
3224
+ use?: "sig" | "enc" | undefined;
3225
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3226
+ x5c?: string[] | undefined;
3227
+ x5t?: string | undefined;
3228
+ "x5t#S256"?: string | undefined;
3229
+ x5u?: string | undefined;
3230
+ d?: string | undefined;
3231
+ p?: string | undefined;
3232
+ q?: string | undefined;
3233
+ dp?: string | undefined;
3234
+ dq?: string | undefined;
3235
+ qi?: string | undefined;
3236
+ oth?: [{
3237
+ d?: string | undefined;
3238
+ r?: string | undefined;
3239
+ t?: string | undefined;
3240
+ }, ...{
3241
+ d?: string | undefined;
3242
+ r?: string | undefined;
3243
+ t?: string | undefined;
3244
+ }[]] | undefined;
3245
+ } | {
3246
+ kty: "EC";
3247
+ crv: "P-256" | "P-384" | "P-521";
3248
+ x: string;
3249
+ y: string;
3250
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
3251
+ kid?: string | undefined;
3252
+ ext?: boolean | undefined;
3253
+ use?: "sig" | "enc" | undefined;
3254
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3255
+ x5c?: string[] | undefined;
3256
+ x5t?: string | undefined;
3257
+ "x5t#S256"?: string | undefined;
3258
+ x5u?: string | undefined;
3259
+ d?: string | undefined;
3260
+ } | {
3261
+ kty: "EC";
3262
+ crv: "secp256k1";
3263
+ x: string;
3264
+ y: string;
3265
+ alg?: "ES256K" | undefined;
3266
+ kid?: string | undefined;
3267
+ ext?: boolean | undefined;
3268
+ use?: "sig" | "enc" | undefined;
3269
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3270
+ x5c?: string[] | undefined;
3271
+ x5t?: string | undefined;
3272
+ "x5t#S256"?: string | undefined;
3273
+ x5u?: string | undefined;
3274
+ d?: string | undefined;
3275
+ } | {
3276
+ kty: "OKP";
3277
+ crv: "Ed25519" | "Ed448";
3278
+ x: string;
3279
+ alg?: "EdDSA" | undefined;
3280
+ kid?: string | undefined;
3281
+ ext?: boolean | undefined;
3282
+ use?: "sig" | "enc" | undefined;
3283
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3284
+ x5c?: string[] | undefined;
3285
+ x5t?: string | undefined;
3286
+ "x5t#S256"?: string | undefined;
3287
+ x5u?: string | undefined;
3288
+ d?: string | undefined;
3289
+ } | {
3290
+ kty: "oct";
3291
+ k: string;
3292
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3293
+ kid?: string | undefined;
3294
+ ext?: boolean | undefined;
3295
+ use?: "sig" | "enc" | undefined;
3296
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3297
+ x5c?: string[] | undefined;
3298
+ x5t?: string | undefined;
3299
+ "x5t#S256"?: string | undefined;
3300
+ x5u?: string | undefined;
3301
+ } | {
3302
+ kty: string;
3303
+ alg?: string | undefined;
3304
+ kid?: string | undefined;
3305
+ ext?: boolean | undefined;
3306
+ use?: "sig" | "enc" | undefined;
3307
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3308
+ x5c?: string[] | undefined;
3309
+ x5t?: string | undefined;
3310
+ "x5t#S256"?: string | undefined;
3311
+ x5u?: string | undefined;
3312
+ }>, {
3313
+ kty: "RSA";
3314
+ n: string;
3315
+ e: string;
3316
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3317
+ kid?: string | undefined;
3318
+ ext?: boolean | undefined;
3319
+ use?: "sig" | "enc" | undefined;
3320
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3321
+ x5c?: string[] | undefined;
3322
+ x5t?: string | undefined;
3323
+ "x5t#S256"?: string | undefined;
3324
+ x5u?: string | undefined;
3325
+ d?: string | undefined;
3326
+ p?: string | undefined;
3327
+ q?: string | undefined;
3328
+ dp?: string | undefined;
3329
+ dq?: string | undefined;
3330
+ qi?: string | undefined;
3331
+ oth?: [{
3332
+ d?: string | undefined;
3333
+ r?: string | undefined;
3334
+ t?: string | undefined;
3335
+ }, ...{
3336
+ d?: string | undefined;
3337
+ r?: string | undefined;
3338
+ t?: string | undefined;
3339
+ }[]] | undefined;
3340
+ } | {
3341
+ kty: "EC";
3342
+ crv: "P-256" | "P-384" | "P-521";
3343
+ x: string;
3344
+ y: string;
3345
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
3346
+ kid?: string | undefined;
3347
+ ext?: boolean | undefined;
3348
+ use?: "sig" | "enc" | undefined;
3349
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3350
+ x5c?: string[] | undefined;
3351
+ x5t?: string | undefined;
3352
+ "x5t#S256"?: string | undefined;
3353
+ x5u?: string | undefined;
3354
+ d?: string | undefined;
3355
+ } | {
3356
+ kty: "EC";
3357
+ crv: "secp256k1";
3358
+ x: string;
3359
+ y: string;
3360
+ alg?: "ES256K" | undefined;
3361
+ kid?: string | undefined;
3362
+ ext?: boolean | undefined;
3363
+ use?: "sig" | "enc" | undefined;
3364
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3365
+ x5c?: string[] | undefined;
3366
+ x5t?: string | undefined;
3367
+ "x5t#S256"?: string | undefined;
3368
+ x5u?: string | undefined;
3369
+ d?: string | undefined;
3370
+ } | {
3371
+ kty: "OKP";
3372
+ crv: "Ed25519" | "Ed448";
3373
+ x: string;
3374
+ alg?: "EdDSA" | undefined;
3375
+ kid?: string | undefined;
3376
+ ext?: boolean | undefined;
3377
+ use?: "sig" | "enc" | undefined;
3378
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3379
+ x5c?: string[] | undefined;
3380
+ x5t?: string | undefined;
3381
+ "x5t#S256"?: string | undefined;
3382
+ x5u?: string | undefined;
3383
+ d?: string | undefined;
3384
+ } | {
3385
+ kty: "oct";
3386
+ k: string;
3387
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3388
+ kid?: string | undefined;
3389
+ ext?: boolean | undefined;
3390
+ use?: "sig" | "enc" | undefined;
3391
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3392
+ x5c?: string[] | undefined;
3393
+ x5t?: string | undefined;
3394
+ "x5t#S256"?: string | undefined;
3395
+ x5u?: string | undefined;
3396
+ } | {
3397
+ kty: string;
3398
+ alg?: string | undefined;
3399
+ kid?: string | undefined;
3400
+ ext?: boolean | undefined;
3401
+ use?: "sig" | "enc" | undefined;
3402
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3403
+ x5c?: string[] | undefined;
3404
+ x5t?: string | undefined;
3405
+ "x5t#S256"?: string | undefined;
3406
+ x5u?: string | undefined;
3407
+ }, {
3408
+ kty: "RSA";
3409
+ n: string;
3410
+ e: string;
3411
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3412
+ kid?: string | undefined;
3413
+ ext?: boolean | undefined;
3414
+ use?: "sig" | "enc" | undefined;
3415
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3416
+ x5c?: string[] | undefined;
3417
+ x5t?: string | undefined;
3418
+ "x5t#S256"?: string | undefined;
3419
+ x5u?: string | undefined;
3420
+ d?: string | undefined;
3421
+ p?: string | undefined;
3422
+ q?: string | undefined;
3423
+ dp?: string | undefined;
3424
+ dq?: string | undefined;
3425
+ qi?: string | undefined;
3426
+ oth?: [{
3427
+ d?: string | undefined;
3428
+ r?: string | undefined;
3429
+ t?: string | undefined;
3430
+ }, ...{
3431
+ d?: string | undefined;
3432
+ r?: string | undefined;
3433
+ t?: string | undefined;
3434
+ }[]] | undefined;
3435
+ } | {
3436
+ kty: "EC";
3437
+ crv: "P-256" | "P-384" | "P-521";
3438
+ x: string;
3439
+ y: string;
3440
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
3441
+ kid?: string | undefined;
3442
+ ext?: boolean | undefined;
3443
+ use?: "sig" | "enc" | undefined;
3444
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3445
+ x5c?: string[] | undefined;
3446
+ x5t?: string | undefined;
3447
+ "x5t#S256"?: string | undefined;
3448
+ x5u?: string | undefined;
3449
+ d?: string | undefined;
3450
+ } | {
3451
+ kty: "EC";
3452
+ crv: "secp256k1";
3453
+ x: string;
3454
+ y: string;
3455
+ alg?: "ES256K" | undefined;
3456
+ kid?: string | undefined;
3457
+ ext?: boolean | undefined;
3458
+ use?: "sig" | "enc" | undefined;
3459
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3460
+ x5c?: string[] | undefined;
3461
+ x5t?: string | undefined;
3462
+ "x5t#S256"?: string | undefined;
3463
+ x5u?: string | undefined;
3464
+ d?: string | undefined;
3465
+ } | {
3466
+ kty: "OKP";
3467
+ crv: "Ed25519" | "Ed448";
3468
+ x: string;
3469
+ alg?: "EdDSA" | undefined;
3470
+ kid?: string | undefined;
3471
+ ext?: boolean | undefined;
3472
+ use?: "sig" | "enc" | undefined;
3473
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3474
+ x5c?: string[] | undefined;
3475
+ x5t?: string | undefined;
3476
+ "x5t#S256"?: string | undefined;
3477
+ x5u?: string | undefined;
3478
+ d?: string | undefined;
3479
+ } | {
3480
+ kty: "oct";
3481
+ k: string;
3482
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3483
+ kid?: string | undefined;
3484
+ ext?: boolean | undefined;
3485
+ use?: "sig" | "enc" | undefined;
3486
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3487
+ x5c?: string[] | undefined;
3488
+ x5t?: string | undefined;
3489
+ "x5t#S256"?: string | undefined;
3490
+ x5u?: string | undefined;
3491
+ } | {
3492
+ kty: string;
3493
+ alg?: string | undefined;
3494
+ kid?: string | undefined;
3495
+ ext?: boolean | undefined;
3496
+ use?: "sig" | "enc" | undefined;
3497
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3498
+ x5c?: string[] | undefined;
3499
+ x5t?: string | undefined;
3500
+ "x5t#S256"?: string | undefined;
3501
+ x5u?: string | undefined;
3502
+ }>, {
3503
+ kty: "RSA";
3504
+ n: string;
3505
+ e: string;
3506
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3507
+ kid?: string | undefined;
3508
+ ext?: boolean | undefined;
3509
+ use?: "sig" | "enc" | undefined;
3510
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3511
+ x5c?: string[] | undefined;
3512
+ x5t?: string | undefined;
3513
+ "x5t#S256"?: string | undefined;
3514
+ x5u?: string | undefined;
3515
+ d?: string | undefined;
3516
+ p?: string | undefined;
3517
+ q?: string | undefined;
3518
+ dp?: string | undefined;
3519
+ dq?: string | undefined;
3520
+ qi?: string | undefined;
3521
+ oth?: [{
3522
+ d?: string | undefined;
3523
+ r?: string | undefined;
3524
+ t?: string | undefined;
3525
+ }, ...{
3526
+ d?: string | undefined;
3527
+ r?: string | undefined;
3528
+ t?: string | undefined;
3529
+ }[]] | undefined;
3530
+ } | {
3531
+ kty: "EC";
3532
+ crv: "P-256" | "P-384" | "P-521";
3533
+ x: string;
3534
+ y: string;
3535
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
3536
+ kid?: string | undefined;
3537
+ ext?: boolean | undefined;
3538
+ use?: "sig" | "enc" | undefined;
3539
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3540
+ x5c?: string[] | undefined;
3541
+ x5t?: string | undefined;
3542
+ "x5t#S256"?: string | undefined;
3543
+ x5u?: string | undefined;
3544
+ d?: string | undefined;
3545
+ } | {
3546
+ kty: "EC";
3547
+ crv: "secp256k1";
3548
+ x: string;
3549
+ y: string;
3550
+ alg?: "ES256K" | undefined;
3551
+ kid?: string | undefined;
3552
+ ext?: boolean | undefined;
3553
+ use?: "sig" | "enc" | undefined;
3554
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3555
+ x5c?: string[] | undefined;
3556
+ x5t?: string | undefined;
3557
+ "x5t#S256"?: string | undefined;
3558
+ x5u?: string | undefined;
3559
+ d?: string | undefined;
3560
+ } | {
3561
+ kty: "OKP";
3562
+ crv: "Ed25519" | "Ed448";
3563
+ x: string;
3564
+ alg?: "EdDSA" | undefined;
3565
+ kid?: string | undefined;
3566
+ ext?: boolean | undefined;
3567
+ use?: "sig" | "enc" | undefined;
3568
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3569
+ x5c?: string[] | undefined;
3570
+ x5t?: string | undefined;
3571
+ "x5t#S256"?: string | undefined;
3572
+ x5u?: string | undefined;
3573
+ d?: string | undefined;
3574
+ } | {
3575
+ kty: "oct";
3576
+ k: string;
3577
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3578
+ kid?: string | undefined;
3579
+ ext?: boolean | undefined;
3580
+ use?: "sig" | "enc" | undefined;
3581
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3582
+ x5c?: string[] | undefined;
3583
+ x5t?: string | undefined;
3584
+ "x5t#S256"?: string | undefined;
3585
+ x5u?: string | undefined;
3586
+ } | {
3587
+ kty: string;
3588
+ alg?: string | undefined;
3589
+ kid?: string | undefined;
3590
+ ext?: boolean | undefined;
3591
+ use?: "sig" | "enc" | undefined;
3592
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3593
+ x5c?: string[] | undefined;
3594
+ x5t?: string | undefined;
3595
+ "x5t#S256"?: string | undefined;
3596
+ x5u?: string | undefined;
3597
+ }, {
3598
+ kty: "RSA";
3599
+ n: string;
3600
+ e: string;
3601
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3602
+ kid?: string | undefined;
3603
+ ext?: boolean | undefined;
3604
+ use?: "sig" | "enc" | undefined;
3605
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3606
+ x5c?: string[] | undefined;
3607
+ x5t?: string | undefined;
3608
+ "x5t#S256"?: string | undefined;
3609
+ x5u?: string | undefined;
3610
+ d?: string | undefined;
3611
+ p?: string | undefined;
3612
+ q?: string | undefined;
3613
+ dp?: string | undefined;
3614
+ dq?: string | undefined;
3615
+ qi?: string | undefined;
3616
+ oth?: [{
3617
+ d?: string | undefined;
3618
+ r?: string | undefined;
3619
+ t?: string | undefined;
3620
+ }, ...{
3621
+ d?: string | undefined;
3622
+ r?: string | undefined;
3623
+ t?: string | undefined;
3624
+ }[]] | undefined;
3625
+ } | {
3626
+ kty: "EC";
3627
+ crv: "P-256" | "P-384" | "P-521";
3628
+ x: string;
3629
+ y: string;
3630
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
3631
+ kid?: string | undefined;
3632
+ ext?: boolean | undefined;
3633
+ use?: "sig" | "enc" | undefined;
3634
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3635
+ x5c?: string[] | undefined;
3636
+ x5t?: string | undefined;
3637
+ "x5t#S256"?: string | undefined;
3638
+ x5u?: string | undefined;
3639
+ d?: string | undefined;
3640
+ } | {
3641
+ kty: "EC";
3642
+ crv: "secp256k1";
3643
+ x: string;
3644
+ y: string;
3645
+ alg?: "ES256K" | undefined;
3646
+ kid?: string | undefined;
3647
+ ext?: boolean | undefined;
3648
+ use?: "sig" | "enc" | undefined;
3649
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3650
+ x5c?: string[] | undefined;
3651
+ x5t?: string | undefined;
3652
+ "x5t#S256"?: string | undefined;
3653
+ x5u?: string | undefined;
3654
+ d?: string | undefined;
3655
+ } | {
3656
+ kty: "OKP";
3657
+ crv: "Ed25519" | "Ed448";
3658
+ x: string;
3659
+ alg?: "EdDSA" | undefined;
3660
+ kid?: string | undefined;
3661
+ ext?: boolean | undefined;
3662
+ use?: "sig" | "enc" | undefined;
3663
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3664
+ x5c?: string[] | undefined;
3665
+ x5t?: string | undefined;
3666
+ "x5t#S256"?: string | undefined;
3667
+ x5u?: string | undefined;
3668
+ d?: string | undefined;
3669
+ } | {
3670
+ kty: "oct";
3671
+ k: string;
3672
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3673
+ kid?: string | undefined;
3674
+ ext?: boolean | undefined;
3675
+ use?: "sig" | "enc" | undefined;
3676
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3677
+ x5c?: string[] | undefined;
3678
+ x5t?: string | undefined;
3679
+ "x5t#S256"?: string | undefined;
3680
+ x5u?: string | undefined;
3681
+ } | {
3682
+ kty: string;
3683
+ alg?: string | undefined;
3684
+ kid?: string | undefined;
3685
+ ext?: boolean | undefined;
3686
+ use?: "sig" | "enc" | undefined;
3687
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3688
+ x5c?: string[] | undefined;
3689
+ x5t?: string | undefined;
3690
+ "x5t#S256"?: string | undefined;
3691
+ x5u?: string | undefined;
3692
+ }>, {
3693
+ kty: "RSA";
3694
+ n: string;
3695
+ e: string;
3696
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3697
+ kid?: string | undefined;
3698
+ ext?: boolean | undefined;
3699
+ use?: "sig" | "enc" | undefined;
3700
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3701
+ x5c?: string[] | undefined;
3702
+ x5t?: string | undefined;
3703
+ "x5t#S256"?: string | undefined;
3704
+ x5u?: string | undefined;
3705
+ d?: string | undefined;
3706
+ p?: string | undefined;
3707
+ q?: string | undefined;
3708
+ dp?: string | undefined;
3709
+ dq?: string | undefined;
3710
+ qi?: string | undefined;
3711
+ oth?: [{
3712
+ d?: string | undefined;
3713
+ r?: string | undefined;
3714
+ t?: string | undefined;
3715
+ }, ...{
3716
+ d?: string | undefined;
3717
+ r?: string | undefined;
3718
+ t?: string | undefined;
3719
+ }[]] | undefined;
3720
+ } | {
3721
+ kty: "EC";
3722
+ crv: "P-256" | "P-384" | "P-521";
3723
+ x: string;
3724
+ y: string;
3725
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
3726
+ kid?: string | undefined;
3727
+ ext?: boolean | undefined;
3728
+ use?: "sig" | "enc" | undefined;
3729
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3730
+ x5c?: string[] | undefined;
3731
+ x5t?: string | undefined;
3732
+ "x5t#S256"?: string | undefined;
3733
+ x5u?: string | undefined;
3734
+ d?: string | undefined;
3735
+ } | {
3736
+ kty: "EC";
3737
+ crv: "secp256k1";
3738
+ x: string;
3739
+ y: string;
3740
+ alg?: "ES256K" | undefined;
3741
+ kid?: string | undefined;
3742
+ ext?: boolean | undefined;
3743
+ use?: "sig" | "enc" | undefined;
3744
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3745
+ x5c?: string[] | undefined;
3746
+ x5t?: string | undefined;
3747
+ "x5t#S256"?: string | undefined;
3748
+ x5u?: string | undefined;
3749
+ d?: string | undefined;
3750
+ } | {
3751
+ kty: "OKP";
3752
+ crv: "Ed25519" | "Ed448";
3753
+ x: string;
3754
+ alg?: "EdDSA" | undefined;
3755
+ kid?: string | undefined;
3756
+ ext?: boolean | undefined;
3757
+ use?: "sig" | "enc" | undefined;
3758
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3759
+ x5c?: string[] | undefined;
3760
+ x5t?: string | undefined;
3761
+ "x5t#S256"?: string | undefined;
3762
+ x5u?: string | undefined;
3763
+ d?: string | undefined;
3764
+ } | {
3765
+ kty: "oct";
3766
+ k: string;
3767
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3768
+ kid?: string | undefined;
3769
+ ext?: boolean | undefined;
3770
+ use?: "sig" | "enc" | undefined;
3771
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3772
+ x5c?: string[] | undefined;
3773
+ x5t?: string | undefined;
3774
+ "x5t#S256"?: string | undefined;
3775
+ x5u?: string | undefined;
3776
+ } | {
3777
+ kty: string;
3778
+ alg?: string | undefined;
3779
+ kid?: string | undefined;
3780
+ ext?: boolean | undefined;
3781
+ use?: "sig" | "enc" | undefined;
3782
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3783
+ x5c?: string[] | undefined;
3784
+ x5t?: string | undefined;
3785
+ "x5t#S256"?: string | undefined;
3786
+ x5u?: string | undefined;
3787
+ }, {
3788
+ kty: "RSA";
3789
+ n: string;
3790
+ e: string;
3791
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3792
+ kid?: string | undefined;
3793
+ ext?: boolean | undefined;
3794
+ use?: "sig" | "enc" | undefined;
3795
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3796
+ x5c?: string[] | undefined;
3797
+ x5t?: string | undefined;
3798
+ "x5t#S256"?: string | undefined;
3799
+ x5u?: string | undefined;
3800
+ d?: string | undefined;
3801
+ p?: string | undefined;
3802
+ q?: string | undefined;
3803
+ dp?: string | undefined;
3804
+ dq?: string | undefined;
3805
+ qi?: string | undefined;
3806
+ oth?: [{
3807
+ d?: string | undefined;
3808
+ r?: string | undefined;
3809
+ t?: string | undefined;
3810
+ }, ...{
3811
+ d?: string | undefined;
3812
+ r?: string | undefined;
3813
+ t?: string | undefined;
3814
+ }[]] | undefined;
3815
+ } | {
3816
+ kty: "EC";
3817
+ crv: "P-256" | "P-384" | "P-521";
3818
+ x: string;
3819
+ y: string;
3820
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
3821
+ kid?: string | undefined;
3822
+ ext?: boolean | undefined;
3823
+ use?: "sig" | "enc" | undefined;
3824
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3825
+ x5c?: string[] | undefined;
3826
+ x5t?: string | undefined;
3827
+ "x5t#S256"?: string | undefined;
3828
+ x5u?: string | undefined;
3829
+ d?: string | undefined;
3830
+ } | {
3831
+ kty: "EC";
3832
+ crv: "secp256k1";
3833
+ x: string;
3834
+ y: string;
3835
+ alg?: "ES256K" | undefined;
3836
+ kid?: string | undefined;
3837
+ ext?: boolean | undefined;
3838
+ use?: "sig" | "enc" | undefined;
3839
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3840
+ x5c?: string[] | undefined;
3841
+ x5t?: string | undefined;
3842
+ "x5t#S256"?: string | undefined;
3843
+ x5u?: string | undefined;
3844
+ d?: string | undefined;
3845
+ } | {
3846
+ kty: "OKP";
3847
+ crv: "Ed25519" | "Ed448";
3848
+ x: string;
3849
+ alg?: "EdDSA" | undefined;
3850
+ kid?: string | undefined;
3851
+ ext?: boolean | undefined;
3852
+ use?: "sig" | "enc" | undefined;
3853
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3854
+ x5c?: string[] | undefined;
3855
+ x5t?: string | undefined;
3856
+ "x5t#S256"?: string | undefined;
3857
+ x5u?: string | undefined;
3858
+ d?: string | undefined;
3859
+ } | {
3860
+ kty: "oct";
3861
+ k: string;
3862
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3863
+ kid?: string | undefined;
3864
+ ext?: boolean | undefined;
3865
+ use?: "sig" | "enc" | undefined;
3866
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3867
+ x5c?: string[] | undefined;
3868
+ x5t?: string | undefined;
3869
+ "x5t#S256"?: string | undefined;
3870
+ x5u?: string | undefined;
3871
+ } | {
3872
+ kty: string;
3873
+ alg?: string | undefined;
3874
+ kid?: string | undefined;
3875
+ ext?: boolean | undefined;
3876
+ use?: "sig" | "enc" | undefined;
3877
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3878
+ x5c?: string[] | undefined;
3879
+ x5t?: string | undefined;
3880
+ "x5t#S256"?: string | undefined;
3881
+ x5u?: string | undefined;
3882
+ }>>;
3883
+ jwe: z.ZodOptional<z.ZodString>;
3884
+ jku: z.ZodOptional<z.ZodString>;
3885
+ jkt: z.ZodOptional<z.ZodString>;
3886
+ 'x5t#S256': z.ZodOptional<z.ZodString>;
3887
+ osc: z.ZodOptional<z.ZodString>;
3888
+ }, "strip", z.ZodTypeAny, {
3889
+ kid?: string | undefined;
3890
+ 'x5t#S256'?: string | undefined;
3891
+ jku?: string | undefined;
3892
+ jwk?: {
3893
+ kty: "RSA";
3894
+ n: string;
3895
+ e: string;
3896
+ alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3897
+ kid?: string | undefined;
3898
+ ext?: boolean | undefined;
3899
+ use?: "sig" | "enc" | undefined;
3900
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3901
+ x5c?: string[] | undefined;
3902
+ x5t?: string | undefined;
3903
+ "x5t#S256"?: string | undefined;
3904
+ x5u?: string | undefined;
3905
+ d?: string | undefined;
3906
+ p?: string | undefined;
3907
+ q?: string | undefined;
3908
+ dp?: string | undefined;
3909
+ dq?: string | undefined;
3910
+ qi?: string | undefined;
3911
+ oth?: [{
3912
+ d?: string | undefined;
3913
+ r?: string | undefined;
3914
+ t?: string | undefined;
3915
+ }, ...{
3916
+ d?: string | undefined;
3917
+ r?: string | undefined;
3918
+ t?: string | undefined;
3919
+ }[]] | undefined;
3920
+ } | {
3921
+ kty: "EC";
3922
+ crv: "P-256" | "P-384" | "P-521";
3923
+ x: string;
3924
+ y: string;
3925
+ alg?: "ES256" | "ES384" | "ES512" | undefined;
3926
+ kid?: string | undefined;
3927
+ ext?: boolean | undefined;
3928
+ use?: "sig" | "enc" | undefined;
3929
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3930
+ x5c?: string[] | undefined;
3931
+ x5t?: string | undefined;
3932
+ "x5t#S256"?: string | undefined;
3933
+ x5u?: string | undefined;
3934
+ d?: string | undefined;
3935
+ } | {
3936
+ kty: "EC";
3937
+ crv: "secp256k1";
3938
+ x: string;
3939
+ y: string;
3940
+ alg?: "ES256K" | undefined;
3941
+ kid?: string | undefined;
3942
+ ext?: boolean | undefined;
3943
+ use?: "sig" | "enc" | undefined;
3944
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3945
+ x5c?: string[] | undefined;
3946
+ x5t?: string | undefined;
3947
+ "x5t#S256"?: string | undefined;
3948
+ x5u?: string | undefined;
3949
+ d?: string | undefined;
3950
+ } | {
3951
+ kty: "OKP";
3952
+ crv: "Ed25519" | "Ed448";
3953
+ x: string;
3954
+ alg?: "EdDSA" | undefined;
3955
+ kid?: string | undefined;
3956
+ ext?: boolean | undefined;
3957
+ use?: "sig" | "enc" | undefined;
3958
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3959
+ x5c?: string[] | undefined;
3960
+ x5t?: string | undefined;
3961
+ "x5t#S256"?: string | undefined;
3962
+ x5u?: string | undefined;
3963
+ d?: string | undefined;
3964
+ } | {
3965
+ kty: "oct";
3966
+ k: string;
3967
+ alg?: "HS256" | "HS384" | "HS512" | undefined;
3968
+ kid?: string | undefined;
3969
+ ext?: boolean | undefined;
3970
+ use?: "sig" | "enc" | undefined;
3971
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3972
+ x5c?: string[] | undefined;
3973
+ x5t?: string | undefined;
3974
+ "x5t#S256"?: string | undefined;
3975
+ x5u?: string | undefined;
3976
+ } | {
3977
+ kty: string;
3978
+ alg?: string | undefined;
3979
+ kid?: string | undefined;
3980
+ ext?: boolean | undefined;
3981
+ use?: "sig" | "enc" | undefined;
3982
+ key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3983
+ x5c?: string[] | undefined;
3984
+ x5t?: string | undefined;
3985
+ "x5t#S256"?: string | undefined;
3986
+ x5u?: string | undefined;
3987
+ } | undefined;
3988
+ jwe?: string | undefined;
3989
+ jkt?: string | undefined;
3990
+ osc?: string | undefined;
3991
+ }, {
1579
3992
  kid?: string | undefined;
1580
3993
  'x5t#S256'?: string | undefined;
1581
3994
  jku?: string | undefined;
@@ -1678,10 +4091,13 @@ export declare const tokenClaimsSchema: z.ZodIntersection<z.ZodObject<{
1678
4091
  jwe?: string | undefined;
1679
4092
  jkt?: string | undefined;
1680
4093
  osc?: string | undefined;
1681
- } | undefined;
1682
- at_hash?: string | undefined;
1683
- c_hash?: string | undefined;
1684
- s_hash?: string | undefined;
1685
- }>>;
4094
+ }>>>;
4095
+ at_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4096
+ c_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4097
+ s_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4098
+ }, {
4099
+ sub: z.ZodString;
4100
+ client_id: z.ZodString;
4101
+ }>, z.ZodTypeAny, "passthrough">>>;
1686
4102
  export type TokenClaims = Simplify<z.infer<typeof tokenClaimsSchema>>;
1687
4103
  //# sourceMappingURL=token-claims.d.ts.map