@atproto/oauth-provider 0.10.0 → 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.
- package/CHANGELOG.md +22 -0
- package/dist/client/client-manager.d.ts.map +1 -1
- package/dist/client/client-manager.js +1 -1
- package/dist/client/client-manager.js.map +1 -1
- package/dist/signer/api-token-payload.d.ts +60 -630
- package/dist/signer/api-token-payload.d.ts.map +1 -1
- package/dist/signer/signed-token-payload.d.ts +60 -630
- package/dist/signer/signed-token-payload.d.ts.map +1 -1
- package/dist/signer/signer.d.ts +11 -11
- package/dist/signer/signer.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/client/client-manager.ts +2 -2
@@ -15,7 +15,7 @@ export declare const signedTokenPayloadSchema: z.ZodObject<z.objectUtil.extendSh
|
|
15
15
|
amr: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
16
16
|
cnf: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
17
17
|
kid: z.ZodOptional<z.ZodString>;
|
18
|
-
jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.
|
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 signedTokenPayloadSchema: z.ZodObject<z.objectUtil.extendSh
|
|
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>;
|
@@ -1386,7 +1196,7 @@ export declare const signedTokenPayloadSchema: z.ZodObject<z.objectUtil.extendSh
|
|
1386
1196
|
amr: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
1387
1197
|
cnf: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1388
1198
|
kid: z.ZodOptional<z.ZodString>;
|
1389
|
-
jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.
|
1199
|
+
jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
1390
1200
|
kty: z.ZodString;
|
1391
1201
|
alg: z.ZodOptional<z.ZodString>;
|
1392
1202
|
kid: z.ZodOptional<z.ZodString>;
|
@@ -2262,7 +2072,17 @@ export declare const signedTokenPayloadSchema: z.ZodObject<z.objectUtil.extendSh
|
|
2262
2072
|
x5t?: string | undefined;
|
2263
2073
|
"x5t#S256"?: string | undefined;
|
2264
2074
|
x5u?: string | undefined;
|
2265
|
-
}
|
2075
|
+
}>>;
|
2076
|
+
jwe: z.ZodOptional<z.ZodString>;
|
2077
|
+
jku: z.ZodOptional<z.ZodString>;
|
2078
|
+
jkt: z.ZodOptional<z.ZodString>;
|
2079
|
+
'x5t#S256': z.ZodOptional<z.ZodString>;
|
2080
|
+
osc: z.ZodOptional<z.ZodString>;
|
2081
|
+
}, "strip", z.ZodTypeAny, {
|
2082
|
+
kid?: string | undefined;
|
2083
|
+
'x5t#S256'?: string | undefined;
|
2084
|
+
jku?: string | undefined;
|
2085
|
+
jwk?: {
|
2266
2086
|
kty: "RSA";
|
2267
2087
|
n: string;
|
2268
2088
|
e: string;
|
@@ -2357,7 +2177,15 @@ export declare const signedTokenPayloadSchema: z.ZodObject<z.objectUtil.extendSh
|
|
2357
2177
|
x5t?: string | undefined;
|
2358
2178
|
"x5t#S256"?: string | undefined;
|
2359
2179
|
x5u?: string | undefined;
|
2360
|
-
}
|
2180
|
+
} | undefined;
|
2181
|
+
jwe?: string | undefined;
|
2182
|
+
jkt?: string | undefined;
|
2183
|
+
osc?: string | undefined;
|
2184
|
+
}, {
|
2185
|
+
kid?: string | undefined;
|
2186
|
+
'x5t#S256'?: string | undefined;
|
2187
|
+
jku?: string | undefined;
|
2188
|
+
jwk?: {
|
2361
2189
|
kty: "RSA";
|
2362
2190
|
n: string;
|
2363
2191
|
e: string;
|
@@ -2452,251 +2280,43 @@ export declare const signedTokenPayloadSchema: z.ZodObject<z.objectUtil.extendSh
|
|
2452
2280
|
x5t?: string | undefined;
|
2453
2281
|
"x5t#S256"?: string | undefined;
|
2454
2282
|
x5u?: string | undefined;
|
2455
|
-
}
|
2456
|
-
jwe
|
2457
|
-
|
2458
|
-
|
2459
|
-
|
2460
|
-
|
2461
|
-
|
2462
|
-
|
2463
|
-
|
2464
|
-
|
2465
|
-
|
2466
|
-
|
2467
|
-
|
2468
|
-
|
2469
|
-
|
2470
|
-
|
2471
|
-
|
2472
|
-
|
2473
|
-
|
2474
|
-
|
2475
|
-
|
2476
|
-
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
|
2485
|
-
|
2486
|
-
|
2487
|
-
|
2488
|
-
|
2489
|
-
|
2490
|
-
|
2491
|
-
|
2492
|
-
}[]] | undefined;
|
2493
|
-
} | {
|
2494
|
-
kty: "EC";
|
2495
|
-
crv: "P-256" | "P-384" | "P-521";
|
2496
|
-
x: string;
|
2497
|
-
y: string;
|
2498
|
-
alg?: "ES256" | "ES384" | "ES512" | undefined;
|
2499
|
-
kid?: string | undefined;
|
2500
|
-
ext?: boolean | undefined;
|
2501
|
-
use?: "sig" | "enc" | undefined;
|
2502
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
2503
|
-
x5c?: string[] | undefined;
|
2504
|
-
x5t?: string | undefined;
|
2505
|
-
"x5t#S256"?: string | undefined;
|
2506
|
-
x5u?: string | undefined;
|
2507
|
-
d?: string | undefined;
|
2508
|
-
} | {
|
2509
|
-
kty: "EC";
|
2510
|
-
crv: "secp256k1";
|
2511
|
-
x: string;
|
2512
|
-
y: string;
|
2513
|
-
alg?: "ES256K" | undefined;
|
2514
|
-
kid?: string | undefined;
|
2515
|
-
ext?: boolean | undefined;
|
2516
|
-
use?: "sig" | "enc" | undefined;
|
2517
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
2518
|
-
x5c?: string[] | undefined;
|
2519
|
-
x5t?: string | undefined;
|
2520
|
-
"x5t#S256"?: string | undefined;
|
2521
|
-
x5u?: string | undefined;
|
2522
|
-
d?: string | undefined;
|
2523
|
-
} | {
|
2524
|
-
kty: "OKP";
|
2525
|
-
crv: "Ed25519" | "Ed448";
|
2526
|
-
x: string;
|
2527
|
-
alg?: "EdDSA" | undefined;
|
2528
|
-
kid?: string | undefined;
|
2529
|
-
ext?: boolean | undefined;
|
2530
|
-
use?: "sig" | "enc" | undefined;
|
2531
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
2532
|
-
x5c?: string[] | undefined;
|
2533
|
-
x5t?: string | undefined;
|
2534
|
-
"x5t#S256"?: string | undefined;
|
2535
|
-
x5u?: string | undefined;
|
2536
|
-
d?: string | undefined;
|
2537
|
-
} | {
|
2538
|
-
kty: "oct";
|
2539
|
-
k: string;
|
2540
|
-
alg?: "HS256" | "HS384" | "HS512" | undefined;
|
2541
|
-
kid?: string | undefined;
|
2542
|
-
ext?: boolean | undefined;
|
2543
|
-
use?: "sig" | "enc" | undefined;
|
2544
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
2545
|
-
x5c?: string[] | undefined;
|
2546
|
-
x5t?: string | undefined;
|
2547
|
-
"x5t#S256"?: string | undefined;
|
2548
|
-
x5u?: string | undefined;
|
2549
|
-
} | {
|
2550
|
-
kty: string;
|
2551
|
-
alg?: string | undefined;
|
2552
|
-
kid?: string | undefined;
|
2553
|
-
ext?: boolean | undefined;
|
2554
|
-
use?: "sig" | "enc" | undefined;
|
2555
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
2556
|
-
x5c?: string[] | undefined;
|
2557
|
-
x5t?: string | undefined;
|
2558
|
-
"x5t#S256"?: string | undefined;
|
2559
|
-
x5u?: string | undefined;
|
2560
|
-
} | undefined;
|
2561
|
-
jwe?: string | undefined;
|
2562
|
-
jkt?: string | undefined;
|
2563
|
-
osc?: string | undefined;
|
2564
|
-
}, {
|
2565
|
-
kid?: string | undefined;
|
2566
|
-
'x5t#S256'?: string | undefined;
|
2567
|
-
jku?: string | undefined;
|
2568
|
-
jwk?: {
|
2569
|
-
kty: "RSA";
|
2570
|
-
n: string;
|
2571
|
-
e: string;
|
2572
|
-
alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
|
2573
|
-
kid?: string | undefined;
|
2574
|
-
ext?: boolean | undefined;
|
2575
|
-
use?: "sig" | "enc" | undefined;
|
2576
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
2577
|
-
x5c?: string[] | undefined;
|
2578
|
-
x5t?: string | undefined;
|
2579
|
-
"x5t#S256"?: string | undefined;
|
2580
|
-
x5u?: string | undefined;
|
2581
|
-
d?: string | undefined;
|
2582
|
-
p?: string | undefined;
|
2583
|
-
q?: string | undefined;
|
2584
|
-
dp?: string | undefined;
|
2585
|
-
dq?: string | undefined;
|
2586
|
-
qi?: string | undefined;
|
2587
|
-
oth?: [{
|
2588
|
-
d?: string | undefined;
|
2589
|
-
r?: string | undefined;
|
2590
|
-
t?: string | undefined;
|
2591
|
-
}, ...{
|
2592
|
-
d?: string | undefined;
|
2593
|
-
r?: string | undefined;
|
2594
|
-
t?: string | undefined;
|
2595
|
-
}[]] | undefined;
|
2596
|
-
} | {
|
2597
|
-
kty: "EC";
|
2598
|
-
crv: "P-256" | "P-384" | "P-521";
|
2599
|
-
x: string;
|
2600
|
-
y: string;
|
2601
|
-
alg?: "ES256" | "ES384" | "ES512" | undefined;
|
2602
|
-
kid?: string | undefined;
|
2603
|
-
ext?: boolean | undefined;
|
2604
|
-
use?: "sig" | "enc" | undefined;
|
2605
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
2606
|
-
x5c?: string[] | undefined;
|
2607
|
-
x5t?: string | undefined;
|
2608
|
-
"x5t#S256"?: string | undefined;
|
2609
|
-
x5u?: string | undefined;
|
2610
|
-
d?: string | undefined;
|
2611
|
-
} | {
|
2612
|
-
kty: "EC";
|
2613
|
-
crv: "secp256k1";
|
2614
|
-
x: string;
|
2615
|
-
y: string;
|
2616
|
-
alg?: "ES256K" | 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
|
-
d?: string | undefined;
|
2626
|
-
} | {
|
2627
|
-
kty: "OKP";
|
2628
|
-
crv: "Ed25519" | "Ed448";
|
2629
|
-
x: string;
|
2630
|
-
alg?: "EdDSA" | undefined;
|
2631
|
-
kid?: string | undefined;
|
2632
|
-
ext?: boolean | undefined;
|
2633
|
-
use?: "sig" | "enc" | undefined;
|
2634
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
2635
|
-
x5c?: string[] | undefined;
|
2636
|
-
x5t?: string | undefined;
|
2637
|
-
"x5t#S256"?: string | undefined;
|
2638
|
-
x5u?: string | undefined;
|
2639
|
-
d?: string | undefined;
|
2640
|
-
} | {
|
2641
|
-
kty: "oct";
|
2642
|
-
k: string;
|
2643
|
-
alg?: "HS256" | "HS384" | "HS512" | undefined;
|
2644
|
-
kid?: string | undefined;
|
2645
|
-
ext?: boolean | undefined;
|
2646
|
-
use?: "sig" | "enc" | undefined;
|
2647
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
2648
|
-
x5c?: string[] | undefined;
|
2649
|
-
x5t?: string | undefined;
|
2650
|
-
"x5t#S256"?: string | undefined;
|
2651
|
-
x5u?: string | undefined;
|
2652
|
-
} | {
|
2653
|
-
kty: string;
|
2654
|
-
alg?: string | 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
|
-
} | undefined;
|
2664
|
-
jwe?: string | undefined;
|
2665
|
-
jkt?: string | undefined;
|
2666
|
-
osc?: string | undefined;
|
2667
|
-
}>>>;
|
2668
|
-
client_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2669
|
-
scope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2670
|
-
nonce: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2671
|
-
at_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2672
|
-
c_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2673
|
-
s_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2674
|
-
auth_time: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
2675
|
-
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2676
|
-
family_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2677
|
-
given_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2678
|
-
middle_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2679
|
-
nickname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2680
|
-
preferred_username: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2681
|
-
gender: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2682
|
-
picture: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2683
|
-
profile: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2684
|
-
website: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2685
|
-
birthdate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2686
|
-
zoneinfo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2687
|
-
locale: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2688
|
-
updated_at: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
2689
|
-
email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2690
|
-
email_verified: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
2691
|
-
phone_number: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2692
|
-
phone_number_verified: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
2693
|
-
address: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
2694
|
-
formatted: z.ZodOptional<z.ZodString>;
|
2695
|
-
street_address: z.ZodOptional<z.ZodString>;
|
2696
|
-
locality: z.ZodOptional<z.ZodString>;
|
2697
|
-
region: z.ZodOptional<z.ZodString>;
|
2698
|
-
postal_code: z.ZodOptional<z.ZodString>;
|
2699
|
-
country: z.ZodOptional<z.ZodString>;
|
2283
|
+
} | undefined;
|
2284
|
+
jwe?: string | undefined;
|
2285
|
+
jkt?: string | undefined;
|
2286
|
+
osc?: string | undefined;
|
2287
|
+
}>>>;
|
2288
|
+
client_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2289
|
+
scope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2290
|
+
nonce: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2291
|
+
at_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2292
|
+
c_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2293
|
+
s_hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2294
|
+
auth_time: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
2295
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2296
|
+
family_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2297
|
+
given_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2298
|
+
middle_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2299
|
+
nickname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2300
|
+
preferred_username: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2301
|
+
gender: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2302
|
+
picture: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2303
|
+
profile: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2304
|
+
website: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2305
|
+
birthdate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2306
|
+
zoneinfo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2307
|
+
locale: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2308
|
+
updated_at: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
2309
|
+
email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2310
|
+
email_verified: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
2311
|
+
phone_number: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
2312
|
+
phone_number_verified: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
2313
|
+
address: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
2314
|
+
formatted: z.ZodOptional<z.ZodString>;
|
2315
|
+
street_address: z.ZodOptional<z.ZodString>;
|
2316
|
+
locality: z.ZodOptional<z.ZodString>;
|
2317
|
+
region: z.ZodOptional<z.ZodString>;
|
2318
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
2319
|
+
country: z.ZodOptional<z.ZodString>;
|
2700
2320
|
}, "strip", z.ZodTypeAny, {
|
2701
2321
|
formatted?: string | undefined;
|
2702
2322
|
street_address?: string | undefined;
|
@@ -2757,7 +2377,7 @@ export declare const signedTokenPayloadSchema: z.ZodObject<z.objectUtil.extendSh
|
|
2757
2377
|
amr: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
2758
2378
|
cnf: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
2759
2379
|
kid: z.ZodOptional<z.ZodString>;
|
2760
|
-
jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.
|
2380
|
+
jwk: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
2761
2381
|
kty: z.ZodString;
|
2762
2382
|
alg: z.ZodOptional<z.ZodString>;
|
2763
2383
|
kid: z.ZodOptional<z.ZodString>;
|
@@ -3633,196 +3253,6 @@ export declare const signedTokenPayloadSchema: z.ZodObject<z.objectUtil.extendSh
|
|
3633
3253
|
x5t?: string | undefined;
|
3634
3254
|
"x5t#S256"?: string | undefined;
|
3635
3255
|
x5u?: string | undefined;
|
3636
|
-
}>, {
|
3637
|
-
kty: "RSA";
|
3638
|
-
n: string;
|
3639
|
-
e: string;
|
3640
|
-
alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
|
3641
|
-
kid?: string | undefined;
|
3642
|
-
ext?: boolean | undefined;
|
3643
|
-
use?: "sig" | "enc" | undefined;
|
3644
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3645
|
-
x5c?: string[] | undefined;
|
3646
|
-
x5t?: string | undefined;
|
3647
|
-
"x5t#S256"?: string | undefined;
|
3648
|
-
x5u?: string | undefined;
|
3649
|
-
d?: string | undefined;
|
3650
|
-
p?: string | undefined;
|
3651
|
-
q?: string | undefined;
|
3652
|
-
dp?: string | undefined;
|
3653
|
-
dq?: string | undefined;
|
3654
|
-
qi?: string | undefined;
|
3655
|
-
oth?: [{
|
3656
|
-
d?: string | undefined;
|
3657
|
-
r?: string | undefined;
|
3658
|
-
t?: string | undefined;
|
3659
|
-
}, ...{
|
3660
|
-
d?: string | undefined;
|
3661
|
-
r?: string | undefined;
|
3662
|
-
t?: string | undefined;
|
3663
|
-
}[]] | undefined;
|
3664
|
-
} | {
|
3665
|
-
kty: "EC";
|
3666
|
-
crv: "P-256" | "P-384" | "P-521";
|
3667
|
-
x: string;
|
3668
|
-
y: string;
|
3669
|
-
alg?: "ES256" | "ES384" | "ES512" | undefined;
|
3670
|
-
kid?: string | undefined;
|
3671
|
-
ext?: boolean | undefined;
|
3672
|
-
use?: "sig" | "enc" | undefined;
|
3673
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3674
|
-
x5c?: string[] | undefined;
|
3675
|
-
x5t?: string | undefined;
|
3676
|
-
"x5t#S256"?: string | undefined;
|
3677
|
-
x5u?: string | undefined;
|
3678
|
-
d?: string | undefined;
|
3679
|
-
} | {
|
3680
|
-
kty: "EC";
|
3681
|
-
crv: "secp256k1";
|
3682
|
-
x: string;
|
3683
|
-
y: string;
|
3684
|
-
alg?: "ES256K" | undefined;
|
3685
|
-
kid?: string | undefined;
|
3686
|
-
ext?: boolean | undefined;
|
3687
|
-
use?: "sig" | "enc" | undefined;
|
3688
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3689
|
-
x5c?: string[] | undefined;
|
3690
|
-
x5t?: string | undefined;
|
3691
|
-
"x5t#S256"?: string | undefined;
|
3692
|
-
x5u?: string | undefined;
|
3693
|
-
d?: string | undefined;
|
3694
|
-
} | {
|
3695
|
-
kty: "OKP";
|
3696
|
-
crv: "Ed25519" | "Ed448";
|
3697
|
-
x: string;
|
3698
|
-
alg?: "EdDSA" | undefined;
|
3699
|
-
kid?: string | undefined;
|
3700
|
-
ext?: boolean | undefined;
|
3701
|
-
use?: "sig" | "enc" | undefined;
|
3702
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3703
|
-
x5c?: string[] | undefined;
|
3704
|
-
x5t?: string | undefined;
|
3705
|
-
"x5t#S256"?: string | undefined;
|
3706
|
-
x5u?: string | undefined;
|
3707
|
-
d?: string | undefined;
|
3708
|
-
} | {
|
3709
|
-
kty: "oct";
|
3710
|
-
k: string;
|
3711
|
-
alg?: "HS256" | "HS384" | "HS512" | undefined;
|
3712
|
-
kid?: string | undefined;
|
3713
|
-
ext?: boolean | undefined;
|
3714
|
-
use?: "sig" | "enc" | undefined;
|
3715
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3716
|
-
x5c?: string[] | undefined;
|
3717
|
-
x5t?: string | undefined;
|
3718
|
-
"x5t#S256"?: string | undefined;
|
3719
|
-
x5u?: string | undefined;
|
3720
|
-
} | {
|
3721
|
-
kty: string;
|
3722
|
-
alg?: string | undefined;
|
3723
|
-
kid?: string | undefined;
|
3724
|
-
ext?: boolean | undefined;
|
3725
|
-
use?: "sig" | "enc" | undefined;
|
3726
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3727
|
-
x5c?: string[] | undefined;
|
3728
|
-
x5t?: string | undefined;
|
3729
|
-
"x5t#S256"?: string | undefined;
|
3730
|
-
x5u?: string | undefined;
|
3731
|
-
}, {
|
3732
|
-
kty: "RSA";
|
3733
|
-
n: string;
|
3734
|
-
e: string;
|
3735
|
-
alg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | undefined;
|
3736
|
-
kid?: string | undefined;
|
3737
|
-
ext?: boolean | undefined;
|
3738
|
-
use?: "sig" | "enc" | undefined;
|
3739
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3740
|
-
x5c?: string[] | undefined;
|
3741
|
-
x5t?: string | undefined;
|
3742
|
-
"x5t#S256"?: string | undefined;
|
3743
|
-
x5u?: string | undefined;
|
3744
|
-
d?: string | undefined;
|
3745
|
-
p?: string | undefined;
|
3746
|
-
q?: string | undefined;
|
3747
|
-
dp?: string | undefined;
|
3748
|
-
dq?: string | undefined;
|
3749
|
-
qi?: string | undefined;
|
3750
|
-
oth?: [{
|
3751
|
-
d?: string | undefined;
|
3752
|
-
r?: string | undefined;
|
3753
|
-
t?: string | undefined;
|
3754
|
-
}, ...{
|
3755
|
-
d?: string | undefined;
|
3756
|
-
r?: string | undefined;
|
3757
|
-
t?: string | undefined;
|
3758
|
-
}[]] | undefined;
|
3759
|
-
} | {
|
3760
|
-
kty: "EC";
|
3761
|
-
crv: "P-256" | "P-384" | "P-521";
|
3762
|
-
x: string;
|
3763
|
-
y: string;
|
3764
|
-
alg?: "ES256" | "ES384" | "ES512" | undefined;
|
3765
|
-
kid?: string | undefined;
|
3766
|
-
ext?: boolean | undefined;
|
3767
|
-
use?: "sig" | "enc" | undefined;
|
3768
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3769
|
-
x5c?: string[] | undefined;
|
3770
|
-
x5t?: string | undefined;
|
3771
|
-
"x5t#S256"?: string | undefined;
|
3772
|
-
x5u?: string | undefined;
|
3773
|
-
d?: string | undefined;
|
3774
|
-
} | {
|
3775
|
-
kty: "EC";
|
3776
|
-
crv: "secp256k1";
|
3777
|
-
x: string;
|
3778
|
-
y: string;
|
3779
|
-
alg?: "ES256K" | undefined;
|
3780
|
-
kid?: string | undefined;
|
3781
|
-
ext?: boolean | undefined;
|
3782
|
-
use?: "sig" | "enc" | undefined;
|
3783
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3784
|
-
x5c?: string[] | undefined;
|
3785
|
-
x5t?: string | undefined;
|
3786
|
-
"x5t#S256"?: string | undefined;
|
3787
|
-
x5u?: string | undefined;
|
3788
|
-
d?: string | undefined;
|
3789
|
-
} | {
|
3790
|
-
kty: "OKP";
|
3791
|
-
crv: "Ed25519" | "Ed448";
|
3792
|
-
x: string;
|
3793
|
-
alg?: "EdDSA" | undefined;
|
3794
|
-
kid?: string | undefined;
|
3795
|
-
ext?: boolean | undefined;
|
3796
|
-
use?: "sig" | "enc" | undefined;
|
3797
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3798
|
-
x5c?: string[] | undefined;
|
3799
|
-
x5t?: string | undefined;
|
3800
|
-
"x5t#S256"?: string | undefined;
|
3801
|
-
x5u?: string | undefined;
|
3802
|
-
d?: string | undefined;
|
3803
|
-
} | {
|
3804
|
-
kty: "oct";
|
3805
|
-
k: string;
|
3806
|
-
alg?: "HS256" | "HS384" | "HS512" | undefined;
|
3807
|
-
kid?: string | undefined;
|
3808
|
-
ext?: boolean | undefined;
|
3809
|
-
use?: "sig" | "enc" | undefined;
|
3810
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3811
|
-
x5c?: string[] | undefined;
|
3812
|
-
x5t?: string | undefined;
|
3813
|
-
"x5t#S256"?: string | undefined;
|
3814
|
-
x5u?: string | undefined;
|
3815
|
-
} | {
|
3816
|
-
kty: string;
|
3817
|
-
alg?: string | undefined;
|
3818
|
-
kid?: string | undefined;
|
3819
|
-
ext?: boolean | undefined;
|
3820
|
-
use?: "sig" | "enc" | undefined;
|
3821
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
3822
|
-
x5c?: string[] | undefined;
|
3823
|
-
x5t?: string | undefined;
|
3824
|
-
"x5t#S256"?: string | undefined;
|
3825
|
-
x5u?: string | undefined;
|
3826
3256
|
}>>;
|
3827
3257
|
jwe: z.ZodOptional<z.ZodString>;
|
3828
3258
|
jku: z.ZodOptional<z.ZodString>;
|