@authhero/kysely-adapter 0.24.0 → 0.24.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/dist/kysely-adapter.cjs +1 -1
- package/dist/kysely-adapter.d.ts +14 -16
- package/dist/kysely-adapter.mjs +994 -994
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -553,6 +553,10 @@ declare enum AuthorizationResponseMode {
|
|
|
553
553
|
WEB_MESSAGE = "web_message",
|
|
554
554
|
SAML_POST = "saml_post"
|
|
555
555
|
}
|
|
556
|
+
declare enum CodeChallengeMethod {
|
|
557
|
+
S256 = "S256",
|
|
558
|
+
Plain = "plain"
|
|
559
|
+
}
|
|
556
560
|
declare const brandingSchema: z.ZodObject<{
|
|
557
561
|
colors: z.ZodOptional<z.ZodObject<{
|
|
558
562
|
primary: z.ZodString;
|
|
@@ -1490,10 +1494,7 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1490
1494
|
nonce: z.ZodOptional<z.ZodString>;
|
|
1491
1495
|
scope: z.ZodOptional<z.ZodString>;
|
|
1492
1496
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1493
|
-
code_challenge_method: z.ZodOptional<z.
|
|
1494
|
-
"plain",
|
|
1495
|
-
"S256"
|
|
1496
|
-
]>>;
|
|
1497
|
+
code_challenge_method: z.ZodOptional<z.ZodNativeEnum<typeof CodeChallengeMethod>>;
|
|
1497
1498
|
code_challenge: z.ZodOptional<z.ZodString>;
|
|
1498
1499
|
username: z.ZodOptional<z.ZodString>;
|
|
1499
1500
|
ui_locales: z.ZodOptional<z.ZodString>;
|
|
@@ -1510,7 +1511,7 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1510
1511
|
nonce?: string | undefined;
|
|
1511
1512
|
scope?: string | undefined;
|
|
1512
1513
|
prompt?: string | undefined;
|
|
1513
|
-
code_challenge_method?:
|
|
1514
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1514
1515
|
code_challenge?: string | undefined;
|
|
1515
1516
|
ui_locales?: string | undefined;
|
|
1516
1517
|
}, {
|
|
@@ -1526,7 +1527,7 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1526
1527
|
nonce?: string | undefined;
|
|
1527
1528
|
scope?: string | undefined;
|
|
1528
1529
|
prompt?: string | undefined;
|
|
1529
|
-
code_challenge_method?:
|
|
1530
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1530
1531
|
code_challenge?: string | undefined;
|
|
1531
1532
|
ui_locales?: string | undefined;
|
|
1532
1533
|
}>;
|
|
@@ -1549,7 +1550,7 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1549
1550
|
nonce?: string | undefined;
|
|
1550
1551
|
scope?: string | undefined;
|
|
1551
1552
|
prompt?: string | undefined;
|
|
1552
|
-
code_challenge_method?:
|
|
1553
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1553
1554
|
code_challenge?: string | undefined;
|
|
1554
1555
|
ui_locales?: string | undefined;
|
|
1555
1556
|
};
|
|
@@ -1572,7 +1573,7 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1572
1573
|
nonce?: string | undefined;
|
|
1573
1574
|
scope?: string | undefined;
|
|
1574
1575
|
prompt?: string | undefined;
|
|
1575
|
-
code_challenge_method?:
|
|
1576
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1576
1577
|
code_challenge?: string | undefined;
|
|
1577
1578
|
ui_locales?: string | undefined;
|
|
1578
1579
|
};
|
|
@@ -1599,10 +1600,7 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1599
1600
|
nonce: z.ZodOptional<z.ZodString>;
|
|
1600
1601
|
scope: z.ZodOptional<z.ZodString>;
|
|
1601
1602
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1602
|
-
code_challenge_method: z.ZodOptional<z.
|
|
1603
|
-
"plain",
|
|
1604
|
-
"S256"
|
|
1605
|
-
]>>;
|
|
1603
|
+
code_challenge_method: z.ZodOptional<z.ZodNativeEnum<typeof CodeChallengeMethod>>;
|
|
1606
1604
|
code_challenge: z.ZodOptional<z.ZodString>;
|
|
1607
1605
|
username: z.ZodOptional<z.ZodString>;
|
|
1608
1606
|
ui_locales: z.ZodOptional<z.ZodString>;
|
|
@@ -1619,7 +1617,7 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1619
1617
|
nonce?: string | undefined;
|
|
1620
1618
|
scope?: string | undefined;
|
|
1621
1619
|
prompt?: string | undefined;
|
|
1622
|
-
code_challenge_method?:
|
|
1620
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1623
1621
|
code_challenge?: string | undefined;
|
|
1624
1622
|
ui_locales?: string | undefined;
|
|
1625
1623
|
}, {
|
|
@@ -1635,7 +1633,7 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1635
1633
|
nonce?: string | undefined;
|
|
1636
1634
|
scope?: string | undefined;
|
|
1637
1635
|
prompt?: string | undefined;
|
|
1638
|
-
code_challenge_method?:
|
|
1636
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1639
1637
|
code_challenge?: string | undefined;
|
|
1640
1638
|
ui_locales?: string | undefined;
|
|
1641
1639
|
}>;
|
|
@@ -1661,7 +1659,7 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1661
1659
|
nonce?: string | undefined;
|
|
1662
1660
|
scope?: string | undefined;
|
|
1663
1661
|
prompt?: string | undefined;
|
|
1664
|
-
code_challenge_method?:
|
|
1662
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1665
1663
|
code_challenge?: string | undefined;
|
|
1666
1664
|
ui_locales?: string | undefined;
|
|
1667
1665
|
};
|
|
@@ -1687,7 +1685,7 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1687
1685
|
nonce?: string | undefined;
|
|
1688
1686
|
scope?: string | undefined;
|
|
1689
1687
|
prompt?: string | undefined;
|
|
1690
|
-
code_challenge_method?:
|
|
1688
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1691
1689
|
code_challenge?: string | undefined;
|
|
1692
1690
|
ui_locales?: string | undefined;
|
|
1693
1691
|
};
|