authhero 9.30.0 → 9.33.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.
Files changed (67) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +73 -73
  3. package/dist/authhero.d.ts +498 -270
  4. package/dist/authhero.mjs +11270 -10741
  5. package/dist/mfa-attempts-DNgUKmta.js +275 -0
  6. package/dist/{mfa-attempts-CQiD6hxP.mjs → mfa-attempts-dhkGMzI5.mjs} +6287 -5852
  7. package/dist/{passkey-enrollment-D_WVyvv2.js → passkey-enrollment-B_o8pQ1z.js} +1 -1
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/common.d.ts +12 -1
  10. package/dist/types/authentication-flows/passwordless.d.ts +16 -5
  11. package/dist/types/authentication-flows/refresh-token.d.ts +1 -0
  12. package/dist/types/helpers/cimd.d.ts +8 -0
  13. package/dist/types/helpers/client.d.ts +17 -1
  14. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  15. package/dist/types/helpers/login-session-tenant.d.ts +22 -0
  16. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  17. package/dist/types/helpers/session-transfer.d.ts +158 -0
  18. package/dist/types/hooks/lifecycle-codehooks.d.ts +22 -0
  19. package/dist/types/hooks/pre-account-action.d.ts +65 -0
  20. package/dist/types/index.d.ts +397 -267
  21. package/dist/types/routes/auth-api/authorize.d.ts +6 -0
  22. package/dist/types/routes/auth-api/index.d.ts +44 -27
  23. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  24. package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
  25. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  26. package/dist/types/routes/auth-api/token.d.ts +21 -10
  27. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  28. package/dist/types/routes/management-api/actions.d.ts +1 -1
  29. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  30. package/dist/types/routes/management-api/branding.d.ts +14 -14
  31. package/dist/types/routes/management-api/clients.d.ts +86 -18
  32. package/dist/types/routes/management-api/connections.d.ts +7 -7
  33. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  34. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  35. package/dist/types/routes/management-api/forms.d.ts +144 -144
  36. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  37. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  38. package/dist/types/routes/management-api/hooks.d.ts +7 -7
  39. package/dist/types/routes/management-api/index.d.ts +368 -255
  40. package/dist/types/routes/management-api/keys.d.ts +8 -8
  41. package/dist/types/routes/management-api/logs.d.ts +4 -4
  42. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  43. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  44. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  45. package/dist/types/routes/management-api/refresh_tokens.d.ts +5 -0
  46. package/dist/types/routes/management-api/sessions.d.ts +5 -0
  47. package/dist/types/routes/management-api/tenant-operations.d.ts +9 -9
  48. package/dist/types/routes/management-api/tenants.d.ts +7 -7
  49. package/dist/types/routes/management-api/themes.d.ts +9 -9
  50. package/dist/types/routes/management-api/users.d.ts +42 -12
  51. package/dist/types/routes/saml/index.d.ts +6 -6
  52. package/dist/types/routes/saml/samlp.d.ts +6 -6
  53. package/dist/types/routes/universal-login/common.d.ts +39 -12
  54. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  55. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  56. package/dist/types/routes/universal-login/index.d.ts +2 -2
  57. package/dist/types/routes/universal-login/screens/account-helpers.d.ts +27 -1
  58. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  59. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  60. package/dist/types/state-machines/login-session.d.ts +2 -0
  61. package/dist/types/types/GrantFlowResult.d.ts +13 -0
  62. package/dist/types/types/Hooks.d.ts +71 -0
  63. package/dist/types/types/Variables.d.ts +12 -1
  64. package/dist/types/utils/cookies.d.ts +15 -0
  65. package/dist/types/utils/session-transfer-token.d.ts +56 -0
  66. package/package.json +6 -6
  67. package/dist/mfa-attempts-DwATCXqC.js +0 -254
@@ -36,6 +36,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
36
36
  screen_hint?: string | undefined;
37
37
  request?: string | undefined;
38
38
  request_uri?: string | undefined;
39
+ session_transfer_token?: string | undefined;
39
40
  };
40
41
  };
41
42
  output: Response;
@@ -71,6 +72,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
71
72
  screen_hint?: string | undefined;
72
73
  request?: string | undefined;
73
74
  request_uri?: string | undefined;
75
+ session_transfer_token?: string | undefined;
74
76
  };
75
77
  };
76
78
  output: {};
@@ -106,6 +108,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
106
108
  screen_hint?: string | undefined;
107
109
  request?: string | undefined;
108
110
  request_uri?: string | undefined;
111
+ session_transfer_token?: string | undefined;
109
112
  };
110
113
  };
111
114
  output: string | {
@@ -116,6 +119,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
116
119
  scope?: string | undefined;
117
120
  state?: string | undefined;
118
121
  refresh_token?: string | undefined;
122
+ issued_token_type?: string | undefined;
119
123
  };
120
124
  outputFormat: "json";
121
125
  status: 200;
@@ -149,6 +153,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
149
153
  screen_hint?: string | undefined;
150
154
  request?: string | undefined;
151
155
  request_uri?: string | undefined;
156
+ session_transfer_token?: string | undefined;
152
157
  };
153
158
  };
154
159
  output: {
@@ -186,6 +191,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
186
191
  screen_hint?: string | undefined;
187
192
  request?: string | undefined;
188
193
  request_uri?: string | undefined;
194
+ session_transfer_token?: string | undefined;
189
195
  };
190
196
  };
191
197
  output: {
@@ -301,7 +301,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
301
301
  scope?: string | undefined;
302
302
  grant_types?: string[] | undefined;
303
303
  response_types?: string[] | undefined;
304
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
304
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
305
305
  jwks_uri?: string | undefined;
306
306
  jwks?: Record<string, unknown> | undefined;
307
307
  software_id?: string | undefined;
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
390
390
  scope?: string | undefined;
391
391
  grant_types?: string[] | undefined;
392
392
  response_types?: string[] | undefined;
393
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
393
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
394
394
  jwks_uri?: string | undefined;
395
395
  jwks?: Record<string, unknown> | undefined;
396
396
  software_id?: string | undefined;
@@ -501,6 +501,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
501
501
  screen_hint?: string | undefined;
502
502
  request?: string | undefined;
503
503
  request_uri?: string | undefined;
504
+ session_transfer_token?: string | undefined;
504
505
  };
505
506
  };
506
507
  output: Response;
@@ -536,6 +537,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
536
537
  screen_hint?: string | undefined;
537
538
  request?: string | undefined;
538
539
  request_uri?: string | undefined;
540
+ session_transfer_token?: string | undefined;
539
541
  };
540
542
  };
541
543
  output: {};
@@ -571,6 +573,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
571
573
  screen_hint?: string | undefined;
572
574
  request?: string | undefined;
573
575
  request_uri?: string | undefined;
576
+ session_transfer_token?: string | undefined;
574
577
  };
575
578
  };
576
579
  output: string | {
@@ -581,6 +584,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
581
584
  scope?: string | undefined;
582
585
  state?: string | undefined;
583
586
  refresh_token?: string | undefined;
587
+ issued_token_type?: string | undefined;
584
588
  };
585
589
  outputFormat: "json";
586
590
  status: 200;
@@ -614,6 +618,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
614
618
  screen_hint?: string | undefined;
615
619
  request?: string | undefined;
616
620
  request_uri?: string | undefined;
621
+ session_transfer_token?: string | undefined;
617
622
  };
618
623
  };
619
624
  output: {
@@ -651,6 +656,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
651
656
  screen_hint?: string | undefined;
652
657
  request?: string | undefined;
653
658
  request_uri?: string | undefined;
659
+ session_transfer_token?: string | undefined;
654
660
  };
655
661
  };
656
662
  output: {
@@ -739,21 +745,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
739
745
  connection: "email";
740
746
  client_id: string;
741
747
  email: string;
742
- send: "link" | "code";
748
+ send: "code" | "link";
743
749
  authParams: {
744
750
  audience?: string | undefined;
745
- state?: string | undefined;
746
- code_challenge?: string | undefined;
747
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
748
- redirect_uri?: string | undefined;
749
- nonce?: string | undefined;
750
751
  scope?: string | undefined;
751
752
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
752
753
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
753
754
  username?: string | undefined;
755
+ state?: string | undefined;
754
756
  act_as?: string | undefined;
757
+ redirect_uri?: string | undefined;
755
758
  organization?: string | undefined;
759
+ nonce?: string | undefined;
756
760
  prompt?: string | undefined;
761
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
762
+ code_challenge?: string | undefined;
757
763
  ui_locales?: string | undefined;
758
764
  max_age?: number | undefined;
759
765
  acr_values?: string | undefined;
@@ -775,21 +781,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
775
781
  client_id: string;
776
782
  connection: "sms";
777
783
  phone_number: string;
778
- send: "link" | "code";
784
+ send: "code" | "link";
779
785
  authParams: {
780
786
  audience?: string | undefined;
781
- state?: string | undefined;
782
- code_challenge?: string | undefined;
783
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
784
- redirect_uri?: string | undefined;
785
- nonce?: string | undefined;
786
787
  scope?: string | undefined;
787
788
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
788
789
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
789
790
  username?: string | undefined;
791
+ state?: string | undefined;
790
792
  act_as?: string | undefined;
793
+ redirect_uri?: string | undefined;
791
794
  organization?: string | undefined;
795
+ nonce?: string | undefined;
792
796
  prompt?: string | undefined;
797
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
798
+ code_challenge?: string | undefined;
793
799
  ui_locales?: string | undefined;
794
800
  max_age?: number | undefined;
795
801
  acr_values?: string | undefined;
@@ -1150,12 +1156,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1150
1156
  client_assertion_type?: string | undefined;
1151
1157
  redirect_uri?: string | undefined;
1152
1158
  organization?: string | undefined;
1159
+ audience?: string | undefined;
1153
1160
  } | {
1154
1161
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
1155
1162
  client_id: string;
1156
1163
  username: string;
1157
1164
  otp: string;
1158
- realm: "email" | "sms";
1165
+ realm: "sms" | "email";
1159
1166
  scope?: string | undefined;
1160
1167
  audience?: string | undefined;
1161
1168
  } | {
@@ -1217,12 +1224,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1217
1224
  client_assertion_type?: string | undefined;
1218
1225
  redirect_uri?: string | undefined;
1219
1226
  organization?: string | undefined;
1227
+ audience?: string | undefined;
1220
1228
  } | {
1221
1229
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
1222
1230
  client_id: string;
1223
1231
  username: string;
1224
1232
  otp: string;
1225
- realm: "email" | "sms";
1233
+ realm: "sms" | "email";
1226
1234
  scope?: string | undefined;
1227
1235
  audience?: string | undefined;
1228
1236
  } | {
@@ -1289,12 +1297,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1289
1297
  client_assertion_type?: string | undefined;
1290
1298
  redirect_uri?: string | undefined;
1291
1299
  organization?: string | undefined;
1300
+ audience?: string | undefined;
1292
1301
  } | {
1293
1302
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
1294
1303
  client_id: string;
1295
1304
  username: string;
1296
1305
  otp: string;
1297
- realm: "email" | "sms";
1306
+ realm: "sms" | "email";
1298
1307
  scope?: string | undefined;
1299
1308
  audience?: string | undefined;
1300
1309
  } | {
@@ -1356,12 +1365,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1356
1365
  client_assertion_type?: string | undefined;
1357
1366
  redirect_uri?: string | undefined;
1358
1367
  organization?: string | undefined;
1368
+ audience?: string | undefined;
1359
1369
  } | {
1360
1370
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
1361
1371
  client_id: string;
1362
1372
  username: string;
1363
1373
  otp: string;
1364
- realm: "email" | "sms";
1374
+ realm: "sms" | "email";
1365
1375
  scope?: string | undefined;
1366
1376
  audience?: string | undefined;
1367
1377
  } | {
@@ -1396,6 +1406,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1396
1406
  scope?: string | undefined;
1397
1407
  state?: string | undefined;
1398
1408
  refresh_token?: string | undefined;
1409
+ issued_token_type?: string | undefined;
1399
1410
  };
1400
1411
  outputFormat: "json";
1401
1412
  status: 200;
@@ -1436,12 +1447,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1436
1447
  client_assertion_type?: string | undefined;
1437
1448
  redirect_uri?: string | undefined;
1438
1449
  organization?: string | undefined;
1450
+ audience?: string | undefined;
1439
1451
  } | {
1440
1452
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
1441
1453
  client_id: string;
1442
1454
  username: string;
1443
1455
  otp: string;
1444
- realm: "email" | "sms";
1456
+ realm: "sms" | "email";
1445
1457
  scope?: string | undefined;
1446
1458
  audience?: string | undefined;
1447
1459
  } | {
@@ -1503,12 +1515,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1503
1515
  client_assertion_type?: string | undefined;
1504
1516
  redirect_uri?: string | undefined;
1505
1517
  organization?: string | undefined;
1518
+ audience?: string | undefined;
1506
1519
  } | {
1507
1520
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
1508
1521
  client_id: string;
1509
1522
  username: string;
1510
1523
  otp: string;
1511
- realm: "email" | "sms";
1524
+ realm: "sms" | "email";
1512
1525
  scope?: string | undefined;
1513
1526
  audience?: string | undefined;
1514
1527
  } | {
@@ -1578,12 +1591,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1578
1591
  client_assertion_type?: string | undefined;
1579
1592
  redirect_uri?: string | undefined;
1580
1593
  organization?: string | undefined;
1594
+ audience?: string | undefined;
1581
1595
  } | {
1582
1596
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
1583
1597
  client_id: string;
1584
1598
  username: string;
1585
1599
  otp: string;
1586
- realm: "email" | "sms";
1600
+ realm: "sms" | "email";
1587
1601
  scope?: string | undefined;
1588
1602
  audience?: string | undefined;
1589
1603
  } | {
@@ -1645,12 +1659,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1645
1659
  client_assertion_type?: string | undefined;
1646
1660
  redirect_uri?: string | undefined;
1647
1661
  organization?: string | undefined;
1662
+ audience?: string | undefined;
1648
1663
  } | {
1649
1664
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
1650
1665
  client_id: string;
1651
1666
  username: string;
1652
1667
  otp: string;
1653
- realm: "email" | "sms";
1668
+ realm: "sms" | "email";
1654
1669
  scope?: string | undefined;
1655
1670
  audience?: string | undefined;
1656
1671
  } | {
@@ -1720,12 +1735,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1720
1735
  client_assertion_type?: string | undefined;
1721
1736
  redirect_uri?: string | undefined;
1722
1737
  organization?: string | undefined;
1738
+ audience?: string | undefined;
1723
1739
  } | {
1724
1740
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
1725
1741
  client_id: string;
1726
1742
  username: string;
1727
1743
  otp: string;
1728
- realm: "email" | "sms";
1744
+ realm: "sms" | "email";
1729
1745
  scope?: string | undefined;
1730
1746
  audience?: string | undefined;
1731
1747
  } | {
@@ -1787,12 +1803,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1787
1803
  client_assertion_type?: string | undefined;
1788
1804
  redirect_uri?: string | undefined;
1789
1805
  organization?: string | undefined;
1806
+ audience?: string | undefined;
1790
1807
  } | {
1791
1808
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
1792
1809
  client_id: string;
1793
1810
  username: string;
1794
1811
  otp: string;
1795
- realm: "email" | "sms";
1812
+ realm: "sms" | "email";
1796
1813
  scope?: string | undefined;
1797
1814
  audience?: string | undefined;
1798
1815
  } | {
@@ -2030,7 +2047,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2030
2047
  };
2031
2048
  output: {};
2032
2049
  outputFormat: string;
2033
- status: 200;
2050
+ status: 302;
2034
2051
  } | {
2035
2052
  input: {
2036
2053
  query: {
@@ -2044,7 +2061,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2044
2061
  };
2045
2062
  output: {};
2046
2063
  outputFormat: string;
2047
- status: 302;
2064
+ status: 400;
2048
2065
  } | {
2049
2066
  input: {
2050
2067
  query: {
@@ -2058,7 +2075,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2058
2075
  };
2059
2076
  output: {};
2060
2077
  outputFormat: string;
2061
- status: 400;
2078
+ status: 200;
2062
2079
  };
2063
2080
  };
2064
2081
  }, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
18
18
  };
19
19
  output: {};
20
20
  outputFormat: string;
21
- status: 200;
21
+ status: 302;
22
22
  } | {
23
23
  input: {
24
24
  query: {
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
32
32
  };
33
33
  output: {};
34
34
  outputFormat: string;
35
- status: 302;
35
+ status: 400;
36
36
  } | {
37
37
  input: {
38
38
  query: {
@@ -46,7 +46,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
46
46
  };
47
47
  output: {};
48
48
  outputFormat: string;
49
- status: 400;
49
+ status: 200;
50
50
  };
51
51
  };
52
52
  }, "/">;
@@ -12,21 +12,21 @@ export declare const passwordlessRoutes: OpenAPIHono<{
12
12
  connection: "email";
13
13
  client_id: string;
14
14
  email: string;
15
- send: "link" | "code";
15
+ send: "code" | "link";
16
16
  authParams: {
17
17
  audience?: string | undefined;
18
- state?: string | undefined;
19
- code_challenge?: string | undefined;
20
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
21
- redirect_uri?: string | undefined;
22
- nonce?: string | undefined;
23
18
  scope?: string | undefined;
24
19
  response_type?: AuthorizationResponseType | undefined;
25
20
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
26
21
  username?: string | undefined;
22
+ state?: string | undefined;
27
23
  act_as?: string | undefined;
24
+ redirect_uri?: string | undefined;
28
25
  organization?: string | undefined;
26
+ nonce?: string | undefined;
29
27
  prompt?: string | undefined;
28
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
+ code_challenge?: string | undefined;
30
30
  ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
32
32
  acr_values?: string | undefined;
@@ -48,21 +48,21 @@ export declare const passwordlessRoutes: OpenAPIHono<{
48
48
  client_id: string;
49
49
  connection: "sms";
50
50
  phone_number: string;
51
- send: "link" | "code";
51
+ send: "code" | "link";
52
52
  authParams: {
53
53
  audience?: string | undefined;
54
- state?: string | undefined;
55
- code_challenge?: string | undefined;
56
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
57
- redirect_uri?: string | undefined;
58
- nonce?: string | undefined;
59
54
  scope?: string | undefined;
60
55
  response_type?: AuthorizationResponseType | undefined;
61
56
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
62
57
  username?: string | undefined;
58
+ state?: string | undefined;
63
59
  act_as?: string | undefined;
60
+ redirect_uri?: string | undefined;
64
61
  organization?: string | undefined;
62
+ nonce?: string | undefined;
65
63
  prompt?: string | undefined;
64
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
+ code_challenge?: string | undefined;
66
66
  ui_locales?: string | undefined;
67
67
  max_age?: number | undefined;
68
68
  acr_values?: string | undefined;
@@ -18,7 +18,7 @@ export declare const registerRoutes: OpenAPIHono<{
18
18
  scope?: string | undefined;
19
19
  grant_types?: string[] | undefined;
20
20
  response_types?: string[] | undefined;
21
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
21
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
22
22
  jwks_uri?: string | undefined;
23
23
  jwks?: Record<string, unknown> | undefined;
24
24
  software_id?: string | undefined;
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
107
107
  scope?: string | undefined;
108
108
  grant_types?: string[] | undefined;
109
109
  response_types?: string[] | undefined;
110
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
110
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
111
111
  jwks_uri?: string | undefined;
112
112
  jwks?: Record<string, unknown> | undefined;
113
113
  software_id?: string | undefined;
@@ -42,12 +42,13 @@ export declare const tokenRoutes: OpenAPIHono<{
42
42
  client_assertion_type?: string | undefined;
43
43
  redirect_uri?: string | undefined;
44
44
  organization?: string | undefined;
45
+ audience?: string | undefined;
45
46
  } | {
46
47
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
47
48
  client_id: string;
48
49
  username: string;
49
50
  otp: string;
50
- realm: "email" | "sms";
51
+ realm: "sms" | "email";
51
52
  scope?: string | undefined;
52
53
  audience?: string | undefined;
53
54
  } | {
@@ -109,12 +110,13 @@ export declare const tokenRoutes: OpenAPIHono<{
109
110
  client_assertion_type?: string | undefined;
110
111
  redirect_uri?: string | undefined;
111
112
  organization?: string | undefined;
113
+ audience?: string | undefined;
112
114
  } | {
113
115
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
114
116
  client_id: string;
115
117
  username: string;
116
118
  otp: string;
117
- realm: "email" | "sms";
119
+ realm: "sms" | "email";
118
120
  scope?: string | undefined;
119
121
  audience?: string | undefined;
120
122
  } | {
@@ -181,12 +183,13 @@ export declare const tokenRoutes: OpenAPIHono<{
181
183
  client_assertion_type?: string | undefined;
182
184
  redirect_uri?: string | undefined;
183
185
  organization?: string | undefined;
186
+ audience?: string | undefined;
184
187
  } | {
185
188
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
186
189
  client_id: string;
187
190
  username: string;
188
191
  otp: string;
189
- realm: "email" | "sms";
192
+ realm: "sms" | "email";
190
193
  scope?: string | undefined;
191
194
  audience?: string | undefined;
192
195
  } | {
@@ -248,12 +251,13 @@ export declare const tokenRoutes: OpenAPIHono<{
248
251
  client_assertion_type?: string | undefined;
249
252
  redirect_uri?: string | undefined;
250
253
  organization?: string | undefined;
254
+ audience?: string | undefined;
251
255
  } | {
252
256
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
253
257
  client_id: string;
254
258
  username: string;
255
259
  otp: string;
256
- realm: "email" | "sms";
260
+ realm: "sms" | "email";
257
261
  scope?: string | undefined;
258
262
  audience?: string | undefined;
259
263
  } | {
@@ -288,6 +292,7 @@ export declare const tokenRoutes: OpenAPIHono<{
288
292
  scope?: string | undefined;
289
293
  state?: string | undefined;
290
294
  refresh_token?: string | undefined;
295
+ issued_token_type?: string | undefined;
291
296
  };
292
297
  outputFormat: "json";
293
298
  status: 200;
@@ -328,12 +333,13 @@ export declare const tokenRoutes: OpenAPIHono<{
328
333
  client_assertion_type?: string | undefined;
329
334
  redirect_uri?: string | undefined;
330
335
  organization?: string | undefined;
336
+ audience?: string | undefined;
331
337
  } | {
332
338
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
333
339
  client_id: string;
334
340
  username: string;
335
341
  otp: string;
336
- realm: "email" | "sms";
342
+ realm: "sms" | "email";
337
343
  scope?: string | undefined;
338
344
  audience?: string | undefined;
339
345
  } | {
@@ -395,12 +401,13 @@ export declare const tokenRoutes: OpenAPIHono<{
395
401
  client_assertion_type?: string | undefined;
396
402
  redirect_uri?: string | undefined;
397
403
  organization?: string | undefined;
404
+ audience?: string | undefined;
398
405
  } | {
399
406
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
400
407
  client_id: string;
401
408
  username: string;
402
409
  otp: string;
403
- realm: "email" | "sms";
410
+ realm: "sms" | "email";
404
411
  scope?: string | undefined;
405
412
  audience?: string | undefined;
406
413
  } | {
@@ -470,12 +477,13 @@ export declare const tokenRoutes: OpenAPIHono<{
470
477
  client_assertion_type?: string | undefined;
471
478
  redirect_uri?: string | undefined;
472
479
  organization?: string | undefined;
480
+ audience?: string | undefined;
473
481
  } | {
474
482
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
475
483
  client_id: string;
476
484
  username: string;
477
485
  otp: string;
478
- realm: "email" | "sms";
486
+ realm: "sms" | "email";
479
487
  scope?: string | undefined;
480
488
  audience?: string | undefined;
481
489
  } | {
@@ -537,12 +545,13 @@ export declare const tokenRoutes: OpenAPIHono<{
537
545
  client_assertion_type?: string | undefined;
538
546
  redirect_uri?: string | undefined;
539
547
  organization?: string | undefined;
548
+ audience?: string | undefined;
540
549
  } | {
541
550
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
542
551
  client_id: string;
543
552
  username: string;
544
553
  otp: string;
545
- realm: "email" | "sms";
554
+ realm: "sms" | "email";
546
555
  scope?: string | undefined;
547
556
  audience?: string | undefined;
548
557
  } | {
@@ -612,12 +621,13 @@ export declare const tokenRoutes: OpenAPIHono<{
612
621
  client_assertion_type?: string | undefined;
613
622
  redirect_uri?: string | undefined;
614
623
  organization?: string | undefined;
624
+ audience?: string | undefined;
615
625
  } | {
616
626
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
617
627
  client_id: string;
618
628
  username: string;
619
629
  otp: string;
620
- realm: "email" | "sms";
630
+ realm: "sms" | "email";
621
631
  scope?: string | undefined;
622
632
  audience?: string | undefined;
623
633
  } | {
@@ -679,12 +689,13 @@ export declare const tokenRoutes: OpenAPIHono<{
679
689
  client_assertion_type?: string | undefined;
680
690
  redirect_uri?: string | undefined;
681
691
  organization?: string | undefined;
692
+ audience?: string | undefined;
682
693
  } | {
683
694
  grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
684
695
  client_id: string;
685
696
  username: string;
686
697
  otp: string;
687
- realm: "email" | "sms";
698
+ realm: "sms" | "email";
688
699
  scope?: string | undefined;
689
700
  audience?: string | undefined;
690
701
  } | {
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "log" | "error" | "info" | "warn" | "debug";
81
+ level: "error" | "log" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -919,7 +919,7 @@ export declare const actionsRoutes: OpenAPIHono<{
919
919
  args: import("hono/utils/types").JSONValue[];
920
920
  }[];
921
921
  logs: {
922
- level: "log" | "error" | "info" | "warn" | "debug";
922
+ level: "error" | "log" | "info" | "warn" | "debug";
923
923
  message: string;
924
924
  }[];
925
925
  error?: string | undefined;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;