@authhero/kysely-adapter 0.23.0 → 0.24.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/kysely-adapter.cjs +1 -1
- package/dist/kysely-adapter.d.ts +16 -20
- package/dist/kysely-adapter.mjs +974 -1006
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -553,10 +553,6 @@ declare enum AuthorizationResponseMode {
|
|
|
553
553
|
WEB_MESSAGE = "web_message",
|
|
554
554
|
SAML_POST = "saml_post"
|
|
555
555
|
}
|
|
556
|
-
declare enum CodeChallengeMethod {
|
|
557
|
-
S265 = "S256",
|
|
558
|
-
plain = "plain"
|
|
559
|
-
}
|
|
560
556
|
declare const brandingSchema: z.ZodObject<{
|
|
561
557
|
colors: z.ZodOptional<z.ZodObject<{
|
|
562
558
|
primary: z.ZodString;
|
|
@@ -1102,7 +1098,6 @@ declare const codeInsertSchema: z.ZodObject<{
|
|
|
1102
1098
|
"oauth2_state",
|
|
1103
1099
|
"ticket"
|
|
1104
1100
|
]>;
|
|
1105
|
-
code_verifier: z.ZodOptional<z.ZodString>;
|
|
1106
1101
|
expires_at: z.ZodString;
|
|
1107
1102
|
used_at: z.ZodOptional<z.ZodString>;
|
|
1108
1103
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1113,7 +1108,6 @@ declare const codeInsertSchema: z.ZodObject<{
|
|
|
1113
1108
|
expires_at: string;
|
|
1114
1109
|
user_id?: string | undefined;
|
|
1115
1110
|
connection_id?: string | undefined;
|
|
1116
|
-
code_verifier?: string | undefined;
|
|
1117
1111
|
used_at?: string | undefined;
|
|
1118
1112
|
}, {
|
|
1119
1113
|
code_id: string;
|
|
@@ -1122,7 +1116,6 @@ declare const codeInsertSchema: z.ZodObject<{
|
|
|
1122
1116
|
expires_at: string;
|
|
1123
1117
|
user_id?: string | undefined;
|
|
1124
1118
|
connection_id?: string | undefined;
|
|
1125
|
-
code_verifier?: string | undefined;
|
|
1126
1119
|
used_at?: string | undefined;
|
|
1127
1120
|
}>;
|
|
1128
1121
|
export type CodeInsert = z.infer<typeof codeInsertSchema>;
|
|
@@ -1139,7 +1132,6 @@ declare const codeSchema: z.ZodObject<{
|
|
|
1139
1132
|
"oauth2_state",
|
|
1140
1133
|
"ticket"
|
|
1141
1134
|
]>;
|
|
1142
|
-
code_verifier: z.ZodOptional<z.ZodString>;
|
|
1143
1135
|
expires_at: z.ZodString;
|
|
1144
1136
|
used_at: z.ZodOptional<z.ZodString>;
|
|
1145
1137
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1151,7 +1143,6 @@ declare const codeSchema: z.ZodObject<{
|
|
|
1151
1143
|
expires_at: string;
|
|
1152
1144
|
user_id?: string | undefined;
|
|
1153
1145
|
connection_id?: string | undefined;
|
|
1154
|
-
code_verifier?: string | undefined;
|
|
1155
1146
|
used_at?: string | undefined;
|
|
1156
1147
|
}, {
|
|
1157
1148
|
created_at: string;
|
|
@@ -1161,7 +1152,6 @@ declare const codeSchema: z.ZodObject<{
|
|
|
1161
1152
|
expires_at: string;
|
|
1162
1153
|
user_id?: string | undefined;
|
|
1163
1154
|
connection_id?: string | undefined;
|
|
1164
|
-
code_verifier?: string | undefined;
|
|
1165
1155
|
used_at?: string | undefined;
|
|
1166
1156
|
}>;
|
|
1167
1157
|
export type Code = z.infer<typeof codeSchema>;
|
|
@@ -1500,7 +1490,10 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1500
1490
|
nonce: z.ZodOptional<z.ZodString>;
|
|
1501
1491
|
scope: z.ZodOptional<z.ZodString>;
|
|
1502
1492
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1503
|
-
code_challenge_method: z.ZodOptional<z.
|
|
1493
|
+
code_challenge_method: z.ZodOptional<z.ZodEnum<[
|
|
1494
|
+
"plain",
|
|
1495
|
+
"S256"
|
|
1496
|
+
]>>;
|
|
1504
1497
|
code_challenge: z.ZodOptional<z.ZodString>;
|
|
1505
1498
|
username: z.ZodOptional<z.ZodString>;
|
|
1506
1499
|
ui_locales: z.ZodOptional<z.ZodString>;
|
|
@@ -1517,7 +1510,7 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1517
1510
|
nonce?: string | undefined;
|
|
1518
1511
|
scope?: string | undefined;
|
|
1519
1512
|
prompt?: string | undefined;
|
|
1520
|
-
code_challenge_method?:
|
|
1513
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1521
1514
|
code_challenge?: string | undefined;
|
|
1522
1515
|
ui_locales?: string | undefined;
|
|
1523
1516
|
}, {
|
|
@@ -1533,7 +1526,7 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1533
1526
|
nonce?: string | undefined;
|
|
1534
1527
|
scope?: string | undefined;
|
|
1535
1528
|
prompt?: string | undefined;
|
|
1536
|
-
code_challenge_method?:
|
|
1529
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1537
1530
|
code_challenge?: string | undefined;
|
|
1538
1531
|
ui_locales?: string | undefined;
|
|
1539
1532
|
}>;
|
|
@@ -1556,7 +1549,7 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1556
1549
|
nonce?: string | undefined;
|
|
1557
1550
|
scope?: string | undefined;
|
|
1558
1551
|
prompt?: string | undefined;
|
|
1559
|
-
code_challenge_method?:
|
|
1552
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1560
1553
|
code_challenge?: string | undefined;
|
|
1561
1554
|
ui_locales?: string | undefined;
|
|
1562
1555
|
};
|
|
@@ -1579,7 +1572,7 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1579
1572
|
nonce?: string | undefined;
|
|
1580
1573
|
scope?: string | undefined;
|
|
1581
1574
|
prompt?: string | undefined;
|
|
1582
|
-
code_challenge_method?:
|
|
1575
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1583
1576
|
code_challenge?: string | undefined;
|
|
1584
1577
|
ui_locales?: string | undefined;
|
|
1585
1578
|
};
|
|
@@ -1606,7 +1599,10 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1606
1599
|
nonce: z.ZodOptional<z.ZodString>;
|
|
1607
1600
|
scope: z.ZodOptional<z.ZodString>;
|
|
1608
1601
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1609
|
-
code_challenge_method: z.ZodOptional<z.
|
|
1602
|
+
code_challenge_method: z.ZodOptional<z.ZodEnum<[
|
|
1603
|
+
"plain",
|
|
1604
|
+
"S256"
|
|
1605
|
+
]>>;
|
|
1610
1606
|
code_challenge: z.ZodOptional<z.ZodString>;
|
|
1611
1607
|
username: z.ZodOptional<z.ZodString>;
|
|
1612
1608
|
ui_locales: z.ZodOptional<z.ZodString>;
|
|
@@ -1623,7 +1619,7 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1623
1619
|
nonce?: string | undefined;
|
|
1624
1620
|
scope?: string | undefined;
|
|
1625
1621
|
prompt?: string | undefined;
|
|
1626
|
-
code_challenge_method?:
|
|
1622
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1627
1623
|
code_challenge?: string | undefined;
|
|
1628
1624
|
ui_locales?: string | undefined;
|
|
1629
1625
|
}, {
|
|
@@ -1639,7 +1635,7 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1639
1635
|
nonce?: string | undefined;
|
|
1640
1636
|
scope?: string | undefined;
|
|
1641
1637
|
prompt?: string | undefined;
|
|
1642
|
-
code_challenge_method?:
|
|
1638
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1643
1639
|
code_challenge?: string | undefined;
|
|
1644
1640
|
ui_locales?: string | undefined;
|
|
1645
1641
|
}>;
|
|
@@ -1665,7 +1661,7 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1665
1661
|
nonce?: string | undefined;
|
|
1666
1662
|
scope?: string | undefined;
|
|
1667
1663
|
prompt?: string | undefined;
|
|
1668
|
-
code_challenge_method?:
|
|
1664
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1669
1665
|
code_challenge?: string | undefined;
|
|
1670
1666
|
ui_locales?: string | undefined;
|
|
1671
1667
|
};
|
|
@@ -1691,7 +1687,7 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1691
1687
|
nonce?: string | undefined;
|
|
1692
1688
|
scope?: string | undefined;
|
|
1693
1689
|
prompt?: string | undefined;
|
|
1694
|
-
code_challenge_method?:
|
|
1690
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1695
1691
|
code_challenge?: string | undefined;
|
|
1696
1692
|
ui_locales?: string | undefined;
|
|
1697
1693
|
};
|