authhero 9.44.2 → 9.44.4

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.
@@ -796,23 +796,23 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
796
796
  connection: "email";
797
797
  client_id: string;
798
798
  email: string;
799
- send: "link" | "code";
799
+ send: "code" | "link";
800
800
  authParams: {
801
- scope?: string | undefined;
802
- state?: string | undefined;
803
- audience?: string | undefined;
804
801
  username?: string | undefined;
805
802
  connection?: string | undefined;
806
- prompt?: string | undefined;
807
- organization?: string | undefined;
803
+ state?: string | undefined;
804
+ scope?: string | undefined;
805
+ audience?: string | undefined;
806
+ act_as?: string | undefined;
808
807
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
809
808
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
810
809
  redirect_uri?: string | undefined;
811
- ui_locales?: string | undefined;
812
- act_as?: string | undefined;
810
+ organization?: string | undefined;
813
811
  nonce?: string | undefined;
812
+ prompt?: string | undefined;
814
813
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
815
814
  code_challenge?: string | undefined;
815
+ ui_locales?: string | undefined;
816
816
  max_age?: number | undefined;
817
817
  acr_values?: string | undefined;
818
818
  claims?: {
@@ -833,23 +833,23 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
833
833
  client_id: string;
834
834
  connection: "sms";
835
835
  phone_number: string;
836
- send: "link" | "code";
836
+ send: "code" | "link";
837
837
  authParams: {
838
- scope?: string | undefined;
839
- state?: string | undefined;
840
- audience?: string | undefined;
841
838
  username?: string | undefined;
842
839
  connection?: string | undefined;
843
- prompt?: string | undefined;
844
- organization?: string | undefined;
840
+ state?: string | undefined;
841
+ scope?: string | undefined;
842
+ audience?: string | undefined;
843
+ act_as?: string | undefined;
845
844
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
846
845
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
847
846
  redirect_uri?: string | undefined;
848
- ui_locales?: string | undefined;
849
- act_as?: string | undefined;
847
+ organization?: string | undefined;
850
848
  nonce?: string | undefined;
849
+ prompt?: string | undefined;
851
850
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
852
851
  code_challenge?: string | undefined;
852
+ ui_locales?: string | undefined;
853
853
  max_age?: number | undefined;
854
854
  acr_values?: string | undefined;
855
855
  claims?: {
@@ -1215,7 +1215,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1215
1215
  client_id: string;
1216
1216
  username: string;
1217
1217
  otp: string;
1218
- realm: "sms" | "email";
1218
+ realm: "email" | "sms";
1219
1219
  scope?: string | undefined;
1220
1220
  audience?: string | undefined;
1221
1221
  } | {
@@ -1283,7 +1283,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1283
1283
  client_id: string;
1284
1284
  username: string;
1285
1285
  otp: string;
1286
- realm: "sms" | "email";
1286
+ realm: "email" | "sms";
1287
1287
  scope?: string | undefined;
1288
1288
  audience?: string | undefined;
1289
1289
  } | {
@@ -1356,7 +1356,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1356
1356
  client_id: string;
1357
1357
  username: string;
1358
1358
  otp: string;
1359
- realm: "sms" | "email";
1359
+ realm: "email" | "sms";
1360
1360
  scope?: string | undefined;
1361
1361
  audience?: string | undefined;
1362
1362
  } | {
@@ -1424,7 +1424,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1424
1424
  client_id: string;
1425
1425
  username: string;
1426
1426
  otp: string;
1427
- realm: "sms" | "email";
1427
+ realm: "email" | "sms";
1428
1428
  scope?: string | undefined;
1429
1429
  audience?: string | undefined;
1430
1430
  } | {
@@ -1506,7 +1506,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1506
1506
  client_id: string;
1507
1507
  username: string;
1508
1508
  otp: string;
1509
- realm: "sms" | "email";
1509
+ realm: "email" | "sms";
1510
1510
  scope?: string | undefined;
1511
1511
  audience?: string | undefined;
1512
1512
  } | {
@@ -1574,7 +1574,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1574
1574
  client_id: string;
1575
1575
  username: string;
1576
1576
  otp: string;
1577
- realm: "sms" | "email";
1577
+ realm: "email" | "sms";
1578
1578
  scope?: string | undefined;
1579
1579
  audience?: string | undefined;
1580
1580
  } | {
@@ -1650,7 +1650,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1650
1650
  client_id: string;
1651
1651
  username: string;
1652
1652
  otp: string;
1653
- realm: "sms" | "email";
1653
+ realm: "email" | "sms";
1654
1654
  scope?: string | undefined;
1655
1655
  audience?: string | undefined;
1656
1656
  } | {
@@ -1718,7 +1718,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1718
1718
  client_id: string;
1719
1719
  username: string;
1720
1720
  otp: string;
1721
- realm: "sms" | "email";
1721
+ realm: "email" | "sms";
1722
1722
  scope?: string | undefined;
1723
1723
  audience?: string | undefined;
1724
1724
  } | {
@@ -1794,7 +1794,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1794
1794
  client_id: string;
1795
1795
  username: string;
1796
1796
  otp: string;
1797
- realm: "sms" | "email";
1797
+ realm: "email" | "sms";
1798
1798
  scope?: string | undefined;
1799
1799
  audience?: string | undefined;
1800
1800
  } | {
@@ -1862,7 +1862,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1862
1862
  client_id: string;
1863
1863
  username: string;
1864
1864
  otp: string;
1865
- realm: "sms" | "email";
1865
+ realm: "email" | "sms";
1866
1866
  scope?: string | undefined;
1867
1867
  audience?: string | undefined;
1868
1868
  } | {
@@ -14,15 +14,15 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- scope?: string | undefined;
18
- state?: string | undefined;
19
17
  username?: string | undefined;
20
18
  connection?: string | undefined;
19
+ state?: string | undefined;
20
+ scope?: string | undefined;
21
+ audience?: string | undefined;
21
22
  act_as?: string | undefined;
22
23
  response_type?: AuthorizationResponseType | undefined;
23
24
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
24
25
  redirect_uri?: string | undefined;
25
- audience?: string | undefined;
26
26
  organization?: string | undefined;
27
27
  nonce?: string | undefined;
28
28
  prompt?: string | undefined;
@@ -51,15 +51,15 @@ export declare const passwordlessRoutes: OpenAPIHono<{
51
51
  phone_number: string;
52
52
  send: "code" | "link";
53
53
  authParams: {
54
- scope?: string | undefined;
55
- state?: string | undefined;
56
54
  username?: string | undefined;
57
55
  connection?: string | undefined;
56
+ state?: string | undefined;
57
+ scope?: string | undefined;
58
+ audience?: string | undefined;
58
59
  act_as?: string | undefined;
59
60
  response_type?: AuthorizationResponseType | undefined;
60
61
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
61
62
  redirect_uri?: string | undefined;
62
- audience?: string | undefined;
63
63
  organization?: string | undefined;
64
64
  nonce?: string | undefined;
65
65
  prompt?: string | undefined;
@@ -1143,7 +1143,7 @@ export declare const connectionRoutes: OpenAPIHono<{
1143
1143
  };
1144
1144
  } | {
1145
1145
  mode: "inline";
1146
- status: "error" | "success";
1146
+ status: "success" | "error";
1147
1147
  connection_id: string;
1148
1148
  connection_name: string;
1149
1149
  strategy: string;