@atproto/oauth-provider 0.10.1 → 0.10.2

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.
@@ -15,7 +15,7 @@ export declare const apiTokenPayloadSchema: z.ZodObject<z.objectUtil.extendShape
15
15
  amr: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16
16
  cnf: z.ZodOptional<z.ZodObject<{
17
17
  kid: z.ZodOptional<z.ZodString>;
18
- jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
18
+ jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
19
19
  kty: z.ZodString;
20
20
  alg: z.ZodOptional<z.ZodString>;
21
21
  kid: z.ZodOptional<z.ZodString>;
@@ -891,196 +891,6 @@ export declare const apiTokenPayloadSchema: z.ZodObject<z.objectUtil.extendShape
891
891
  x5t?: string | undefined;
892
892
  "x5t#S256"?: string | undefined;
893
893
  x5u?: string | undefined;
894
- }>, {
895
- kty: "RSA";
896
- n: string;
897
- e: string;
898
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
899
- kid?: string | undefined;
900
- ext?: boolean | undefined;
901
- use?: "sig" | "enc" | undefined;
902
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
903
- x5c?: string[] | undefined;
904
- x5t?: string | undefined;
905
- "x5t#S256"?: string | undefined;
906
- x5u?: string | undefined;
907
- d?: string | undefined;
908
- p?: string | undefined;
909
- q?: string | undefined;
910
- dp?: string | undefined;
911
- dq?: string | undefined;
912
- qi?: string | undefined;
913
- oth?: [{
914
- d?: string | undefined;
915
- r?: string | undefined;
916
- t?: string | undefined;
917
- }, ...{
918
- d?: string | undefined;
919
- r?: string | undefined;
920
- t?: string | undefined;
921
- }[]] | undefined;
922
- } | {
923
- kty: "EC";
924
- crv: "P-256" | "P-384" | "P-521";
925
- x: string;
926
- y: string;
927
- alg?: "ES256" | "ES384" | "ES512" | undefined;
928
- kid?: string | undefined;
929
- ext?: boolean | undefined;
930
- use?: "sig" | "enc" | undefined;
931
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
932
- x5c?: string[] | undefined;
933
- x5t?: string | undefined;
934
- "x5t#S256"?: string | undefined;
935
- x5u?: string | undefined;
936
- d?: string | undefined;
937
- } | {
938
- kty: "EC";
939
- crv: "secp256k1";
940
- x: string;
941
- y: string;
942
- alg?: "ES256K" | undefined;
943
- kid?: string | undefined;
944
- ext?: boolean | undefined;
945
- use?: "sig" | "enc" | undefined;
946
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
947
- x5c?: string[] | undefined;
948
- x5t?: string | undefined;
949
- "x5t#S256"?: string | undefined;
950
- x5u?: string | undefined;
951
- d?: string | undefined;
952
- } | {
953
- kty: "OKP";
954
- crv: "Ed25519" | "Ed448";
955
- x: string;
956
- alg?: "EdDSA" | undefined;
957
- kid?: string | undefined;
958
- ext?: boolean | undefined;
959
- use?: "sig" | "enc" | undefined;
960
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
961
- x5c?: string[] | undefined;
962
- x5t?: string | undefined;
963
- "x5t#S256"?: string | undefined;
964
- x5u?: string | undefined;
965
- d?: string | undefined;
966
- } | {
967
- kty: "oct";
968
- k: string;
969
- alg?: "HS256" | "HS384" | "HS512" | undefined;
970
- kid?: string | undefined;
971
- ext?: boolean | undefined;
972
- use?: "sig" | "enc" | undefined;
973
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
974
- x5c?: string[] | undefined;
975
- x5t?: string | undefined;
976
- "x5t#S256"?: string | undefined;
977
- x5u?: string | undefined;
978
- } | {
979
- kty: string;
980
- alg?: string | undefined;
981
- kid?: string | undefined;
982
- ext?: boolean | undefined;
983
- use?: "sig" | "enc" | undefined;
984
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
985
- x5c?: string[] | undefined;
986
- x5t?: string | undefined;
987
- "x5t#S256"?: string | undefined;
988
- x5u?: string | undefined;
989
- }, {
990
- kty: "RSA";
991
- n: string;
992
- e: string;
993
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
994
- kid?: string | undefined;
995
- ext?: boolean | undefined;
996
- use?: "sig" | "enc" | undefined;
997
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
998
- x5c?: string[] | undefined;
999
- x5t?: string | undefined;
1000
- "x5t#S256"?: string | undefined;
1001
- x5u?: string | undefined;
1002
- d?: string | undefined;
1003
- p?: string | undefined;
1004
- q?: string | undefined;
1005
- dp?: string | undefined;
1006
- dq?: string | undefined;
1007
- qi?: string | undefined;
1008
- oth?: [{
1009
- d?: string | undefined;
1010
- r?: string | undefined;
1011
- t?: string | undefined;
1012
- }, ...{
1013
- d?: string | undefined;
1014
- r?: string | undefined;
1015
- t?: string | undefined;
1016
- }[]] | undefined;
1017
- } | {
1018
- kty: "EC";
1019
- crv: "P-256" | "P-384" | "P-521";
1020
- x: string;
1021
- y: string;
1022
- alg?: "ES256" | "ES384" | "ES512" | undefined;
1023
- kid?: string | undefined;
1024
- ext?: boolean | undefined;
1025
- use?: "sig" | "enc" | undefined;
1026
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1027
- x5c?: string[] | undefined;
1028
- x5t?: string | undefined;
1029
- "x5t#S256"?: string | undefined;
1030
- x5u?: string | undefined;
1031
- d?: string | undefined;
1032
- } | {
1033
- kty: "EC";
1034
- crv: "secp256k1";
1035
- x: string;
1036
- y: string;
1037
- alg?: "ES256K" | undefined;
1038
- kid?: string | undefined;
1039
- ext?: boolean | undefined;
1040
- use?: "sig" | "enc" | undefined;
1041
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1042
- x5c?: string[] | undefined;
1043
- x5t?: string | undefined;
1044
- "x5t#S256"?: string | undefined;
1045
- x5u?: string | undefined;
1046
- d?: string | undefined;
1047
- } | {
1048
- kty: "OKP";
1049
- crv: "Ed25519" | "Ed448";
1050
- x: string;
1051
- alg?: "EdDSA" | undefined;
1052
- kid?: string | undefined;
1053
- ext?: boolean | undefined;
1054
- use?: "sig" | "enc" | undefined;
1055
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1056
- x5c?: string[] | undefined;
1057
- x5t?: string | undefined;
1058
- "x5t#S256"?: string | undefined;
1059
- x5u?: string | undefined;
1060
- d?: string | undefined;
1061
- } | {
1062
- kty: "oct";
1063
- k: string;
1064
- alg?: "HS256" | "HS384" | "HS512" | undefined;
1065
- kid?: string | undefined;
1066
- ext?: boolean | undefined;
1067
- use?: "sig" | "enc" | undefined;
1068
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
1069
- x5c?: string[] | undefined;
1070
- x5t?: string | undefined;
1071
- "x5t#S256"?: string | undefined;
1072
- x5u?: string | undefined;
1073
- } | {
1074
- kty: string;
1075
- alg?: string | 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
894
  }>>;
1085
895
  jwe: z.ZodOptional<z.ZodString>;
1086
896
  jku: z.ZodOptional<z.ZodString>;
@@ -1383,7 +1193,7 @@ export declare const apiTokenPayloadSchema: z.ZodObject<z.objectUtil.extendShape
1383
1193
  amr: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1384
1194
  cnf: z.ZodOptional<z.ZodObject<{
1385
1195
  kid: z.ZodOptional<z.ZodString>;
1386
- jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1196
+ jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1387
1197
  kty: z.ZodString;
1388
1198
  alg: z.ZodOptional<z.ZodString>;
1389
1199
  kid: z.ZodOptional<z.ZodString>;
@@ -2259,7 +2069,17 @@ export declare const apiTokenPayloadSchema: z.ZodObject<z.objectUtil.extendShape
2259
2069
  x5t?: string | undefined;
2260
2070
  "x5t#S256"?: string | undefined;
2261
2071
  x5u?: string | undefined;
2262
- }>, {
2072
+ }>>;
2073
+ jwe: z.ZodOptional<z.ZodString>;
2074
+ jku: z.ZodOptional<z.ZodString>;
2075
+ jkt: z.ZodOptional<z.ZodString>;
2076
+ "x5t#S256": z.ZodOptional<z.ZodString>;
2077
+ osc: z.ZodOptional<z.ZodString>;
2078
+ }, "strip", z.ZodTypeAny, {
2079
+ kid?: string | undefined;
2080
+ "x5t#S256"?: string | undefined;
2081
+ jku?: string | undefined;
2082
+ jwk?: {
2263
2083
  kty: "RSA";
2264
2084
  n: string;
2265
2085
  e: string;
@@ -2354,7 +2174,15 @@ export declare const apiTokenPayloadSchema: z.ZodObject<z.objectUtil.extendShape
2354
2174
  x5t?: string | undefined;
2355
2175
  "x5t#S256"?: string | undefined;
2356
2176
  x5u?: string | undefined;
2357
- }, {
2177
+ } | undefined;
2178
+ jwe?: string | undefined;
2179
+ jkt?: string | undefined;
2180
+ osc?: string | undefined;
2181
+ }, {
2182
+ kid?: string | undefined;
2183
+ "x5t#S256"?: string | undefined;
2184
+ jku?: string | undefined;
2185
+ jwk?: {
2358
2186
  kty: "RSA";
2359
2187
  n: string;
2360
2188
  e: string;
@@ -2449,251 +2277,43 @@ export declare const apiTokenPayloadSchema: z.ZodObject<z.objectUtil.extendShape
2449
2277
  x5t?: string | undefined;
2450
2278
  "x5t#S256"?: string | undefined;
2451
2279
  x5u?: string | undefined;
2452
- }>>;
2453
- jwe: z.ZodOptional<z.ZodString>;
2454
- jku: z.ZodOptional<z.ZodString>;
2455
- jkt: z.ZodOptional<z.ZodString>;
2456
- "x5t#S256": z.ZodOptional<z.ZodString>;
2457
- osc: z.ZodOptional<z.ZodString>;
2458
- }, "strip", z.ZodTypeAny, {
2459
- kid?: string | undefined;
2460
- "x5t#S256"?: string | undefined;
2461
- jku?: string | undefined;
2462
- jwk?: {
2463
- kty: "RSA";
2464
- n: string;
2465
- e: string;
2466
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2467
- kid?: string | undefined;
2468
- ext?: boolean | undefined;
2469
- use?: "sig" | "enc" | undefined;
2470
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2471
- x5c?: string[] | undefined;
2472
- x5t?: string | undefined;
2473
- "x5t#S256"?: string | undefined;
2474
- x5u?: string | undefined;
2475
- d?: string | undefined;
2476
- p?: string | undefined;
2477
- q?: string | undefined;
2478
- dp?: string | undefined;
2479
- dq?: string | undefined;
2480
- qi?: string | undefined;
2481
- oth?: [{
2482
- d?: string | undefined;
2483
- r?: string | undefined;
2484
- t?: string | undefined;
2485
- }, ...{
2486
- d?: string | undefined;
2487
- r?: string | undefined;
2488
- t?: string | undefined;
2489
- }[]] | undefined;
2490
- } | {
2491
- kty: "EC";
2492
- crv: "P-256" | "P-384" | "P-521";
2493
- x: string;
2494
- y: string;
2495
- alg?: "ES256" | "ES384" | "ES512" | undefined;
2496
- kid?: string | undefined;
2497
- ext?: boolean | undefined;
2498
- use?: "sig" | "enc" | undefined;
2499
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2500
- x5c?: string[] | undefined;
2501
- x5t?: string | undefined;
2502
- "x5t#S256"?: string | undefined;
2503
- x5u?: string | undefined;
2504
- d?: string | undefined;
2505
- } | {
2506
- kty: "EC";
2507
- crv: "secp256k1";
2508
- x: string;
2509
- y: string;
2510
- alg?: "ES256K" | undefined;
2511
- kid?: string | undefined;
2512
- ext?: boolean | undefined;
2513
- use?: "sig" | "enc" | undefined;
2514
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2515
- x5c?: string[] | undefined;
2516
- x5t?: string | undefined;
2517
- "x5t#S256"?: string | undefined;
2518
- x5u?: string | undefined;
2519
- d?: string | undefined;
2520
- } | {
2521
- kty: "OKP";
2522
- crv: "Ed25519" | "Ed448";
2523
- x: string;
2524
- alg?: "EdDSA" | undefined;
2525
- kid?: string | undefined;
2526
- ext?: boolean | undefined;
2527
- use?: "sig" | "enc" | undefined;
2528
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2529
- x5c?: string[] | undefined;
2530
- x5t?: string | undefined;
2531
- "x5t#S256"?: string | undefined;
2532
- x5u?: string | undefined;
2533
- d?: string | undefined;
2534
- } | {
2535
- kty: "oct";
2536
- k: string;
2537
- alg?: "HS256" | "HS384" | "HS512" | undefined;
2538
- kid?: string | undefined;
2539
- ext?: boolean | undefined;
2540
- use?: "sig" | "enc" | undefined;
2541
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2542
- x5c?: string[] | undefined;
2543
- x5t?: string | undefined;
2544
- "x5t#S256"?: string | undefined;
2545
- x5u?: string | undefined;
2546
- } | {
2547
- kty: string;
2548
- alg?: string | undefined;
2549
- kid?: string | undefined;
2550
- ext?: boolean | undefined;
2551
- use?: "sig" | "enc" | undefined;
2552
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2553
- x5c?: string[] | undefined;
2554
- x5t?: string | undefined;
2555
- "x5t#S256"?: string | undefined;
2556
- x5u?: string | undefined;
2557
- } | undefined;
2558
- jwe?: string | undefined;
2559
- jkt?: string | undefined;
2560
- osc?: string | undefined;
2561
- }, {
2562
- kid?: string | undefined;
2563
- "x5t#S256"?: string | undefined;
2564
- jku?: string | undefined;
2565
- jwk?: {
2566
- kty: "RSA";
2567
- n: string;
2568
- e: string;
2569
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
2570
- kid?: string | undefined;
2571
- ext?: boolean | undefined;
2572
- use?: "sig" | "enc" | undefined;
2573
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2574
- x5c?: string[] | undefined;
2575
- x5t?: string | undefined;
2576
- "x5t#S256"?: string | undefined;
2577
- x5u?: string | undefined;
2578
- d?: string | undefined;
2579
- p?: string | undefined;
2580
- q?: string | undefined;
2581
- dp?: string | undefined;
2582
- dq?: string | undefined;
2583
- qi?: string | undefined;
2584
- oth?: [{
2585
- d?: string | undefined;
2586
- r?: string | undefined;
2587
- t?: string | undefined;
2588
- }, ...{
2589
- d?: string | undefined;
2590
- r?: string | undefined;
2591
- t?: string | undefined;
2592
- }[]] | undefined;
2593
- } | {
2594
- kty: "EC";
2595
- crv: "P-256" | "P-384" | "P-521";
2596
- x: string;
2597
- y: string;
2598
- alg?: "ES256" | "ES384" | "ES512" | undefined;
2599
- kid?: string | undefined;
2600
- ext?: boolean | undefined;
2601
- use?: "sig" | "enc" | undefined;
2602
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2603
- x5c?: string[] | undefined;
2604
- x5t?: string | undefined;
2605
- "x5t#S256"?: string | undefined;
2606
- x5u?: string | undefined;
2607
- d?: string | undefined;
2608
- } | {
2609
- kty: "EC";
2610
- crv: "secp256k1";
2611
- x: string;
2612
- y: string;
2613
- alg?: "ES256K" | undefined;
2614
- kid?: string | undefined;
2615
- ext?: boolean | undefined;
2616
- use?: "sig" | "enc" | undefined;
2617
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2618
- x5c?: string[] | undefined;
2619
- x5t?: string | undefined;
2620
- "x5t#S256"?: string | undefined;
2621
- x5u?: string | undefined;
2622
- d?: string | undefined;
2623
- } | {
2624
- kty: "OKP";
2625
- crv: "Ed25519" | "Ed448";
2626
- x: string;
2627
- alg?: "EdDSA" | undefined;
2628
- kid?: string | undefined;
2629
- ext?: boolean | undefined;
2630
- use?: "sig" | "enc" | undefined;
2631
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2632
- x5c?: string[] | undefined;
2633
- x5t?: string | undefined;
2634
- "x5t#S256"?: string | undefined;
2635
- x5u?: string | undefined;
2636
- d?: string | undefined;
2637
- } | {
2638
- kty: "oct";
2639
- k: string;
2640
- alg?: "HS256" | "HS384" | "HS512" | undefined;
2641
- kid?: string | undefined;
2642
- ext?: boolean | undefined;
2643
- use?: "sig" | "enc" | undefined;
2644
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2645
- x5c?: string[] | undefined;
2646
- x5t?: string | undefined;
2647
- "x5t#S256"?: string | undefined;
2648
- x5u?: string | undefined;
2649
- } | {
2650
- kty: string;
2651
- alg?: string | undefined;
2652
- kid?: string | undefined;
2653
- ext?: boolean | undefined;
2654
- use?: "sig" | "enc" | undefined;
2655
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
2656
- x5c?: string[] | undefined;
2657
- x5t?: string | undefined;
2658
- "x5t#S256"?: string | undefined;
2659
- x5u?: string | undefined;
2660
- } | undefined;
2661
- jwe?: string | undefined;
2662
- jkt?: string | undefined;
2663
- osc?: string | undefined;
2664
- }>>;
2665
- client_id: z.ZodOptional<z.ZodString>;
2666
- scope: z.ZodOptional<z.ZodString>;
2667
- nonce: z.ZodOptional<z.ZodString>;
2668
- at_hash: z.ZodOptional<z.ZodString>;
2669
- c_hash: z.ZodOptional<z.ZodString>;
2670
- s_hash: z.ZodOptional<z.ZodString>;
2671
- auth_time: z.ZodOptional<z.ZodNumber>;
2672
- name: z.ZodOptional<z.ZodString>;
2673
- family_name: z.ZodOptional<z.ZodString>;
2674
- given_name: z.ZodOptional<z.ZodString>;
2675
- middle_name: z.ZodOptional<z.ZodString>;
2676
- nickname: z.ZodOptional<z.ZodString>;
2677
- preferred_username: z.ZodOptional<z.ZodString>;
2678
- gender: z.ZodOptional<z.ZodString>;
2679
- picture: z.ZodOptional<z.ZodString>;
2680
- profile: z.ZodOptional<z.ZodString>;
2681
- website: z.ZodOptional<z.ZodString>;
2682
- birthdate: z.ZodOptional<z.ZodString>;
2683
- zoneinfo: z.ZodOptional<z.ZodString>;
2684
- locale: z.ZodOptional<z.ZodString>;
2685
- updated_at: z.ZodOptional<z.ZodNumber>;
2686
- email: z.ZodOptional<z.ZodString>;
2687
- email_verified: z.ZodOptional<z.ZodBoolean>;
2688
- phone_number: z.ZodOptional<z.ZodString>;
2689
- phone_number_verified: z.ZodOptional<z.ZodBoolean>;
2690
- address: z.ZodOptional<z.ZodObject<{
2691
- formatted: z.ZodOptional<z.ZodString>;
2692
- street_address: z.ZodOptional<z.ZodString>;
2693
- locality: z.ZodOptional<z.ZodString>;
2694
- region: z.ZodOptional<z.ZodString>;
2695
- postal_code: z.ZodOptional<z.ZodString>;
2696
- country: z.ZodOptional<z.ZodString>;
2280
+ } | undefined;
2281
+ jwe?: string | undefined;
2282
+ jkt?: string | undefined;
2283
+ osc?: string | undefined;
2284
+ }>>;
2285
+ client_id: z.ZodOptional<z.ZodString>;
2286
+ scope: z.ZodOptional<z.ZodString>;
2287
+ nonce: z.ZodOptional<z.ZodString>;
2288
+ at_hash: z.ZodOptional<z.ZodString>;
2289
+ c_hash: z.ZodOptional<z.ZodString>;
2290
+ s_hash: z.ZodOptional<z.ZodString>;
2291
+ auth_time: z.ZodOptional<z.ZodNumber>;
2292
+ name: z.ZodOptional<z.ZodString>;
2293
+ family_name: z.ZodOptional<z.ZodString>;
2294
+ given_name: z.ZodOptional<z.ZodString>;
2295
+ middle_name: z.ZodOptional<z.ZodString>;
2296
+ nickname: z.ZodOptional<z.ZodString>;
2297
+ preferred_username: z.ZodOptional<z.ZodString>;
2298
+ gender: z.ZodOptional<z.ZodString>;
2299
+ picture: z.ZodOptional<z.ZodString>;
2300
+ profile: z.ZodOptional<z.ZodString>;
2301
+ website: z.ZodOptional<z.ZodString>;
2302
+ birthdate: z.ZodOptional<z.ZodString>;
2303
+ zoneinfo: z.ZodOptional<z.ZodString>;
2304
+ locale: z.ZodOptional<z.ZodString>;
2305
+ updated_at: z.ZodOptional<z.ZodNumber>;
2306
+ email: z.ZodOptional<z.ZodString>;
2307
+ email_verified: z.ZodOptional<z.ZodBoolean>;
2308
+ phone_number: z.ZodOptional<z.ZodString>;
2309
+ phone_number_verified: z.ZodOptional<z.ZodBoolean>;
2310
+ address: z.ZodOptional<z.ZodObject<{
2311
+ formatted: z.ZodOptional<z.ZodString>;
2312
+ street_address: z.ZodOptional<z.ZodString>;
2313
+ locality: z.ZodOptional<z.ZodString>;
2314
+ region: z.ZodOptional<z.ZodString>;
2315
+ postal_code: z.ZodOptional<z.ZodString>;
2316
+ country: z.ZodOptional<z.ZodString>;
2697
2317
  }, "strip", z.ZodTypeAny, {
2698
2318
  formatted?: string | undefined;
2699
2319
  street_address?: string | undefined;
@@ -2751,7 +2371,7 @@ export declare const apiTokenPayloadSchema: z.ZodObject<z.objectUtil.extendShape
2751
2371
  amr: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2752
2372
  cnf: z.ZodOptional<z.ZodObject<{
2753
2373
  kid: z.ZodOptional<z.ZodString>;
2754
- jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2374
+ jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2755
2375
  kty: z.ZodString;
2756
2376
  alg: z.ZodOptional<z.ZodString>;
2757
2377
  kid: z.ZodOptional<z.ZodString>;
@@ -3627,196 +3247,6 @@ export declare const apiTokenPayloadSchema: z.ZodObject<z.objectUtil.extendShape
3627
3247
  x5t?: string | undefined;
3628
3248
  "x5t#S256"?: string | undefined;
3629
3249
  x5u?: string | undefined;
3630
- }>, {
3631
- kty: "RSA";
3632
- n: string;
3633
- e: string;
3634
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3635
- kid?: string | undefined;
3636
- ext?: boolean | undefined;
3637
- use?: "sig" | "enc" | undefined;
3638
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3639
- x5c?: string[] | undefined;
3640
- x5t?: string | undefined;
3641
- "x5t#S256"?: string | undefined;
3642
- x5u?: string | undefined;
3643
- d?: string | undefined;
3644
- p?: string | undefined;
3645
- q?: string | undefined;
3646
- dp?: string | undefined;
3647
- dq?: string | undefined;
3648
- qi?: string | undefined;
3649
- oth?: [{
3650
- d?: string | undefined;
3651
- r?: string | undefined;
3652
- t?: string | undefined;
3653
- }, ...{
3654
- d?: string | undefined;
3655
- r?: string | undefined;
3656
- t?: string | undefined;
3657
- }[]] | undefined;
3658
- } | {
3659
- kty: "EC";
3660
- crv: "P-256" | "P-384" | "P-521";
3661
- x: string;
3662
- y: string;
3663
- alg?: "ES256" | "ES384" | "ES512" | undefined;
3664
- kid?: string | undefined;
3665
- ext?: boolean | undefined;
3666
- use?: "sig" | "enc" | undefined;
3667
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3668
- x5c?: string[] | undefined;
3669
- x5t?: string | undefined;
3670
- "x5t#S256"?: string | undefined;
3671
- x5u?: string | undefined;
3672
- d?: string | undefined;
3673
- } | {
3674
- kty: "EC";
3675
- crv: "secp256k1";
3676
- x: string;
3677
- y: string;
3678
- alg?: "ES256K" | undefined;
3679
- kid?: string | undefined;
3680
- ext?: boolean | undefined;
3681
- use?: "sig" | "enc" | undefined;
3682
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3683
- x5c?: string[] | undefined;
3684
- x5t?: string | undefined;
3685
- "x5t#S256"?: string | undefined;
3686
- x5u?: string | undefined;
3687
- d?: string | undefined;
3688
- } | {
3689
- kty: "OKP";
3690
- crv: "Ed25519" | "Ed448";
3691
- x: string;
3692
- alg?: "EdDSA" | undefined;
3693
- kid?: string | undefined;
3694
- ext?: boolean | undefined;
3695
- use?: "sig" | "enc" | undefined;
3696
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3697
- x5c?: string[] | undefined;
3698
- x5t?: string | undefined;
3699
- "x5t#S256"?: string | undefined;
3700
- x5u?: string | undefined;
3701
- d?: string | undefined;
3702
- } | {
3703
- kty: "oct";
3704
- k: string;
3705
- alg?: "HS256" | "HS384" | "HS512" | undefined;
3706
- kid?: string | undefined;
3707
- ext?: boolean | undefined;
3708
- use?: "sig" | "enc" | undefined;
3709
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3710
- x5c?: string[] | undefined;
3711
- x5t?: string | undefined;
3712
- "x5t#S256"?: string | undefined;
3713
- x5u?: string | undefined;
3714
- } | {
3715
- kty: string;
3716
- alg?: string | undefined;
3717
- kid?: string | undefined;
3718
- ext?: boolean | undefined;
3719
- use?: "sig" | "enc" | undefined;
3720
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3721
- x5c?: string[] | undefined;
3722
- x5t?: string | undefined;
3723
- "x5t#S256"?: string | undefined;
3724
- x5u?: string | undefined;
3725
- }, {
3726
- kty: "RSA";
3727
- n: string;
3728
- e: string;
3729
- alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
3730
- kid?: string | undefined;
3731
- ext?: boolean | undefined;
3732
- use?: "sig" | "enc" | undefined;
3733
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3734
- x5c?: string[] | undefined;
3735
- x5t?: string | undefined;
3736
- "x5t#S256"?: string | undefined;
3737
- x5u?: string | undefined;
3738
- d?: string | undefined;
3739
- p?: string | undefined;
3740
- q?: string | undefined;
3741
- dp?: string | undefined;
3742
- dq?: string | undefined;
3743
- qi?: string | undefined;
3744
- oth?: [{
3745
- d?: string | undefined;
3746
- r?: string | undefined;
3747
- t?: string | undefined;
3748
- }, ...{
3749
- d?: string | undefined;
3750
- r?: string | undefined;
3751
- t?: string | undefined;
3752
- }[]] | undefined;
3753
- } | {
3754
- kty: "EC";
3755
- crv: "P-256" | "P-384" | "P-521";
3756
- x: string;
3757
- y: string;
3758
- alg?: "ES256" | "ES384" | "ES512" | undefined;
3759
- kid?: string | undefined;
3760
- ext?: boolean | undefined;
3761
- use?: "sig" | "enc" | undefined;
3762
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3763
- x5c?: string[] | undefined;
3764
- x5t?: string | undefined;
3765
- "x5t#S256"?: string | undefined;
3766
- x5u?: string | undefined;
3767
- d?: string | undefined;
3768
- } | {
3769
- kty: "EC";
3770
- crv: "secp256k1";
3771
- x: string;
3772
- y: string;
3773
- alg?: "ES256K" | undefined;
3774
- kid?: string | undefined;
3775
- ext?: boolean | undefined;
3776
- use?: "sig" | "enc" | undefined;
3777
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3778
- x5c?: string[] | undefined;
3779
- x5t?: string | undefined;
3780
- "x5t#S256"?: string | undefined;
3781
- x5u?: string | undefined;
3782
- d?: string | undefined;
3783
- } | {
3784
- kty: "OKP";
3785
- crv: "Ed25519" | "Ed448";
3786
- x: string;
3787
- alg?: "EdDSA" | undefined;
3788
- kid?: string | undefined;
3789
- ext?: boolean | undefined;
3790
- use?: "sig" | "enc" | undefined;
3791
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3792
- x5c?: string[] | undefined;
3793
- x5t?: string | undefined;
3794
- "x5t#S256"?: string | undefined;
3795
- x5u?: string | undefined;
3796
- d?: string | undefined;
3797
- } | {
3798
- kty: "oct";
3799
- k: string;
3800
- alg?: "HS256" | "HS384" | "HS512" | undefined;
3801
- kid?: string | undefined;
3802
- ext?: boolean | undefined;
3803
- use?: "sig" | "enc" | undefined;
3804
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3805
- x5c?: string[] | undefined;
3806
- x5t?: string | undefined;
3807
- "x5t#S256"?: string | undefined;
3808
- x5u?: string | undefined;
3809
- } | {
3810
- kty: string;
3811
- alg?: string | undefined;
3812
- kid?: string | undefined;
3813
- ext?: boolean | undefined;
3814
- use?: "sig" | "enc" | undefined;
3815
- key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
3816
- x5c?: string[] | undefined;
3817
- x5t?: string | undefined;
3818
- "x5t#S256"?: string | undefined;
3819
- x5u?: string | undefined;
3820
3250
  }>>;
3821
3251
  jwe: z.ZodOptional<z.ZodString>;
3822
3252
  jku: z.ZodOptional<z.ZodString>;