@atproto/jwk 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/jwt.d.ts CHANGED
@@ -163,7 +163,7 @@ export declare const jwtPayloadSchema: z.ZodObject<{
163
163
  amr: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
164
164
  cnf: z.ZodOptional<z.ZodObject<{
165
165
  kid: z.ZodOptional<z.ZodString>;
166
- jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
166
+ jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
167
167
  kty: z.ZodString;
168
168
  alg: z.ZodOptional<z.ZodString>;
169
169
  kid: z.ZodOptional<z.ZodString>;
@@ -1039,196 +1039,6 @@ export declare const jwtPayloadSchema: z.ZodObject<{
1039
1039
  x5t?: string | undefined;
1040
1040
  'x5t#S256'?: string | undefined;
1041
1041
  x5u?: string | undefined;
1042
- }>, {
1043
- kty: "RSA";
1044
- n: string;
1045
- e: string;
1046
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
1047
- kid?: string | undefined;
1048
- ext?: boolean | undefined;
1049
- use?: "sig" | "enc" | undefined;
1050
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1051
- x5c?: string[] | undefined;
1052
- x5t?: string | undefined;
1053
- 'x5t#S256'?: string | undefined;
1054
- x5u?: string | undefined;
1055
- d?: string | undefined;
1056
- p?: string | undefined;
1057
- q?: string | undefined;
1058
- dp?: string | undefined;
1059
- dq?: string | undefined;
1060
- qi?: string | undefined;
1061
- oth?: [{
1062
- d?: string | undefined;
1063
- r?: string | undefined;
1064
- t?: string | undefined;
1065
- }, ...{
1066
- d?: string | undefined;
1067
- r?: string | undefined;
1068
- t?: string | undefined;
1069
- }[]] | undefined;
1070
- } | {
1071
- kty: "EC";
1072
- crv: "P-256" | "P-384" | "P-521";
1073
- x: string;
1074
- y: string;
1075
- alg?: "ES256" | "ES384" | "ES512" | undefined;
1076
- kid?: string | undefined;
1077
- ext?: boolean | undefined;
1078
- use?: "sig" | "enc" | undefined;
1079
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1080
- x5c?: string[] | undefined;
1081
- x5t?: string | undefined;
1082
- 'x5t#S256'?: string | undefined;
1083
- x5u?: string | undefined;
1084
- d?: string | undefined;
1085
- } | {
1086
- kty: "EC";
1087
- crv: "secp256k1";
1088
- x: string;
1089
- y: string;
1090
- alg?: "ES256K" | undefined;
1091
- kid?: string | undefined;
1092
- ext?: boolean | undefined;
1093
- use?: "sig" | "enc" | undefined;
1094
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1095
- x5c?: string[] | undefined;
1096
- x5t?: string | undefined;
1097
- 'x5t#S256'?: string | undefined;
1098
- x5u?: string | undefined;
1099
- d?: string | undefined;
1100
- } | {
1101
- kty: "OKP";
1102
- crv: "Ed25519" | "Ed448";
1103
- x: string;
1104
- alg?: "EdDSA" | undefined;
1105
- kid?: string | undefined;
1106
- ext?: boolean | undefined;
1107
- use?: "sig" | "enc" | undefined;
1108
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1109
- x5c?: string[] | undefined;
1110
- x5t?: string | undefined;
1111
- 'x5t#S256'?: string | undefined;
1112
- x5u?: string | undefined;
1113
- d?: string | undefined;
1114
- } | {
1115
- kty: "oct";
1116
- k: string;
1117
- alg?: "HS256" | "HS384" | "HS512" | undefined;
1118
- kid?: string | undefined;
1119
- ext?: boolean | undefined;
1120
- use?: "sig" | "enc" | undefined;
1121
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1122
- x5c?: string[] | undefined;
1123
- x5t?: string | undefined;
1124
- 'x5t#S256'?: string | undefined;
1125
- x5u?: string | undefined;
1126
- } | {
1127
- kty: string;
1128
- alg?: string | undefined;
1129
- kid?: string | undefined;
1130
- ext?: boolean | undefined;
1131
- use?: "sig" | "enc" | undefined;
1132
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1133
- x5c?: string[] | undefined;
1134
- x5t?: string | undefined;
1135
- 'x5t#S256'?: string | undefined;
1136
- x5u?: string | undefined;
1137
- }, {
1138
- kty: "RSA";
1139
- n: string;
1140
- e: string;
1141
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
1142
- kid?: string | undefined;
1143
- ext?: boolean | undefined;
1144
- use?: "sig" | "enc" | undefined;
1145
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1146
- x5c?: string[] | undefined;
1147
- x5t?: string | undefined;
1148
- 'x5t#S256'?: string | undefined;
1149
- x5u?: string | undefined;
1150
- d?: string | undefined;
1151
- p?: string | undefined;
1152
- q?: string | undefined;
1153
- dp?: string | undefined;
1154
- dq?: string | undefined;
1155
- qi?: string | undefined;
1156
- oth?: [{
1157
- d?: string | undefined;
1158
- r?: string | undefined;
1159
- t?: string | undefined;
1160
- }, ...{
1161
- d?: string | undefined;
1162
- r?: string | undefined;
1163
- t?: string | undefined;
1164
- }[]] | undefined;
1165
- } | {
1166
- kty: "EC";
1167
- crv: "P-256" | "P-384" | "P-521";
1168
- x: string;
1169
- y: string;
1170
- alg?: "ES256" | "ES384" | "ES512" | undefined;
1171
- kid?: string | undefined;
1172
- ext?: boolean | undefined;
1173
- use?: "sig" | "enc" | undefined;
1174
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1175
- x5c?: string[] | undefined;
1176
- x5t?: string | undefined;
1177
- 'x5t#S256'?: string | undefined;
1178
- x5u?: string | undefined;
1179
- d?: string | undefined;
1180
- } | {
1181
- kty: "EC";
1182
- crv: "secp256k1";
1183
- x: string;
1184
- y: string;
1185
- alg?: "ES256K" | undefined;
1186
- kid?: string | undefined;
1187
- ext?: boolean | undefined;
1188
- use?: "sig" | "enc" | undefined;
1189
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1190
- x5c?: string[] | undefined;
1191
- x5t?: string | undefined;
1192
- 'x5t#S256'?: string | undefined;
1193
- x5u?: string | undefined;
1194
- d?: string | undefined;
1195
- } | {
1196
- kty: "OKP";
1197
- crv: "Ed25519" | "Ed448";
1198
- x: string;
1199
- alg?: "EdDSA" | undefined;
1200
- kid?: string | undefined;
1201
- ext?: boolean | undefined;
1202
- use?: "sig" | "enc" | undefined;
1203
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1204
- x5c?: string[] | undefined;
1205
- x5t?: string | undefined;
1206
- 'x5t#S256'?: string | undefined;
1207
- x5u?: string | undefined;
1208
- d?: string | undefined;
1209
- } | {
1210
- kty: "oct";
1211
- k: string;
1212
- alg?: "HS256" | "HS384" | "HS512" | undefined;
1213
- kid?: string | undefined;
1214
- ext?: boolean | undefined;
1215
- use?: "sig" | "enc" | undefined;
1216
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1217
- x5c?: string[] | undefined;
1218
- x5t?: string | undefined;
1219
- 'x5t#S256'?: string | undefined;
1220
- x5u?: string | undefined;
1221
- } | {
1222
- kty: string;
1223
- alg?: string | undefined;
1224
- kid?: string | undefined;
1225
- ext?: boolean | undefined;
1226
- use?: "sig" | "enc" | undefined;
1227
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1228
- x5c?: string[] | undefined;
1229
- x5t?: string | undefined;
1230
- 'x5t#S256'?: string | undefined;
1231
- x5u?: string | undefined;
1232
1042
  }>>;
1233
1043
  jwe: z.ZodOptional<z.ZodString>;
1234
1044
  jku: z.ZodOptional<z.ZodString>;
@@ -1527,7 +1337,7 @@ export declare const jwtPayloadSchema: z.ZodObject<{
1527
1337
  amr: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1528
1338
  cnf: z.ZodOptional<z.ZodObject<{
1529
1339
  kid: z.ZodOptional<z.ZodString>;
1530
- jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1340
+ jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1531
1341
  kty: z.ZodString;
1532
1342
  alg: z.ZodOptional<z.ZodString>;
1533
1343
  kid: z.ZodOptional<z.ZodString>;
@@ -2403,7 +2213,17 @@ export declare const jwtPayloadSchema: z.ZodObject<{
2403
2213
  x5t?: string | undefined;
2404
2214
  'x5t#S256'?: string | undefined;
2405
2215
  x5u?: string | undefined;
2406
- }>, {
2216
+ }>>;
2217
+ jwe: z.ZodOptional<z.ZodString>;
2218
+ jku: z.ZodOptional<z.ZodString>;
2219
+ jkt: z.ZodOptional<z.ZodString>;
2220
+ 'x5t#S256': z.ZodOptional<z.ZodString>;
2221
+ osc: z.ZodOptional<z.ZodString>;
2222
+ }, "strip", z.ZodTypeAny, {
2223
+ kid?: string | undefined;
2224
+ 'x5t#S256'?: string | undefined;
2225
+ jku?: string | undefined;
2226
+ jwk?: {
2407
2227
  kty: "RSA";
2408
2228
  n: string;
2409
2229
  e: string;
@@ -2498,7 +2318,15 @@ export declare const jwtPayloadSchema: z.ZodObject<{
2498
2318
  x5t?: string | undefined;
2499
2319
  'x5t#S256'?: string | undefined;
2500
2320
  x5u?: string | undefined;
2501
- }, {
2321
+ } | undefined;
2322
+ jwe?: string | undefined;
2323
+ jkt?: string | undefined;
2324
+ osc?: string | undefined;
2325
+ }, {
2326
+ kid?: string | undefined;
2327
+ 'x5t#S256'?: string | undefined;
2328
+ jku?: string | undefined;
2329
+ jwk?: {
2502
2330
  kty: "RSA";
2503
2331
  n: string;
2504
2332
  e: string;
@@ -2593,251 +2421,43 @@ export declare const jwtPayloadSchema: z.ZodObject<{
2593
2421
  x5t?: string | undefined;
2594
2422
  'x5t#S256'?: string | undefined;
2595
2423
  x5u?: string | undefined;
2596
- }>>;
2597
- jwe: z.ZodOptional<z.ZodString>;
2598
- jku: z.ZodOptional<z.ZodString>;
2599
- jkt: z.ZodOptional<z.ZodString>;
2600
- 'x5t#S256': z.ZodOptional<z.ZodString>;
2601
- osc: z.ZodOptional<z.ZodString>;
2602
- }, "strip", z.ZodTypeAny, {
2603
- kid?: string | undefined;
2604
- 'x5t#S256'?: string | undefined;
2605
- jku?: string | undefined;
2606
- jwk?: {
2607
- kty: "RSA";
2608
- n: string;
2609
- e: string;
2610
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2611
- kid?: string | undefined;
2612
- ext?: boolean | undefined;
2613
- use?: "sig" | "enc" | undefined;
2614
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2615
- x5c?: string[] | undefined;
2616
- x5t?: string | undefined;
2617
- 'x5t#S256'?: string | undefined;
2618
- x5u?: string | undefined;
2619
- d?: string | undefined;
2620
- p?: string | undefined;
2621
- q?: string | undefined;
2622
- dp?: string | undefined;
2623
- dq?: string | undefined;
2624
- qi?: string | undefined;
2625
- oth?: [{
2626
- d?: string | undefined;
2627
- r?: string | undefined;
2628
- t?: string | undefined;
2629
- }, ...{
2630
- d?: string | undefined;
2631
- r?: string | undefined;
2632
- t?: string | undefined;
2633
- }[]] | undefined;
2634
- } | {
2635
- kty: "EC";
2636
- crv: "P-256" | "P-384" | "P-521";
2637
- x: string;
2638
- y: string;
2639
- alg?: "ES256" | "ES384" | "ES512" | undefined;
2640
- kid?: string | undefined;
2641
- ext?: boolean | undefined;
2642
- use?: "sig" | "enc" | undefined;
2643
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2644
- x5c?: string[] | undefined;
2645
- x5t?: string | undefined;
2646
- 'x5t#S256'?: string | undefined;
2647
- x5u?: string | undefined;
2648
- d?: string | undefined;
2649
- } | {
2650
- kty: "EC";
2651
- crv: "secp256k1";
2652
- x: string;
2653
- y: string;
2654
- alg?: "ES256K" | undefined;
2655
- kid?: string | undefined;
2656
- ext?: boolean | undefined;
2657
- use?: "sig" | "enc" | undefined;
2658
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2659
- x5c?: string[] | undefined;
2660
- x5t?: string | undefined;
2661
- 'x5t#S256'?: string | undefined;
2662
- x5u?: string | undefined;
2663
- d?: string | undefined;
2664
- } | {
2665
- kty: "OKP";
2666
- crv: "Ed25519" | "Ed448";
2667
- x: string;
2668
- alg?: "EdDSA" | undefined;
2669
- kid?: string | undefined;
2670
- ext?: boolean | undefined;
2671
- use?: "sig" | "enc" | undefined;
2672
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2673
- x5c?: string[] | undefined;
2674
- x5t?: string | undefined;
2675
- 'x5t#S256'?: string | undefined;
2676
- x5u?: string | undefined;
2677
- d?: string | undefined;
2678
- } | {
2679
- kty: "oct";
2680
- k: string;
2681
- alg?: "HS256" | "HS384" | "HS512" | 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
- } | {
2691
- kty: string;
2692
- alg?: string | undefined;
2693
- kid?: string | undefined;
2694
- ext?: boolean | undefined;
2695
- use?: "sig" | "enc" | undefined;
2696
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2697
- x5c?: string[] | undefined;
2698
- x5t?: string | undefined;
2699
- 'x5t#S256'?: string | undefined;
2700
- x5u?: string | undefined;
2701
- } | undefined;
2702
- jwe?: string | undefined;
2703
- jkt?: string | undefined;
2704
- osc?: string | undefined;
2705
- }, {
2706
- kid?: string | undefined;
2707
- 'x5t#S256'?: string | undefined;
2708
- jku?: string | undefined;
2709
- jwk?: {
2710
- kty: "RSA";
2711
- n: string;
2712
- e: string;
2713
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2714
- kid?: string | undefined;
2715
- ext?: boolean | undefined;
2716
- use?: "sig" | "enc" | undefined;
2717
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2718
- x5c?: string[] | undefined;
2719
- x5t?: string | undefined;
2720
- 'x5t#S256'?: string | undefined;
2721
- x5u?: string | undefined;
2722
- d?: string | undefined;
2723
- p?: string | undefined;
2724
- q?: string | undefined;
2725
- dp?: string | undefined;
2726
- dq?: string | undefined;
2727
- qi?: string | undefined;
2728
- oth?: [{
2729
- d?: string | undefined;
2730
- r?: string | undefined;
2731
- t?: string | undefined;
2732
- }, ...{
2733
- d?: string | undefined;
2734
- r?: string | undefined;
2735
- t?: string | undefined;
2736
- }[]] | undefined;
2737
- } | {
2738
- kty: "EC";
2739
- crv: "P-256" | "P-384" | "P-521";
2740
- x: string;
2741
- y: string;
2742
- alg?: "ES256" | "ES384" | "ES512" | undefined;
2743
- kid?: string | undefined;
2744
- ext?: boolean | undefined;
2745
- use?: "sig" | "enc" | undefined;
2746
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2747
- x5c?: string[] | undefined;
2748
- x5t?: string | undefined;
2749
- 'x5t#S256'?: string | undefined;
2750
- x5u?: string | undefined;
2751
- d?: string | undefined;
2752
- } | {
2753
- kty: "EC";
2754
- crv: "secp256k1";
2755
- x: string;
2756
- y: string;
2757
- alg?: "ES256K" | undefined;
2758
- kid?: string | undefined;
2759
- ext?: boolean | undefined;
2760
- use?: "sig" | "enc" | undefined;
2761
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2762
- x5c?: string[] | undefined;
2763
- x5t?: string | undefined;
2764
- 'x5t#S256'?: string | undefined;
2765
- x5u?: string | undefined;
2766
- d?: string | undefined;
2767
- } | {
2768
- kty: "OKP";
2769
- crv: "Ed25519" | "Ed448";
2770
- x: string;
2771
- alg?: "EdDSA" | undefined;
2772
- kid?: string | undefined;
2773
- ext?: boolean | undefined;
2774
- use?: "sig" | "enc" | undefined;
2775
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2776
- x5c?: string[] | undefined;
2777
- x5t?: string | undefined;
2778
- 'x5t#S256'?: string | undefined;
2779
- x5u?: string | undefined;
2780
- d?: string | undefined;
2781
- } | {
2782
- kty: "oct";
2783
- k: string;
2784
- alg?: "HS256" | "HS384" | "HS512" | undefined;
2785
- kid?: string | undefined;
2786
- ext?: boolean | undefined;
2787
- use?: "sig" | "enc" | undefined;
2788
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2789
- x5c?: string[] | undefined;
2790
- x5t?: string | undefined;
2791
- 'x5t#S256'?: string | undefined;
2792
- x5u?: string | undefined;
2793
- } | {
2794
- kty: string;
2795
- alg?: string | undefined;
2796
- kid?: string | undefined;
2797
- ext?: boolean | undefined;
2798
- use?: "sig" | "enc" | undefined;
2799
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2800
- x5c?: string[] | undefined;
2801
- x5t?: string | undefined;
2802
- 'x5t#S256'?: string | undefined;
2803
- x5u?: string | undefined;
2804
- } | undefined;
2805
- jwe?: string | undefined;
2806
- jkt?: string | undefined;
2807
- osc?: string | undefined;
2808
- }>>;
2809
- client_id: z.ZodOptional<z.ZodString>;
2810
- scope: z.ZodOptional<z.ZodString>;
2811
- nonce: z.ZodOptional<z.ZodString>;
2812
- at_hash: z.ZodOptional<z.ZodString>;
2813
- c_hash: z.ZodOptional<z.ZodString>;
2814
- s_hash: z.ZodOptional<z.ZodString>;
2815
- auth_time: z.ZodOptional<z.ZodNumber>;
2816
- name: z.ZodOptional<z.ZodString>;
2817
- family_name: z.ZodOptional<z.ZodString>;
2818
- given_name: z.ZodOptional<z.ZodString>;
2819
- middle_name: z.ZodOptional<z.ZodString>;
2820
- nickname: z.ZodOptional<z.ZodString>;
2821
- preferred_username: z.ZodOptional<z.ZodString>;
2822
- gender: z.ZodOptional<z.ZodString>;
2823
- picture: z.ZodOptional<z.ZodString>;
2824
- profile: z.ZodOptional<z.ZodString>;
2825
- website: z.ZodOptional<z.ZodString>;
2826
- birthdate: z.ZodOptional<z.ZodString>;
2827
- zoneinfo: z.ZodOptional<z.ZodString>;
2828
- locale: z.ZodOptional<z.ZodString>;
2829
- updated_at: z.ZodOptional<z.ZodNumber>;
2830
- email: z.ZodOptional<z.ZodString>;
2831
- email_verified: z.ZodOptional<z.ZodBoolean>;
2832
- phone_number: z.ZodOptional<z.ZodString>;
2833
- phone_number_verified: z.ZodOptional<z.ZodBoolean>;
2834
- address: z.ZodOptional<z.ZodObject<{
2835
- formatted: z.ZodOptional<z.ZodString>;
2836
- street_address: z.ZodOptional<z.ZodString>;
2837
- locality: z.ZodOptional<z.ZodString>;
2838
- region: z.ZodOptional<z.ZodString>;
2839
- postal_code: z.ZodOptional<z.ZodString>;
2840
- country: z.ZodOptional<z.ZodString>;
2424
+ } | undefined;
2425
+ jwe?: string | undefined;
2426
+ jkt?: string | undefined;
2427
+ osc?: string | undefined;
2428
+ }>>;
2429
+ client_id: z.ZodOptional<z.ZodString>;
2430
+ scope: z.ZodOptional<z.ZodString>;
2431
+ nonce: z.ZodOptional<z.ZodString>;
2432
+ at_hash: z.ZodOptional<z.ZodString>;
2433
+ c_hash: z.ZodOptional<z.ZodString>;
2434
+ s_hash: z.ZodOptional<z.ZodString>;
2435
+ auth_time: z.ZodOptional<z.ZodNumber>;
2436
+ name: z.ZodOptional<z.ZodString>;
2437
+ family_name: z.ZodOptional<z.ZodString>;
2438
+ given_name: z.ZodOptional<z.ZodString>;
2439
+ middle_name: z.ZodOptional<z.ZodString>;
2440
+ nickname: z.ZodOptional<z.ZodString>;
2441
+ preferred_username: z.ZodOptional<z.ZodString>;
2442
+ gender: z.ZodOptional<z.ZodString>;
2443
+ picture: z.ZodOptional<z.ZodString>;
2444
+ profile: z.ZodOptional<z.ZodString>;
2445
+ website: z.ZodOptional<z.ZodString>;
2446
+ birthdate: z.ZodOptional<z.ZodString>;
2447
+ zoneinfo: z.ZodOptional<z.ZodString>;
2448
+ locale: z.ZodOptional<z.ZodString>;
2449
+ updated_at: z.ZodOptional<z.ZodNumber>;
2450
+ email: z.ZodOptional<z.ZodString>;
2451
+ email_verified: z.ZodOptional<z.ZodBoolean>;
2452
+ phone_number: z.ZodOptional<z.ZodString>;
2453
+ phone_number_verified: z.ZodOptional<z.ZodBoolean>;
2454
+ address: z.ZodOptional<z.ZodObject<{
2455
+ formatted: z.ZodOptional<z.ZodString>;
2456
+ street_address: z.ZodOptional<z.ZodString>;
2457
+ locality: z.ZodOptional<z.ZodString>;
2458
+ region: z.ZodOptional<z.ZodString>;
2459
+ postal_code: z.ZodOptional<z.ZodString>;
2460
+ country: z.ZodOptional<z.ZodString>;
2841
2461
  }, "strip", z.ZodTypeAny, {
2842
2462
  formatted?: string | undefined;
2843
2463
  street_address?: string | undefined;
@@ -2891,7 +2511,7 @@ export declare const jwtPayloadSchema: z.ZodObject<{
2891
2511
  amr: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2892
2512
  cnf: z.ZodOptional<z.ZodObject<{
2893
2513
  kid: z.ZodOptional<z.ZodString>;
2894
- jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2514
+ jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2895
2515
  kty: z.ZodString;
2896
2516
  alg: z.ZodOptional<z.ZodString>;
2897
2517
  kid: z.ZodOptional<z.ZodString>;
@@ -3767,196 +3387,6 @@ export declare const jwtPayloadSchema: z.ZodObject<{
3767
3387
  x5t?: string | undefined;
3768
3388
  'x5t#S256'?: string | undefined;
3769
3389
  x5u?: string | undefined;
3770
- }>, {
3771
- kty: "RSA";
3772
- n: string;
3773
- e: string;
3774
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3775
- kid?: string | undefined;
3776
- ext?: boolean | undefined;
3777
- use?: "sig" | "enc" | undefined;
3778
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3779
- x5c?: string[] | undefined;
3780
- x5t?: string | undefined;
3781
- 'x5t#S256'?: string | undefined;
3782
- x5u?: string | undefined;
3783
- d?: string | undefined;
3784
- p?: string | undefined;
3785
- q?: string | undefined;
3786
- dp?: string | undefined;
3787
- dq?: string | undefined;
3788
- qi?: string | undefined;
3789
- oth?: [{
3790
- d?: string | undefined;
3791
- r?: string | undefined;
3792
- t?: string | undefined;
3793
- }, ...{
3794
- d?: string | undefined;
3795
- r?: string | undefined;
3796
- t?: string | undefined;
3797
- }[]] | undefined;
3798
- } | {
3799
- kty: "EC";
3800
- crv: "P-256" | "P-384" | "P-521";
3801
- x: string;
3802
- y: string;
3803
- alg?: "ES256" | "ES384" | "ES512" | undefined;
3804
- kid?: string | undefined;
3805
- ext?: boolean | undefined;
3806
- use?: "sig" | "enc" | undefined;
3807
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3808
- x5c?: string[] | undefined;
3809
- x5t?: string | undefined;
3810
- 'x5t#S256'?: string | undefined;
3811
- x5u?: string | undefined;
3812
- d?: string | undefined;
3813
- } | {
3814
- kty: "EC";
3815
- crv: "secp256k1";
3816
- x: string;
3817
- y: string;
3818
- alg?: "ES256K" | undefined;
3819
- kid?: string | undefined;
3820
- ext?: boolean | undefined;
3821
- use?: "sig" | "enc" | undefined;
3822
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3823
- x5c?: string[] | undefined;
3824
- x5t?: string | undefined;
3825
- 'x5t#S256'?: string | undefined;
3826
- x5u?: string | undefined;
3827
- d?: string | undefined;
3828
- } | {
3829
- kty: "OKP";
3830
- crv: "Ed25519" | "Ed448";
3831
- x: string;
3832
- alg?: "EdDSA" | undefined;
3833
- kid?: string | undefined;
3834
- ext?: boolean | undefined;
3835
- use?: "sig" | "enc" | undefined;
3836
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3837
- x5c?: string[] | undefined;
3838
- x5t?: string | undefined;
3839
- 'x5t#S256'?: string | undefined;
3840
- x5u?: string | undefined;
3841
- d?: string | undefined;
3842
- } | {
3843
- kty: "oct";
3844
- k: string;
3845
- alg?: "HS256" | "HS384" | "HS512" | undefined;
3846
- kid?: string | undefined;
3847
- ext?: boolean | undefined;
3848
- use?: "sig" | "enc" | undefined;
3849
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3850
- x5c?: string[] | undefined;
3851
- x5t?: string | undefined;
3852
- 'x5t#S256'?: string | undefined;
3853
- x5u?: string | undefined;
3854
- } | {
3855
- kty: string;
3856
- alg?: string | undefined;
3857
- kid?: string | undefined;
3858
- ext?: boolean | undefined;
3859
- use?: "sig" | "enc" | undefined;
3860
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3861
- x5c?: string[] | undefined;
3862
- x5t?: string | undefined;
3863
- 'x5t#S256'?: string | undefined;
3864
- x5u?: string | undefined;
3865
- }, {
3866
- kty: "RSA";
3867
- n: string;
3868
- e: string;
3869
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3870
- kid?: string | undefined;
3871
- ext?: boolean | undefined;
3872
- use?: "sig" | "enc" | undefined;
3873
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3874
- x5c?: string[] | undefined;
3875
- x5t?: string | undefined;
3876
- 'x5t#S256'?: string | undefined;
3877
- x5u?: string | undefined;
3878
- d?: string | undefined;
3879
- p?: string | undefined;
3880
- q?: string | undefined;
3881
- dp?: string | undefined;
3882
- dq?: string | undefined;
3883
- qi?: string | undefined;
3884
- oth?: [{
3885
- d?: string | undefined;
3886
- r?: string | undefined;
3887
- t?: string | undefined;
3888
- }, ...{
3889
- d?: string | undefined;
3890
- r?: string | undefined;
3891
- t?: string | undefined;
3892
- }[]] | undefined;
3893
- } | {
3894
- kty: "EC";
3895
- crv: "P-256" | "P-384" | "P-521";
3896
- x: string;
3897
- y: string;
3898
- alg?: "ES256" | "ES384" | "ES512" | undefined;
3899
- kid?: string | undefined;
3900
- ext?: boolean | undefined;
3901
- use?: "sig" | "enc" | undefined;
3902
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3903
- x5c?: string[] | undefined;
3904
- x5t?: string | undefined;
3905
- 'x5t#S256'?: string | undefined;
3906
- x5u?: string | undefined;
3907
- d?: string | undefined;
3908
- } | {
3909
- kty: "EC";
3910
- crv: "secp256k1";
3911
- x: string;
3912
- y: string;
3913
- alg?: "ES256K" | undefined;
3914
- kid?: string | undefined;
3915
- ext?: boolean | undefined;
3916
- use?: "sig" | "enc" | undefined;
3917
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3918
- x5c?: string[] | undefined;
3919
- x5t?: string | undefined;
3920
- 'x5t#S256'?: string | undefined;
3921
- x5u?: string | undefined;
3922
- d?: string | undefined;
3923
- } | {
3924
- kty: "OKP";
3925
- crv: "Ed25519" | "Ed448";
3926
- x: string;
3927
- alg?: "EdDSA" | undefined;
3928
- kid?: string | undefined;
3929
- ext?: boolean | undefined;
3930
- use?: "sig" | "enc" | undefined;
3931
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3932
- x5c?: string[] | undefined;
3933
- x5t?: string | undefined;
3934
- 'x5t#S256'?: string | undefined;
3935
- x5u?: string | undefined;
3936
- d?: string | undefined;
3937
- } | {
3938
- kty: "oct";
3939
- k: string;
3940
- alg?: "HS256" | "HS384" | "HS512" | 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
- } | {
3950
- kty: string;
3951
- alg?: string | undefined;
3952
- kid?: string | undefined;
3953
- ext?: boolean | undefined;
3954
- use?: "sig" | "enc" | undefined;
3955
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3956
- x5c?: string[] | undefined;
3957
- x5t?: string | undefined;
3958
- 'x5t#S256'?: string | undefined;
3959
- x5u?: string | undefined;
3960
3390
  }>>;
3961
3391
  jwe: z.ZodOptional<z.ZodString>;
3962
3392
  jku: z.ZodOptional<z.ZodString>;