@authhero/kysely-adapter 0.11.0 → 0.11.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.
@@ -774,7 +774,12 @@ declare const ClientSchema: z.ZodObject<{
774
774
  scope: z.ZodOptional<z.ZodString>;
775
775
  authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
776
776
  token_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
777
+ userinfo_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
778
+ jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
779
+ discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
780
+ issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
777
781
  }, "strip", z.ZodTypeAny, {
782
+ issuer?: string | undefined;
778
783
  client_secret?: string | undefined;
779
784
  client_id?: string | undefined;
780
785
  scope?: string | undefined;
@@ -784,7 +789,11 @@ declare const ClientSchema: z.ZodObject<{
784
789
  app_secret?: string | undefined;
785
790
  authorization_endpoint?: string | undefined;
786
791
  token_endpoint?: string | undefined;
792
+ userinfo_endpoint?: string | undefined;
793
+ jwks_uri?: string | undefined;
794
+ discovery_url?: string | undefined;
787
795
  }, {
796
+ issuer?: string | undefined;
788
797
  client_secret?: string | undefined;
789
798
  client_id?: string | undefined;
790
799
  scope?: string | undefined;
@@ -794,6 +803,9 @@ declare const ClientSchema: z.ZodObject<{
794
803
  app_secret?: string | undefined;
795
804
  authorization_endpoint?: string | undefined;
796
805
  token_endpoint?: string | undefined;
806
+ userinfo_endpoint?: string | undefined;
807
+ jwks_uri?: string | undefined;
808
+ discovery_url?: string | undefined;
797
809
  }>>>;
798
810
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
799
811
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
@@ -803,6 +815,7 @@ declare const ClientSchema: z.ZodObject<{
803
815
  updated_at: string;
804
816
  name: string;
805
817
  options?: {
818
+ issuer?: string | undefined;
806
819
  client_secret?: string | undefined;
807
820
  client_id?: string | undefined;
808
821
  scope?: string | undefined;
@@ -812,6 +825,9 @@ declare const ClientSchema: z.ZodObject<{
812
825
  app_secret?: string | undefined;
813
826
  authorization_endpoint?: string | undefined;
814
827
  token_endpoint?: string | undefined;
828
+ userinfo_endpoint?: string | undefined;
829
+ jwks_uri?: string | undefined;
830
+ discovery_url?: string | undefined;
815
831
  } | undefined;
816
832
  id?: string | undefined;
817
833
  response_type?: AuthorizationResponseType | undefined;
@@ -823,6 +839,7 @@ declare const ClientSchema: z.ZodObject<{
823
839
  updated_at: string;
824
840
  name: string;
825
841
  options?: {
842
+ issuer?: string | undefined;
826
843
  client_secret?: string | undefined;
827
844
  client_id?: string | undefined;
828
845
  scope?: string | undefined;
@@ -832,6 +849,9 @@ declare const ClientSchema: z.ZodObject<{
832
849
  app_secret?: string | undefined;
833
850
  authorization_endpoint?: string | undefined;
834
851
  token_endpoint?: string | undefined;
852
+ userinfo_endpoint?: string | undefined;
853
+ jwks_uri?: string | undefined;
854
+ discovery_url?: string | undefined;
835
855
  } | undefined;
836
856
  id?: string | undefined;
837
857
  response_type?: AuthorizationResponseType | undefined;
@@ -979,6 +999,7 @@ declare const ClientSchema: z.ZodObject<{
979
999
  updated_at: string;
980
1000
  name: string;
981
1001
  options?: {
1002
+ issuer?: string | undefined;
982
1003
  client_secret?: string | undefined;
983
1004
  client_id?: string | undefined;
984
1005
  scope?: string | undefined;
@@ -988,6 +1009,9 @@ declare const ClientSchema: z.ZodObject<{
988
1009
  app_secret?: string | undefined;
989
1010
  authorization_endpoint?: string | undefined;
990
1011
  token_endpoint?: string | undefined;
1012
+ userinfo_endpoint?: string | undefined;
1013
+ jwks_uri?: string | undefined;
1014
+ discovery_url?: string | undefined;
991
1015
  } | undefined;
992
1016
  id?: string | undefined;
993
1017
  response_type?: AuthorizationResponseType | undefined;
@@ -1053,6 +1077,7 @@ declare const ClientSchema: z.ZodObject<{
1053
1077
  updated_at: string;
1054
1078
  name: string;
1055
1079
  options?: {
1080
+ issuer?: string | undefined;
1056
1081
  client_secret?: string | undefined;
1057
1082
  client_id?: string | undefined;
1058
1083
  scope?: string | undefined;
@@ -1062,6 +1087,9 @@ declare const ClientSchema: z.ZodObject<{
1062
1087
  app_secret?: string | undefined;
1063
1088
  authorization_endpoint?: string | undefined;
1064
1089
  token_endpoint?: string | undefined;
1090
+ userinfo_endpoint?: string | undefined;
1091
+ jwks_uri?: string | undefined;
1092
+ discovery_url?: string | undefined;
1065
1093
  } | undefined;
1066
1094
  id?: string | undefined;
1067
1095
  response_type?: AuthorizationResponseType | undefined;
@@ -1201,7 +1229,12 @@ declare const connectionInsertSchema: z.ZodObject<{
1201
1229
  scope: z.ZodOptional<z.ZodString>;
1202
1230
  authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1203
1231
  token_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1232
+ userinfo_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1233
+ jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1234
+ discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1235
+ issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1204
1236
  }, "strip", z.ZodTypeAny, {
1237
+ issuer?: string | undefined;
1205
1238
  client_secret?: string | undefined;
1206
1239
  client_id?: string | undefined;
1207
1240
  scope?: string | undefined;
@@ -1211,7 +1244,11 @@ declare const connectionInsertSchema: z.ZodObject<{
1211
1244
  app_secret?: string | undefined;
1212
1245
  authorization_endpoint?: string | undefined;
1213
1246
  token_endpoint?: string | undefined;
1247
+ userinfo_endpoint?: string | undefined;
1248
+ jwks_uri?: string | undefined;
1249
+ discovery_url?: string | undefined;
1214
1250
  }, {
1251
+ issuer?: string | undefined;
1215
1252
  client_secret?: string | undefined;
1216
1253
  client_id?: string | undefined;
1217
1254
  scope?: string | undefined;
@@ -1221,6 +1258,9 @@ declare const connectionInsertSchema: z.ZodObject<{
1221
1258
  app_secret?: string | undefined;
1222
1259
  authorization_endpoint?: string | undefined;
1223
1260
  token_endpoint?: string | undefined;
1261
+ userinfo_endpoint?: string | undefined;
1262
+ jwks_uri?: string | undefined;
1263
+ discovery_url?: string | undefined;
1224
1264
  }>>>;
1225
1265
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1226
1266
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
@@ -1228,6 +1268,7 @@ declare const connectionInsertSchema: z.ZodObject<{
1228
1268
  }, "strip", z.ZodTypeAny, {
1229
1269
  name: string;
1230
1270
  options?: {
1271
+ issuer?: string | undefined;
1231
1272
  client_secret?: string | undefined;
1232
1273
  client_id?: string | undefined;
1233
1274
  scope?: string | undefined;
@@ -1237,6 +1278,9 @@ declare const connectionInsertSchema: z.ZodObject<{
1237
1278
  app_secret?: string | undefined;
1238
1279
  authorization_endpoint?: string | undefined;
1239
1280
  token_endpoint?: string | undefined;
1281
+ userinfo_endpoint?: string | undefined;
1282
+ jwks_uri?: string | undefined;
1283
+ discovery_url?: string | undefined;
1240
1284
  } | undefined;
1241
1285
  id?: string | undefined;
1242
1286
  response_type?: AuthorizationResponseType | undefined;
@@ -1246,6 +1290,7 @@ declare const connectionInsertSchema: z.ZodObject<{
1246
1290
  }, {
1247
1291
  name: string;
1248
1292
  options?: {
1293
+ issuer?: string | undefined;
1249
1294
  client_secret?: string | undefined;
1250
1295
  client_id?: string | undefined;
1251
1296
  scope?: string | undefined;
@@ -1255,6 +1300,9 @@ declare const connectionInsertSchema: z.ZodObject<{
1255
1300
  app_secret?: string | undefined;
1256
1301
  authorization_endpoint?: string | undefined;
1257
1302
  token_endpoint?: string | undefined;
1303
+ userinfo_endpoint?: string | undefined;
1304
+ jwks_uri?: string | undefined;
1305
+ discovery_url?: string | undefined;
1258
1306
  } | undefined;
1259
1307
  id?: string | undefined;
1260
1308
  response_type?: AuthorizationResponseType | undefined;
@@ -1291,7 +1339,12 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1291
1339
  scope: z.ZodOptional<z.ZodString>;
1292
1340
  authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1293
1341
  token_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1342
+ userinfo_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1343
+ jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1344
+ discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1345
+ issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1294
1346
  }, "strip", z.ZodTypeAny, {
1347
+ issuer?: string | undefined;
1295
1348
  client_secret?: string | undefined;
1296
1349
  client_id?: string | undefined;
1297
1350
  scope?: string | undefined;
@@ -1301,7 +1354,11 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1301
1354
  app_secret?: string | undefined;
1302
1355
  authorization_endpoint?: string | undefined;
1303
1356
  token_endpoint?: string | undefined;
1357
+ userinfo_endpoint?: string | undefined;
1358
+ jwks_uri?: string | undefined;
1359
+ discovery_url?: string | undefined;
1304
1360
  }, {
1361
+ issuer?: string | undefined;
1305
1362
  client_secret?: string | undefined;
1306
1363
  client_id?: string | undefined;
1307
1364
  scope?: string | undefined;
@@ -1311,6 +1368,9 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1311
1368
  app_secret?: string | undefined;
1312
1369
  authorization_endpoint?: string | undefined;
1313
1370
  token_endpoint?: string | undefined;
1371
+ userinfo_endpoint?: string | undefined;
1372
+ jwks_uri?: string | undefined;
1373
+ discovery_url?: string | undefined;
1314
1374
  }>>>;
1315
1375
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1316
1376
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
@@ -1320,6 +1380,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1320
1380
  updated_at: string;
1321
1381
  name: string;
1322
1382
  options?: {
1383
+ issuer?: string | undefined;
1323
1384
  client_secret?: string | undefined;
1324
1385
  client_id?: string | undefined;
1325
1386
  scope?: string | undefined;
@@ -1329,6 +1390,9 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1329
1390
  app_secret?: string | undefined;
1330
1391
  authorization_endpoint?: string | undefined;
1331
1392
  token_endpoint?: string | undefined;
1393
+ userinfo_endpoint?: string | undefined;
1394
+ jwks_uri?: string | undefined;
1395
+ discovery_url?: string | undefined;
1332
1396
  } | undefined;
1333
1397
  id?: string | undefined;
1334
1398
  response_type?: AuthorizationResponseType | undefined;
@@ -1340,6 +1404,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1340
1404
  updated_at: string;
1341
1405
  name: string;
1342
1406
  options?: {
1407
+ issuer?: string | undefined;
1343
1408
  client_secret?: string | undefined;
1344
1409
  client_id?: string | undefined;
1345
1410
  scope?: string | undefined;
@@ -1349,6 +1414,9 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1349
1414
  app_secret?: string | undefined;
1350
1415
  authorization_endpoint?: string | undefined;
1351
1416
  token_endpoint?: string | undefined;
1417
+ userinfo_endpoint?: string | undefined;
1418
+ jwks_uri?: string | undefined;
1419
+ discovery_url?: string | undefined;
1352
1420
  } | undefined;
1353
1421
  id?: string | undefined;
1354
1422
  response_type?: AuthorizationResponseType | undefined;