@authhero/adapter-interfaces 0.17.0 → 0.17.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.
|
@@ -1175,7 +1175,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1175
1175
|
scope: z.ZodOptional<z.ZodString>;
|
|
1176
1176
|
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1177
1177
|
token_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1178
|
+
userinfo_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1179
|
+
jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1180
|
+
discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1181
|
+
issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1178
1182
|
}, "strip", z.ZodTypeAny, {
|
|
1183
|
+
issuer?: string | undefined;
|
|
1179
1184
|
client_secret?: string | undefined;
|
|
1180
1185
|
client_id?: string | undefined;
|
|
1181
1186
|
scope?: string | undefined;
|
|
@@ -1185,7 +1190,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1185
1190
|
app_secret?: string | undefined;
|
|
1186
1191
|
authorization_endpoint?: string | undefined;
|
|
1187
1192
|
token_endpoint?: string | undefined;
|
|
1193
|
+
userinfo_endpoint?: string | undefined;
|
|
1194
|
+
jwks_uri?: string | undefined;
|
|
1195
|
+
discovery_url?: string | undefined;
|
|
1188
1196
|
}, {
|
|
1197
|
+
issuer?: string | undefined;
|
|
1189
1198
|
client_secret?: string | undefined;
|
|
1190
1199
|
client_id?: string | undefined;
|
|
1191
1200
|
scope?: string | undefined;
|
|
@@ -1195,6 +1204,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1195
1204
|
app_secret?: string | undefined;
|
|
1196
1205
|
authorization_endpoint?: string | undefined;
|
|
1197
1206
|
token_endpoint?: string | undefined;
|
|
1207
|
+
userinfo_endpoint?: string | undefined;
|
|
1208
|
+
jwks_uri?: string | undefined;
|
|
1209
|
+
discovery_url?: string | undefined;
|
|
1198
1210
|
}>>>;
|
|
1199
1211
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1200
1212
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1204,6 +1216,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1204
1216
|
updated_at: string;
|
|
1205
1217
|
name: string;
|
|
1206
1218
|
options?: {
|
|
1219
|
+
issuer?: string | undefined;
|
|
1207
1220
|
client_secret?: string | undefined;
|
|
1208
1221
|
client_id?: string | undefined;
|
|
1209
1222
|
scope?: string | undefined;
|
|
@@ -1213,6 +1226,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1213
1226
|
app_secret?: string | undefined;
|
|
1214
1227
|
authorization_endpoint?: string | undefined;
|
|
1215
1228
|
token_endpoint?: string | undefined;
|
|
1229
|
+
userinfo_endpoint?: string | undefined;
|
|
1230
|
+
jwks_uri?: string | undefined;
|
|
1231
|
+
discovery_url?: string | undefined;
|
|
1216
1232
|
} | undefined;
|
|
1217
1233
|
id?: string | undefined;
|
|
1218
1234
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1224,6 +1240,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1224
1240
|
updated_at: string;
|
|
1225
1241
|
name: string;
|
|
1226
1242
|
options?: {
|
|
1243
|
+
issuer?: string | undefined;
|
|
1227
1244
|
client_secret?: string | undefined;
|
|
1228
1245
|
client_id?: string | undefined;
|
|
1229
1246
|
scope?: string | undefined;
|
|
@@ -1233,6 +1250,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1233
1250
|
app_secret?: string | undefined;
|
|
1234
1251
|
authorization_endpoint?: string | undefined;
|
|
1235
1252
|
token_endpoint?: string | undefined;
|
|
1253
|
+
userinfo_endpoint?: string | undefined;
|
|
1254
|
+
jwks_uri?: string | undefined;
|
|
1255
|
+
discovery_url?: string | undefined;
|
|
1236
1256
|
} | undefined;
|
|
1237
1257
|
id?: string | undefined;
|
|
1238
1258
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1380,6 +1400,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1380
1400
|
updated_at: string;
|
|
1381
1401
|
name: string;
|
|
1382
1402
|
options?: {
|
|
1403
|
+
issuer?: string | undefined;
|
|
1383
1404
|
client_secret?: string | undefined;
|
|
1384
1405
|
client_id?: string | undefined;
|
|
1385
1406
|
scope?: string | undefined;
|
|
@@ -1389,6 +1410,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1389
1410
|
app_secret?: string | undefined;
|
|
1390
1411
|
authorization_endpoint?: string | undefined;
|
|
1391
1412
|
token_endpoint?: string | undefined;
|
|
1413
|
+
userinfo_endpoint?: string | undefined;
|
|
1414
|
+
jwks_uri?: string | undefined;
|
|
1415
|
+
discovery_url?: string | undefined;
|
|
1392
1416
|
} | undefined;
|
|
1393
1417
|
id?: string | undefined;
|
|
1394
1418
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1454,6 +1478,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1454
1478
|
updated_at: string;
|
|
1455
1479
|
name: string;
|
|
1456
1480
|
options?: {
|
|
1481
|
+
issuer?: string | undefined;
|
|
1457
1482
|
client_secret?: string | undefined;
|
|
1458
1483
|
client_id?: string | undefined;
|
|
1459
1484
|
scope?: string | undefined;
|
|
@@ -1463,6 +1488,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1463
1488
|
app_secret?: string | undefined;
|
|
1464
1489
|
authorization_endpoint?: string | undefined;
|
|
1465
1490
|
token_endpoint?: string | undefined;
|
|
1491
|
+
userinfo_endpoint?: string | undefined;
|
|
1492
|
+
jwks_uri?: string | undefined;
|
|
1493
|
+
discovery_url?: string | undefined;
|
|
1466
1494
|
} | undefined;
|
|
1467
1495
|
id?: string | undefined;
|
|
1468
1496
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1602,7 +1630,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1602
1630
|
scope: z.ZodOptional<z.ZodString>;
|
|
1603
1631
|
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1604
1632
|
token_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1633
|
+
userinfo_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1634
|
+
jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1635
|
+
discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1636
|
+
issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1605
1637
|
}, "strip", z.ZodTypeAny, {
|
|
1638
|
+
issuer?: string | undefined;
|
|
1606
1639
|
client_secret?: string | undefined;
|
|
1607
1640
|
client_id?: string | undefined;
|
|
1608
1641
|
scope?: string | undefined;
|
|
@@ -1612,7 +1645,11 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1612
1645
|
app_secret?: string | undefined;
|
|
1613
1646
|
authorization_endpoint?: string | undefined;
|
|
1614
1647
|
token_endpoint?: string | undefined;
|
|
1648
|
+
userinfo_endpoint?: string | undefined;
|
|
1649
|
+
jwks_uri?: string | undefined;
|
|
1650
|
+
discovery_url?: string | undefined;
|
|
1615
1651
|
}, {
|
|
1652
|
+
issuer?: string | undefined;
|
|
1616
1653
|
client_secret?: string | undefined;
|
|
1617
1654
|
client_id?: string | undefined;
|
|
1618
1655
|
scope?: string | undefined;
|
|
@@ -1622,6 +1659,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1622
1659
|
app_secret?: string | undefined;
|
|
1623
1660
|
authorization_endpoint?: string | undefined;
|
|
1624
1661
|
token_endpoint?: string | undefined;
|
|
1662
|
+
userinfo_endpoint?: string | undefined;
|
|
1663
|
+
jwks_uri?: string | undefined;
|
|
1664
|
+
discovery_url?: string | undefined;
|
|
1625
1665
|
}>>>;
|
|
1626
1666
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1627
1667
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1629,6 +1669,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1629
1669
|
}, "strip", z.ZodTypeAny, {
|
|
1630
1670
|
name: string;
|
|
1631
1671
|
options?: {
|
|
1672
|
+
issuer?: string | undefined;
|
|
1632
1673
|
client_secret?: string | undefined;
|
|
1633
1674
|
client_id?: string | undefined;
|
|
1634
1675
|
scope?: string | undefined;
|
|
@@ -1638,6 +1679,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1638
1679
|
app_secret?: string | undefined;
|
|
1639
1680
|
authorization_endpoint?: string | undefined;
|
|
1640
1681
|
token_endpoint?: string | undefined;
|
|
1682
|
+
userinfo_endpoint?: string | undefined;
|
|
1683
|
+
jwks_uri?: string | undefined;
|
|
1684
|
+
discovery_url?: string | undefined;
|
|
1641
1685
|
} | undefined;
|
|
1642
1686
|
id?: string | undefined;
|
|
1643
1687
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1647,6 +1691,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1647
1691
|
}, {
|
|
1648
1692
|
name: string;
|
|
1649
1693
|
options?: {
|
|
1694
|
+
issuer?: string | undefined;
|
|
1650
1695
|
client_secret?: string | undefined;
|
|
1651
1696
|
client_id?: string | undefined;
|
|
1652
1697
|
scope?: string | undefined;
|
|
@@ -1656,6 +1701,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1656
1701
|
app_secret?: string | undefined;
|
|
1657
1702
|
authorization_endpoint?: string | undefined;
|
|
1658
1703
|
token_endpoint?: string | undefined;
|
|
1704
|
+
userinfo_endpoint?: string | undefined;
|
|
1705
|
+
jwks_uri?: string | undefined;
|
|
1706
|
+
discovery_url?: string | undefined;
|
|
1659
1707
|
} | undefined;
|
|
1660
1708
|
id?: string | undefined;
|
|
1661
1709
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1692,7 +1740,12 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1692
1740
|
scope: z.ZodOptional<z.ZodString>;
|
|
1693
1741
|
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1694
1742
|
token_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1743
|
+
userinfo_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1744
|
+
jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1745
|
+
discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1746
|
+
issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1695
1747
|
}, "strip", z.ZodTypeAny, {
|
|
1748
|
+
issuer?: string | undefined;
|
|
1696
1749
|
client_secret?: string | undefined;
|
|
1697
1750
|
client_id?: string | undefined;
|
|
1698
1751
|
scope?: string | undefined;
|
|
@@ -1702,7 +1755,11 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1702
1755
|
app_secret?: string | undefined;
|
|
1703
1756
|
authorization_endpoint?: string | undefined;
|
|
1704
1757
|
token_endpoint?: string | undefined;
|
|
1758
|
+
userinfo_endpoint?: string | undefined;
|
|
1759
|
+
jwks_uri?: string | undefined;
|
|
1760
|
+
discovery_url?: string | undefined;
|
|
1705
1761
|
}, {
|
|
1762
|
+
issuer?: string | undefined;
|
|
1706
1763
|
client_secret?: string | undefined;
|
|
1707
1764
|
client_id?: string | undefined;
|
|
1708
1765
|
scope?: string | undefined;
|
|
@@ -1712,6 +1769,9 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1712
1769
|
app_secret?: string | undefined;
|
|
1713
1770
|
authorization_endpoint?: string | undefined;
|
|
1714
1771
|
token_endpoint?: string | undefined;
|
|
1772
|
+
userinfo_endpoint?: string | undefined;
|
|
1773
|
+
jwks_uri?: string | undefined;
|
|
1774
|
+
discovery_url?: string | undefined;
|
|
1715
1775
|
}>>>;
|
|
1716
1776
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1717
1777
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1721,6 +1781,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1721
1781
|
updated_at: string;
|
|
1722
1782
|
name: string;
|
|
1723
1783
|
options?: {
|
|
1784
|
+
issuer?: string | undefined;
|
|
1724
1785
|
client_secret?: string | undefined;
|
|
1725
1786
|
client_id?: string | undefined;
|
|
1726
1787
|
scope?: string | undefined;
|
|
@@ -1730,6 +1791,9 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1730
1791
|
app_secret?: string | undefined;
|
|
1731
1792
|
authorization_endpoint?: string | undefined;
|
|
1732
1793
|
token_endpoint?: string | undefined;
|
|
1794
|
+
userinfo_endpoint?: string | undefined;
|
|
1795
|
+
jwks_uri?: string | undefined;
|
|
1796
|
+
discovery_url?: string | undefined;
|
|
1733
1797
|
} | undefined;
|
|
1734
1798
|
id?: string | undefined;
|
|
1735
1799
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1741,6 +1805,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1741
1805
|
updated_at: string;
|
|
1742
1806
|
name: string;
|
|
1743
1807
|
options?: {
|
|
1808
|
+
issuer?: string | undefined;
|
|
1744
1809
|
client_secret?: string | undefined;
|
|
1745
1810
|
client_id?: string | undefined;
|
|
1746
1811
|
scope?: string | undefined;
|
|
@@ -1750,6 +1815,9 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1750
1815
|
app_secret?: string | undefined;
|
|
1751
1816
|
authorization_endpoint?: string | undefined;
|
|
1752
1817
|
token_endpoint?: string | undefined;
|
|
1818
|
+
userinfo_endpoint?: string | undefined;
|
|
1819
|
+
jwks_uri?: string | undefined;
|
|
1820
|
+
discovery_url?: string | undefined;
|
|
1753
1821
|
} | undefined;
|
|
1754
1822
|
id?: string | undefined;
|
|
1755
1823
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -2117,10 +2185,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
2117
2185
|
issuer: string;
|
|
2118
2186
|
authorization_endpoint: string;
|
|
2119
2187
|
token_endpoint: string;
|
|
2120
|
-
device_authorization_endpoint: string;
|
|
2121
2188
|
userinfo_endpoint: string;
|
|
2122
|
-
mfa_challenge_endpoint: string;
|
|
2123
2189
|
jwks_uri: string;
|
|
2190
|
+
device_authorization_endpoint: string;
|
|
2191
|
+
mfa_challenge_endpoint: string;
|
|
2124
2192
|
registration_endpoint: string;
|
|
2125
2193
|
revocation_endpoint: string;
|
|
2126
2194
|
scopes_supported: string[];
|
|
@@ -2138,10 +2206,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
2138
2206
|
issuer: string;
|
|
2139
2207
|
authorization_endpoint: string;
|
|
2140
2208
|
token_endpoint: string;
|
|
2141
|
-
device_authorization_endpoint: string;
|
|
2142
2209
|
userinfo_endpoint: string;
|
|
2143
|
-
mfa_challenge_endpoint: string;
|
|
2144
2210
|
jwks_uri: string;
|
|
2211
|
+
device_authorization_endpoint: string;
|
|
2212
|
+
mfa_challenge_endpoint: string;
|
|
2145
2213
|
registration_endpoint: string;
|
|
2146
2214
|
revocation_endpoint: string;
|
|
2147
2215
|
scopes_supported: string[];
|