@authhero/adapter-interfaces 0.15.0 → 0.15.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.
|
@@ -1159,9 +1159,13 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1159
1159
|
"facebook",
|
|
1160
1160
|
"vipps",
|
|
1161
1161
|
"apple",
|
|
1162
|
-
"email"
|
|
1162
|
+
"email",
|
|
1163
|
+
"Username-Password-Authentication",
|
|
1164
|
+
"oidc",
|
|
1165
|
+
"oauth2",
|
|
1166
|
+
"custom"
|
|
1163
1167
|
]>>;
|
|
1164
|
-
options: z.ZodObject<{
|
|
1168
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1165
1169
|
kid: z.ZodOptional<z.ZodString>;
|
|
1166
1170
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1167
1171
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1185,7 +1189,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1185
1189
|
team_id?: string | undefined;
|
|
1186
1190
|
realms?: string | undefined;
|
|
1187
1191
|
app_secret?: string | undefined;
|
|
1188
|
-
}
|
|
1192
|
+
}>>;
|
|
1189
1193
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1190
1194
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1191
1195
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1200,7 +1204,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1200
1204
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1201
1205
|
scope: z.ZodOptional<z.ZodString>;
|
|
1202
1206
|
}>, "strip", z.ZodTypeAny, {
|
|
1203
|
-
|
|
1207
|
+
created_at: string;
|
|
1208
|
+
updated_at: string;
|
|
1209
|
+
name: string;
|
|
1210
|
+
options?: {
|
|
1204
1211
|
client_secret?: string | undefined;
|
|
1205
1212
|
client_id?: string | undefined;
|
|
1206
1213
|
scope?: string | undefined;
|
|
@@ -1208,17 +1215,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1208
1215
|
team_id?: string | undefined;
|
|
1209
1216
|
realms?: string | undefined;
|
|
1210
1217
|
app_secret?: string | undefined;
|
|
1211
|
-
};
|
|
1212
|
-
created_at: string;
|
|
1213
|
-
updated_at: string;
|
|
1214
|
-
name: string;
|
|
1218
|
+
} | undefined;
|
|
1215
1219
|
id?: string | undefined;
|
|
1216
1220
|
client_secret?: string | undefined;
|
|
1217
1221
|
client_id?: string | undefined;
|
|
1218
1222
|
response_type?: AuthorizationResponseType | undefined;
|
|
1219
1223
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1220
1224
|
scope?: string | undefined;
|
|
1221
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1225
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1222
1226
|
kid?: string | undefined;
|
|
1223
1227
|
team_id?: string | undefined;
|
|
1224
1228
|
enabled_clients?: string[] | undefined;
|
|
@@ -1228,7 +1232,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1228
1232
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1229
1233
|
userinfo_endpoint?: string | undefined;
|
|
1230
1234
|
}, {
|
|
1231
|
-
|
|
1235
|
+
created_at: string;
|
|
1236
|
+
updated_at: string;
|
|
1237
|
+
name: string;
|
|
1238
|
+
options?: {
|
|
1232
1239
|
client_secret?: string | undefined;
|
|
1233
1240
|
client_id?: string | undefined;
|
|
1234
1241
|
scope?: string | undefined;
|
|
@@ -1236,17 +1243,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1236
1243
|
team_id?: string | undefined;
|
|
1237
1244
|
realms?: string | undefined;
|
|
1238
1245
|
app_secret?: string | undefined;
|
|
1239
|
-
};
|
|
1240
|
-
created_at: string;
|
|
1241
|
-
updated_at: string;
|
|
1242
|
-
name: string;
|
|
1246
|
+
} | undefined;
|
|
1243
1247
|
id?: string | undefined;
|
|
1244
1248
|
client_secret?: string | undefined;
|
|
1245
1249
|
client_id?: string | undefined;
|
|
1246
1250
|
response_type?: AuthorizationResponseType | undefined;
|
|
1247
1251
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1248
1252
|
scope?: string | undefined;
|
|
1249
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1253
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1250
1254
|
kid?: string | undefined;
|
|
1251
1255
|
team_id?: string | undefined;
|
|
1252
1256
|
enabled_clients?: string[] | undefined;
|
|
@@ -1399,7 +1403,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1399
1403
|
language?: string | undefined;
|
|
1400
1404
|
};
|
|
1401
1405
|
connections: {
|
|
1402
|
-
|
|
1406
|
+
created_at: string;
|
|
1407
|
+
updated_at: string;
|
|
1408
|
+
name: string;
|
|
1409
|
+
options?: {
|
|
1403
1410
|
client_secret?: string | undefined;
|
|
1404
1411
|
client_id?: string | undefined;
|
|
1405
1412
|
scope?: string | undefined;
|
|
@@ -1407,17 +1414,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1407
1414
|
team_id?: string | undefined;
|
|
1408
1415
|
realms?: string | undefined;
|
|
1409
1416
|
app_secret?: string | undefined;
|
|
1410
|
-
};
|
|
1411
|
-
created_at: string;
|
|
1412
|
-
updated_at: string;
|
|
1413
|
-
name: string;
|
|
1417
|
+
} | undefined;
|
|
1414
1418
|
id?: string | undefined;
|
|
1415
1419
|
client_secret?: string | undefined;
|
|
1416
1420
|
client_id?: string | undefined;
|
|
1417
1421
|
response_type?: AuthorizationResponseType | undefined;
|
|
1418
1422
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1419
1423
|
scope?: string | undefined;
|
|
1420
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1424
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1421
1425
|
kid?: string | undefined;
|
|
1422
1426
|
team_id?: string | undefined;
|
|
1423
1427
|
enabled_clients?: string[] | undefined;
|
|
@@ -1479,7 +1483,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1479
1483
|
language?: string | undefined;
|
|
1480
1484
|
};
|
|
1481
1485
|
connections: {
|
|
1482
|
-
|
|
1486
|
+
created_at: string;
|
|
1487
|
+
updated_at: string;
|
|
1488
|
+
name: string;
|
|
1489
|
+
options?: {
|
|
1483
1490
|
client_secret?: string | undefined;
|
|
1484
1491
|
client_id?: string | undefined;
|
|
1485
1492
|
scope?: string | undefined;
|
|
@@ -1487,17 +1494,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1487
1494
|
team_id?: string | undefined;
|
|
1488
1495
|
realms?: string | undefined;
|
|
1489
1496
|
app_secret?: string | undefined;
|
|
1490
|
-
};
|
|
1491
|
-
created_at: string;
|
|
1492
|
-
updated_at: string;
|
|
1493
|
-
name: string;
|
|
1497
|
+
} | undefined;
|
|
1494
1498
|
id?: string | undefined;
|
|
1495
1499
|
client_secret?: string | undefined;
|
|
1496
1500
|
client_id?: string | undefined;
|
|
1497
1501
|
response_type?: AuthorizationResponseType | undefined;
|
|
1498
1502
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1499
1503
|
scope?: string | undefined;
|
|
1500
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1504
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1501
1505
|
kid?: string | undefined;
|
|
1502
1506
|
team_id?: string | undefined;
|
|
1503
1507
|
enabled_clients?: string[] | undefined;
|
|
@@ -1618,9 +1622,13 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1618
1622
|
"facebook",
|
|
1619
1623
|
"vipps",
|
|
1620
1624
|
"apple",
|
|
1621
|
-
"email"
|
|
1625
|
+
"email",
|
|
1626
|
+
"Username-Password-Authentication",
|
|
1627
|
+
"oidc",
|
|
1628
|
+
"oauth2",
|
|
1629
|
+
"custom"
|
|
1622
1630
|
]>>;
|
|
1623
|
-
options: z.ZodObject<{
|
|
1631
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1624
1632
|
kid: z.ZodOptional<z.ZodString>;
|
|
1625
1633
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1626
1634
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1644,7 +1652,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1644
1652
|
team_id?: string | undefined;
|
|
1645
1653
|
realms?: string | undefined;
|
|
1646
1654
|
app_secret?: string | undefined;
|
|
1647
|
-
}
|
|
1655
|
+
}>>;
|
|
1648
1656
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1649
1657
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1650
1658
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1659,7 +1667,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1659
1667
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1660
1668
|
scope: z.ZodOptional<z.ZodString>;
|
|
1661
1669
|
}, "strip", z.ZodTypeAny, {
|
|
1662
|
-
|
|
1670
|
+
name: string;
|
|
1671
|
+
options?: {
|
|
1663
1672
|
client_secret?: string | undefined;
|
|
1664
1673
|
client_id?: string | undefined;
|
|
1665
1674
|
scope?: string | undefined;
|
|
@@ -1667,15 +1676,14 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1667
1676
|
team_id?: string | undefined;
|
|
1668
1677
|
realms?: string | undefined;
|
|
1669
1678
|
app_secret?: string | undefined;
|
|
1670
|
-
};
|
|
1671
|
-
name: string;
|
|
1679
|
+
} | undefined;
|
|
1672
1680
|
id?: string | undefined;
|
|
1673
1681
|
client_secret?: string | undefined;
|
|
1674
1682
|
client_id?: string | undefined;
|
|
1675
1683
|
response_type?: AuthorizationResponseType | undefined;
|
|
1676
1684
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1677
1685
|
scope?: string | undefined;
|
|
1678
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1686
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1679
1687
|
kid?: string | undefined;
|
|
1680
1688
|
team_id?: string | undefined;
|
|
1681
1689
|
enabled_clients?: string[] | undefined;
|
|
@@ -1685,7 +1693,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1685
1693
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1686
1694
|
userinfo_endpoint?: string | undefined;
|
|
1687
1695
|
}, {
|
|
1688
|
-
|
|
1696
|
+
name: string;
|
|
1697
|
+
options?: {
|
|
1689
1698
|
client_secret?: string | undefined;
|
|
1690
1699
|
client_id?: string | undefined;
|
|
1691
1700
|
scope?: string | undefined;
|
|
@@ -1693,15 +1702,14 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1693
1702
|
team_id?: string | undefined;
|
|
1694
1703
|
realms?: string | undefined;
|
|
1695
1704
|
app_secret?: string | undefined;
|
|
1696
|
-
};
|
|
1697
|
-
name: string;
|
|
1705
|
+
} | undefined;
|
|
1698
1706
|
id?: string | undefined;
|
|
1699
1707
|
client_secret?: string | undefined;
|
|
1700
1708
|
client_id?: string | undefined;
|
|
1701
1709
|
response_type?: AuthorizationResponseType | undefined;
|
|
1702
1710
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1703
1711
|
scope?: string | undefined;
|
|
1704
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1712
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1705
1713
|
kid?: string | undefined;
|
|
1706
1714
|
team_id?: string | undefined;
|
|
1707
1715
|
enabled_clients?: string[] | undefined;
|
|
@@ -1724,9 +1732,13 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1724
1732
|
"facebook",
|
|
1725
1733
|
"vipps",
|
|
1726
1734
|
"apple",
|
|
1727
|
-
"email"
|
|
1735
|
+
"email",
|
|
1736
|
+
"Username-Password-Authentication",
|
|
1737
|
+
"oidc",
|
|
1738
|
+
"oauth2",
|
|
1739
|
+
"custom"
|
|
1728
1740
|
]>>;
|
|
1729
|
-
options: z.ZodObject<{
|
|
1741
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1730
1742
|
kid: z.ZodOptional<z.ZodString>;
|
|
1731
1743
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1732
1744
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1750,7 +1762,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1750
1762
|
team_id?: string | undefined;
|
|
1751
1763
|
realms?: string | undefined;
|
|
1752
1764
|
app_secret?: string | undefined;
|
|
1753
|
-
}
|
|
1765
|
+
}>>;
|
|
1754
1766
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1755
1767
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1756
1768
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1765,7 +1777,10 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1765
1777
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1766
1778
|
scope: z.ZodOptional<z.ZodString>;
|
|
1767
1779
|
}>, "strip", z.ZodTypeAny, {
|
|
1768
|
-
|
|
1780
|
+
created_at: string;
|
|
1781
|
+
updated_at: string;
|
|
1782
|
+
name: string;
|
|
1783
|
+
options?: {
|
|
1769
1784
|
client_secret?: string | undefined;
|
|
1770
1785
|
client_id?: string | undefined;
|
|
1771
1786
|
scope?: string | undefined;
|
|
@@ -1773,17 +1788,14 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1773
1788
|
team_id?: string | undefined;
|
|
1774
1789
|
realms?: string | undefined;
|
|
1775
1790
|
app_secret?: string | undefined;
|
|
1776
|
-
};
|
|
1777
|
-
created_at: string;
|
|
1778
|
-
updated_at: string;
|
|
1779
|
-
name: string;
|
|
1791
|
+
} | undefined;
|
|
1780
1792
|
id?: string | undefined;
|
|
1781
1793
|
client_secret?: string | undefined;
|
|
1782
1794
|
client_id?: string | undefined;
|
|
1783
1795
|
response_type?: AuthorizationResponseType | undefined;
|
|
1784
1796
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1785
1797
|
scope?: string | undefined;
|
|
1786
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1798
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1787
1799
|
kid?: string | undefined;
|
|
1788
1800
|
team_id?: string | undefined;
|
|
1789
1801
|
enabled_clients?: string[] | undefined;
|
|
@@ -1793,7 +1805,10 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1793
1805
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1794
1806
|
userinfo_endpoint?: string | undefined;
|
|
1795
1807
|
}, {
|
|
1796
|
-
|
|
1808
|
+
created_at: string;
|
|
1809
|
+
updated_at: string;
|
|
1810
|
+
name: string;
|
|
1811
|
+
options?: {
|
|
1797
1812
|
client_secret?: string | undefined;
|
|
1798
1813
|
client_id?: string | undefined;
|
|
1799
1814
|
scope?: string | undefined;
|
|
@@ -1801,17 +1816,14 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1801
1816
|
team_id?: string | undefined;
|
|
1802
1817
|
realms?: string | undefined;
|
|
1803
1818
|
app_secret?: string | undefined;
|
|
1804
|
-
};
|
|
1805
|
-
created_at: string;
|
|
1806
|
-
updated_at: string;
|
|
1807
|
-
name: string;
|
|
1819
|
+
} | undefined;
|
|
1808
1820
|
id?: string | undefined;
|
|
1809
1821
|
client_secret?: string | undefined;
|
|
1810
1822
|
client_id?: string | undefined;
|
|
1811
1823
|
response_type?: AuthorizationResponseType | undefined;
|
|
1812
1824
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1813
1825
|
scope?: string | undefined;
|
|
1814
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1826
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1815
1827
|
kid?: string | undefined;
|
|
1816
1828
|
team_id?: string | undefined;
|
|
1817
1829
|
enabled_clients?: string[] | undefined;
|