@authhero/kysely-adapter 0.9.0 → 0.9.1
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/kysely-adapter.d.ts
CHANGED
|
@@ -758,9 +758,13 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
758
758
|
"facebook",
|
|
759
759
|
"vipps",
|
|
760
760
|
"apple",
|
|
761
|
-
"email"
|
|
761
|
+
"email",
|
|
762
|
+
"Username-Password-Authentication",
|
|
763
|
+
"oidc",
|
|
764
|
+
"oauth2",
|
|
765
|
+
"custom"
|
|
762
766
|
]>>;
|
|
763
|
-
options: z.ZodObject<{
|
|
767
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
764
768
|
kid: z.ZodOptional<z.ZodString>;
|
|
765
769
|
team_id: z.ZodOptional<z.ZodString>;
|
|
766
770
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -784,7 +788,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
784
788
|
team_id?: string | undefined;
|
|
785
789
|
realms?: string | undefined;
|
|
786
790
|
app_secret?: string | undefined;
|
|
787
|
-
}
|
|
791
|
+
}>>;
|
|
788
792
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
789
793
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
790
794
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -799,7 +803,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
799
803
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
800
804
|
scope: z.ZodOptional<z.ZodString>;
|
|
801
805
|
}>, "strip", z.ZodTypeAny, {
|
|
802
|
-
|
|
806
|
+
created_at: string;
|
|
807
|
+
updated_at: string;
|
|
808
|
+
name: string;
|
|
809
|
+
options?: {
|
|
803
810
|
client_secret?: string | undefined;
|
|
804
811
|
client_id?: string | undefined;
|
|
805
812
|
scope?: string | undefined;
|
|
@@ -807,17 +814,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
807
814
|
team_id?: string | undefined;
|
|
808
815
|
realms?: string | undefined;
|
|
809
816
|
app_secret?: string | undefined;
|
|
810
|
-
};
|
|
811
|
-
created_at: string;
|
|
812
|
-
updated_at: string;
|
|
813
|
-
name: string;
|
|
817
|
+
} | undefined;
|
|
814
818
|
id?: string | undefined;
|
|
815
819
|
client_secret?: string | undefined;
|
|
816
820
|
client_id?: string | undefined;
|
|
817
821
|
response_type?: AuthorizationResponseType | undefined;
|
|
818
822
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
819
823
|
scope?: string | undefined;
|
|
820
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
824
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
821
825
|
kid?: string | undefined;
|
|
822
826
|
team_id?: string | undefined;
|
|
823
827
|
enabled_clients?: string[] | undefined;
|
|
@@ -827,7 +831,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
827
831
|
token_exchange_basic_auth?: boolean | undefined;
|
|
828
832
|
userinfo_endpoint?: string | undefined;
|
|
829
833
|
}, {
|
|
830
|
-
|
|
834
|
+
created_at: string;
|
|
835
|
+
updated_at: string;
|
|
836
|
+
name: string;
|
|
837
|
+
options?: {
|
|
831
838
|
client_secret?: string | undefined;
|
|
832
839
|
client_id?: string | undefined;
|
|
833
840
|
scope?: string | undefined;
|
|
@@ -835,17 +842,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
835
842
|
team_id?: string | undefined;
|
|
836
843
|
realms?: string | undefined;
|
|
837
844
|
app_secret?: string | undefined;
|
|
838
|
-
};
|
|
839
|
-
created_at: string;
|
|
840
|
-
updated_at: string;
|
|
841
|
-
name: string;
|
|
845
|
+
} | undefined;
|
|
842
846
|
id?: string | undefined;
|
|
843
847
|
client_secret?: string | undefined;
|
|
844
848
|
client_id?: string | undefined;
|
|
845
849
|
response_type?: AuthorizationResponseType | undefined;
|
|
846
850
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
847
851
|
scope?: string | undefined;
|
|
848
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
852
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
849
853
|
kid?: string | undefined;
|
|
850
854
|
team_id?: string | undefined;
|
|
851
855
|
enabled_clients?: string[] | undefined;
|
|
@@ -998,7 +1002,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
998
1002
|
language?: string | undefined;
|
|
999
1003
|
};
|
|
1000
1004
|
connections: {
|
|
1001
|
-
|
|
1005
|
+
created_at: string;
|
|
1006
|
+
updated_at: string;
|
|
1007
|
+
name: string;
|
|
1008
|
+
options?: {
|
|
1002
1009
|
client_secret?: string | undefined;
|
|
1003
1010
|
client_id?: string | undefined;
|
|
1004
1011
|
scope?: string | undefined;
|
|
@@ -1006,17 +1013,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1006
1013
|
team_id?: string | undefined;
|
|
1007
1014
|
realms?: string | undefined;
|
|
1008
1015
|
app_secret?: string | undefined;
|
|
1009
|
-
};
|
|
1010
|
-
created_at: string;
|
|
1011
|
-
updated_at: string;
|
|
1012
|
-
name: string;
|
|
1016
|
+
} | undefined;
|
|
1013
1017
|
id?: string | undefined;
|
|
1014
1018
|
client_secret?: string | undefined;
|
|
1015
1019
|
client_id?: string | undefined;
|
|
1016
1020
|
response_type?: AuthorizationResponseType | undefined;
|
|
1017
1021
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1018
1022
|
scope?: string | undefined;
|
|
1019
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1023
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1020
1024
|
kid?: string | undefined;
|
|
1021
1025
|
team_id?: string | undefined;
|
|
1022
1026
|
enabled_clients?: string[] | undefined;
|
|
@@ -1078,7 +1082,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1078
1082
|
language?: string | undefined;
|
|
1079
1083
|
};
|
|
1080
1084
|
connections: {
|
|
1081
|
-
|
|
1085
|
+
created_at: string;
|
|
1086
|
+
updated_at: string;
|
|
1087
|
+
name: string;
|
|
1088
|
+
options?: {
|
|
1082
1089
|
client_secret?: string | undefined;
|
|
1083
1090
|
client_id?: string | undefined;
|
|
1084
1091
|
scope?: string | undefined;
|
|
@@ -1086,17 +1093,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1086
1093
|
team_id?: string | undefined;
|
|
1087
1094
|
realms?: string | undefined;
|
|
1088
1095
|
app_secret?: string | undefined;
|
|
1089
|
-
};
|
|
1090
|
-
created_at: string;
|
|
1091
|
-
updated_at: string;
|
|
1092
|
-
name: string;
|
|
1096
|
+
} | undefined;
|
|
1093
1097
|
id?: string | undefined;
|
|
1094
1098
|
client_secret?: string | undefined;
|
|
1095
1099
|
client_id?: string | undefined;
|
|
1096
1100
|
response_type?: AuthorizationResponseType | undefined;
|
|
1097
1101
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1098
1102
|
scope?: string | undefined;
|
|
1099
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1103
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1100
1104
|
kid?: string | undefined;
|
|
1101
1105
|
team_id?: string | undefined;
|
|
1102
1106
|
enabled_clients?: string[] | undefined;
|
|
@@ -1217,9 +1221,13 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1217
1221
|
"facebook",
|
|
1218
1222
|
"vipps",
|
|
1219
1223
|
"apple",
|
|
1220
|
-
"email"
|
|
1224
|
+
"email",
|
|
1225
|
+
"Username-Password-Authentication",
|
|
1226
|
+
"oidc",
|
|
1227
|
+
"oauth2",
|
|
1228
|
+
"custom"
|
|
1221
1229
|
]>>;
|
|
1222
|
-
options: z.ZodObject<{
|
|
1230
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1223
1231
|
kid: z.ZodOptional<z.ZodString>;
|
|
1224
1232
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1225
1233
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1243,7 +1251,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1243
1251
|
team_id?: string | undefined;
|
|
1244
1252
|
realms?: string | undefined;
|
|
1245
1253
|
app_secret?: string | undefined;
|
|
1246
|
-
}
|
|
1254
|
+
}>>;
|
|
1247
1255
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1248
1256
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1249
1257
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1258,7 +1266,8 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1258
1266
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1259
1267
|
scope: z.ZodOptional<z.ZodString>;
|
|
1260
1268
|
}, "strip", z.ZodTypeAny, {
|
|
1261
|
-
|
|
1269
|
+
name: string;
|
|
1270
|
+
options?: {
|
|
1262
1271
|
client_secret?: string | undefined;
|
|
1263
1272
|
client_id?: string | undefined;
|
|
1264
1273
|
scope?: string | undefined;
|
|
@@ -1266,15 +1275,14 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1266
1275
|
team_id?: string | undefined;
|
|
1267
1276
|
realms?: string | undefined;
|
|
1268
1277
|
app_secret?: string | undefined;
|
|
1269
|
-
};
|
|
1270
|
-
name: string;
|
|
1278
|
+
} | undefined;
|
|
1271
1279
|
id?: string | undefined;
|
|
1272
1280
|
client_secret?: string | undefined;
|
|
1273
1281
|
client_id?: string | undefined;
|
|
1274
1282
|
response_type?: AuthorizationResponseType | undefined;
|
|
1275
1283
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1276
1284
|
scope?: string | undefined;
|
|
1277
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1285
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1278
1286
|
kid?: string | undefined;
|
|
1279
1287
|
team_id?: string | undefined;
|
|
1280
1288
|
enabled_clients?: string[] | undefined;
|
|
@@ -1284,7 +1292,8 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1284
1292
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1285
1293
|
userinfo_endpoint?: string | undefined;
|
|
1286
1294
|
}, {
|
|
1287
|
-
|
|
1295
|
+
name: string;
|
|
1296
|
+
options?: {
|
|
1288
1297
|
client_secret?: string | undefined;
|
|
1289
1298
|
client_id?: string | undefined;
|
|
1290
1299
|
scope?: string | undefined;
|
|
@@ -1292,15 +1301,14 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1292
1301
|
team_id?: string | undefined;
|
|
1293
1302
|
realms?: string | undefined;
|
|
1294
1303
|
app_secret?: string | undefined;
|
|
1295
|
-
};
|
|
1296
|
-
name: string;
|
|
1304
|
+
} | undefined;
|
|
1297
1305
|
id?: string | undefined;
|
|
1298
1306
|
client_secret?: string | undefined;
|
|
1299
1307
|
client_id?: string | undefined;
|
|
1300
1308
|
response_type?: AuthorizationResponseType | undefined;
|
|
1301
1309
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1302
1310
|
scope?: string | undefined;
|
|
1303
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1311
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1304
1312
|
kid?: string | undefined;
|
|
1305
1313
|
team_id?: string | undefined;
|
|
1306
1314
|
enabled_clients?: string[] | undefined;
|
|
@@ -1323,9 +1331,13 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1323
1331
|
"facebook",
|
|
1324
1332
|
"vipps",
|
|
1325
1333
|
"apple",
|
|
1326
|
-
"email"
|
|
1334
|
+
"email",
|
|
1335
|
+
"Username-Password-Authentication",
|
|
1336
|
+
"oidc",
|
|
1337
|
+
"oauth2",
|
|
1338
|
+
"custom"
|
|
1327
1339
|
]>>;
|
|
1328
|
-
options: z.ZodObject<{
|
|
1340
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1329
1341
|
kid: z.ZodOptional<z.ZodString>;
|
|
1330
1342
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1331
1343
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1349,7 +1361,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1349
1361
|
team_id?: string | undefined;
|
|
1350
1362
|
realms?: string | undefined;
|
|
1351
1363
|
app_secret?: string | undefined;
|
|
1352
|
-
}
|
|
1364
|
+
}>>;
|
|
1353
1365
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1354
1366
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1355
1367
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1364,7 +1376,10 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1364
1376
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1365
1377
|
scope: z.ZodOptional<z.ZodString>;
|
|
1366
1378
|
}>, "strip", z.ZodTypeAny, {
|
|
1367
|
-
|
|
1379
|
+
created_at: string;
|
|
1380
|
+
updated_at: string;
|
|
1381
|
+
name: string;
|
|
1382
|
+
options?: {
|
|
1368
1383
|
client_secret?: string | undefined;
|
|
1369
1384
|
client_id?: string | undefined;
|
|
1370
1385
|
scope?: string | undefined;
|
|
@@ -1372,17 +1387,14 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1372
1387
|
team_id?: string | undefined;
|
|
1373
1388
|
realms?: string | undefined;
|
|
1374
1389
|
app_secret?: string | undefined;
|
|
1375
|
-
};
|
|
1376
|
-
created_at: string;
|
|
1377
|
-
updated_at: string;
|
|
1378
|
-
name: string;
|
|
1390
|
+
} | undefined;
|
|
1379
1391
|
id?: string | undefined;
|
|
1380
1392
|
client_secret?: string | undefined;
|
|
1381
1393
|
client_id?: string | undefined;
|
|
1382
1394
|
response_type?: AuthorizationResponseType | undefined;
|
|
1383
1395
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1384
1396
|
scope?: string | undefined;
|
|
1385
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1397
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1386
1398
|
kid?: string | undefined;
|
|
1387
1399
|
team_id?: string | undefined;
|
|
1388
1400
|
enabled_clients?: string[] | undefined;
|
|
@@ -1392,7 +1404,10 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1392
1404
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1393
1405
|
userinfo_endpoint?: string | undefined;
|
|
1394
1406
|
}, {
|
|
1395
|
-
|
|
1407
|
+
created_at: string;
|
|
1408
|
+
updated_at: string;
|
|
1409
|
+
name: string;
|
|
1410
|
+
options?: {
|
|
1396
1411
|
client_secret?: string | undefined;
|
|
1397
1412
|
client_id?: string | undefined;
|
|
1398
1413
|
scope?: string | undefined;
|
|
@@ -1400,17 +1415,14 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1400
1415
|
team_id?: string | undefined;
|
|
1401
1416
|
realms?: string | undefined;
|
|
1402
1417
|
app_secret?: string | undefined;
|
|
1403
|
-
};
|
|
1404
|
-
created_at: string;
|
|
1405
|
-
updated_at: string;
|
|
1406
|
-
name: string;
|
|
1418
|
+
} | undefined;
|
|
1407
1419
|
id?: string | undefined;
|
|
1408
1420
|
client_secret?: string | undefined;
|
|
1409
1421
|
client_id?: string | undefined;
|
|
1410
1422
|
response_type?: AuthorizationResponseType | undefined;
|
|
1411
1423
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1412
1424
|
scope?: string | undefined;
|
|
1413
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1425
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1414
1426
|
kid?: string | undefined;
|
|
1415
1427
|
team_id?: string | undefined;
|
|
1416
1428
|
enabled_clients?: string[] | undefined;
|