authhero 8.17.0 → 8.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.
- package/dist/authhero.cjs +95 -95
- package/dist/authhero.d.ts +272 -272
- package/dist/authhero.mjs +9109 -9114
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +272 -272
- package/dist/types/routes/auth-api/authorize.d.ts +14 -14
- package/dist/types/routes/auth-api/index.d.ts +50 -50
- package/dist/types/routes/universal-login/common.d.ts +10 -10
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/package.json +3 -3
|
@@ -71,9 +71,17 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
71
71
|
request_uri?: string | undefined;
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
|
-
output: {
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
output: string | {
|
|
75
|
+
access_token: string;
|
|
76
|
+
token_type: string;
|
|
77
|
+
expires_in: number;
|
|
78
|
+
id_token?: string | undefined;
|
|
79
|
+
scope?: string | undefined;
|
|
80
|
+
state?: string | undefined;
|
|
81
|
+
refresh_token?: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
outputFormat: "json";
|
|
84
|
+
status: 200;
|
|
77
85
|
} | {
|
|
78
86
|
input: {
|
|
79
87
|
query: {
|
|
@@ -105,17 +113,9 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
105
113
|
request_uri?: string | undefined;
|
|
106
114
|
};
|
|
107
115
|
};
|
|
108
|
-
output:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
expires_in: number;
|
|
112
|
-
id_token?: string | undefined;
|
|
113
|
-
scope?: string | undefined;
|
|
114
|
-
state?: string | undefined;
|
|
115
|
-
refresh_token?: string | undefined;
|
|
116
|
-
};
|
|
117
|
-
outputFormat: "json";
|
|
118
|
-
status: 200;
|
|
116
|
+
output: {};
|
|
117
|
+
outputFormat: string;
|
|
118
|
+
status: 302;
|
|
119
119
|
} | {
|
|
120
120
|
input: {
|
|
121
121
|
query: {
|
|
@@ -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" | "
|
|
304
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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" | "
|
|
393
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
394
394
|
jwks_uri?: string | undefined;
|
|
395
395
|
jwks?: Record<string, unknown> | undefined;
|
|
396
396
|
software_id?: string | undefined;
|
|
@@ -447,7 +447,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
447
447
|
client_id: string;
|
|
448
448
|
redirect_url?: string | undefined;
|
|
449
449
|
login_hint?: string | undefined;
|
|
450
|
-
screen_hint?: "
|
|
450
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
451
451
|
};
|
|
452
452
|
};
|
|
453
453
|
output: {};
|
|
@@ -459,7 +459,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
459
459
|
client_id: string;
|
|
460
460
|
redirect_url?: string | undefined;
|
|
461
461
|
login_hint?: string | undefined;
|
|
462
|
-
screen_hint?: "
|
|
462
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
463
463
|
};
|
|
464
464
|
};
|
|
465
465
|
output: {
|
|
@@ -536,9 +536,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
536
536
|
request_uri?: string | undefined;
|
|
537
537
|
};
|
|
538
538
|
};
|
|
539
|
-
output: {
|
|
540
|
-
|
|
541
|
-
|
|
539
|
+
output: string | {
|
|
540
|
+
access_token: string;
|
|
541
|
+
token_type: string;
|
|
542
|
+
expires_in: number;
|
|
543
|
+
id_token?: string | undefined;
|
|
544
|
+
scope?: string | undefined;
|
|
545
|
+
state?: string | undefined;
|
|
546
|
+
refresh_token?: string | undefined;
|
|
547
|
+
};
|
|
548
|
+
outputFormat: "json";
|
|
549
|
+
status: 200;
|
|
542
550
|
} | {
|
|
543
551
|
input: {
|
|
544
552
|
query: {
|
|
@@ -570,17 +578,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
570
578
|
request_uri?: string | undefined;
|
|
571
579
|
};
|
|
572
580
|
};
|
|
573
|
-
output:
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
expires_in: number;
|
|
577
|
-
id_token?: string | undefined;
|
|
578
|
-
scope?: string | undefined;
|
|
579
|
-
state?: string | undefined;
|
|
580
|
-
refresh_token?: string | undefined;
|
|
581
|
-
};
|
|
582
|
-
outputFormat: "json";
|
|
583
|
-
status: 200;
|
|
581
|
+
output: {};
|
|
582
|
+
outputFormat: string;
|
|
583
|
+
status: 302;
|
|
584
584
|
} | {
|
|
585
585
|
input: {
|
|
586
586
|
query: {
|
|
@@ -736,22 +736,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
736
736
|
email: string;
|
|
737
737
|
send: "code" | "link";
|
|
738
738
|
authParams: {
|
|
739
|
-
|
|
740
|
-
|
|
739
|
+
vendor_id?: string | undefined;
|
|
740
|
+
redirect_uri?: string | undefined;
|
|
741
|
+
scope?: string | undefined;
|
|
741
742
|
state?: string | undefined;
|
|
742
|
-
|
|
743
|
+
prompt?: string | undefined;
|
|
743
744
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
744
|
-
|
|
745
|
-
|
|
745
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
746
|
+
audience?: string | undefined;
|
|
746
747
|
nonce?: string | undefined;
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
prompt?: string | undefined;
|
|
748
|
+
max_age?: number | undefined;
|
|
749
|
+
acr_values?: string | undefined;
|
|
750
750
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
751
751
|
code_challenge?: string | undefined;
|
|
752
|
+
organization?: string | undefined;
|
|
752
753
|
ui_locales?: string | undefined;
|
|
753
|
-
max_age?: number | undefined;
|
|
754
|
-
acr_values?: string | undefined;
|
|
755
754
|
claims?: {
|
|
756
755
|
userinfo?: Record<string, {
|
|
757
756
|
essential?: boolean | undefined;
|
|
@@ -764,7 +763,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
764
763
|
values?: unknown[] | undefined;
|
|
765
764
|
} | null> | undefined;
|
|
766
765
|
} | undefined;
|
|
767
|
-
|
|
766
|
+
act_as?: string | undefined;
|
|
767
|
+
username?: string | undefined;
|
|
768
768
|
};
|
|
769
769
|
} | {
|
|
770
770
|
client_id: string;
|
|
@@ -772,22 +772,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
772
772
|
phone_number: string;
|
|
773
773
|
send: "code" | "link";
|
|
774
774
|
authParams: {
|
|
775
|
-
|
|
776
|
-
|
|
775
|
+
vendor_id?: string | undefined;
|
|
776
|
+
redirect_uri?: string | undefined;
|
|
777
|
+
scope?: string | undefined;
|
|
777
778
|
state?: string | undefined;
|
|
778
|
-
|
|
779
|
+
prompt?: string | undefined;
|
|
779
780
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
780
|
-
|
|
781
|
-
|
|
781
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
782
|
+
audience?: string | undefined;
|
|
782
783
|
nonce?: string | undefined;
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
prompt?: string | undefined;
|
|
784
|
+
max_age?: number | undefined;
|
|
785
|
+
acr_values?: string | undefined;
|
|
786
786
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
787
787
|
code_challenge?: string | undefined;
|
|
788
|
+
organization?: string | undefined;
|
|
788
789
|
ui_locales?: string | undefined;
|
|
789
|
-
max_age?: number | undefined;
|
|
790
|
-
acr_values?: string | undefined;
|
|
791
790
|
claims?: {
|
|
792
791
|
userinfo?: Record<string, {
|
|
793
792
|
essential?: boolean | undefined;
|
|
@@ -800,7 +799,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
800
799
|
values?: unknown[] | undefined;
|
|
801
800
|
} | null> | undefined;
|
|
802
801
|
} | undefined;
|
|
803
|
-
|
|
802
|
+
act_as?: string | undefined;
|
|
803
|
+
username?: string | undefined;
|
|
804
804
|
};
|
|
805
805
|
};
|
|
806
806
|
};
|
|
@@ -916,14 +916,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
916
916
|
input: {
|
|
917
917
|
form: {
|
|
918
918
|
token: string;
|
|
919
|
-
token_type_hint?: "
|
|
919
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
920
920
|
client_id?: string | undefined;
|
|
921
921
|
client_secret?: string | undefined;
|
|
922
922
|
};
|
|
923
923
|
} & {
|
|
924
924
|
json: {
|
|
925
925
|
token: string;
|
|
926
|
-
token_type_hint?: "
|
|
926
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
927
927
|
client_id?: string | undefined;
|
|
928
928
|
client_secret?: string | undefined;
|
|
929
929
|
};
|
|
@@ -935,14 +935,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
935
935
|
input: {
|
|
936
936
|
form: {
|
|
937
937
|
token: string;
|
|
938
|
-
token_type_hint?: "
|
|
938
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
939
939
|
client_id?: string | undefined;
|
|
940
940
|
client_secret?: string | undefined;
|
|
941
941
|
};
|
|
942
942
|
} & {
|
|
943
943
|
json: {
|
|
944
944
|
token: string;
|
|
945
|
-
token_type_hint?: "
|
|
945
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
946
946
|
client_id?: string | undefined;
|
|
947
947
|
client_secret?: string | undefined;
|
|
948
948
|
};
|
|
@@ -957,14 +957,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
957
957
|
input: {
|
|
958
958
|
form: {
|
|
959
959
|
token: string;
|
|
960
|
-
token_type_hint?: "
|
|
960
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
961
961
|
client_id?: string | undefined;
|
|
962
962
|
client_secret?: string | undefined;
|
|
963
963
|
};
|
|
964
964
|
} & {
|
|
965
965
|
json: {
|
|
966
966
|
token: string;
|
|
967
|
-
token_type_hint?: "
|
|
967
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
968
968
|
client_id?: string | undefined;
|
|
969
969
|
client_secret?: string | undefined;
|
|
970
970
|
};
|
|
@@ -1388,7 +1388,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1388
1388
|
error_description?: string | undefined;
|
|
1389
1389
|
};
|
|
1390
1390
|
outputFormat: "json";
|
|
1391
|
-
status:
|
|
1391
|
+
status: 403;
|
|
1392
1392
|
} | {
|
|
1393
1393
|
input: {
|
|
1394
1394
|
form: {
|
|
@@ -1490,7 +1490,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1490
1490
|
error_description?: string | undefined;
|
|
1491
1491
|
};
|
|
1492
1492
|
outputFormat: "json";
|
|
1493
|
-
status:
|
|
1493
|
+
status: 401;
|
|
1494
1494
|
};
|
|
1495
1495
|
};
|
|
1496
1496
|
}, "/oauth/token"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -1689,7 +1689,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1689
1689
|
};
|
|
1690
1690
|
output: {};
|
|
1691
1691
|
outputFormat: string;
|
|
1692
|
-
status:
|
|
1692
|
+
status: 302;
|
|
1693
1693
|
} | {
|
|
1694
1694
|
input: {
|
|
1695
1695
|
query: {
|
|
@@ -1703,7 +1703,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1703
1703
|
};
|
|
1704
1704
|
output: {};
|
|
1705
1705
|
outputFormat: string;
|
|
1706
|
-
status:
|
|
1706
|
+
status: 200;
|
|
1707
1707
|
} | {
|
|
1708
1708
|
input: {
|
|
1709
1709
|
query: {
|
|
@@ -72,7 +72,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
72
72
|
background_color: string;
|
|
73
73
|
background_image_url: string;
|
|
74
74
|
page_layout: "center" | "left" | "right";
|
|
75
|
-
logo_placement?: "
|
|
75
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
76
76
|
};
|
|
77
77
|
widget: {
|
|
78
78
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -357,7 +357,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
357
357
|
active?: boolean | undefined;
|
|
358
358
|
} | undefined;
|
|
359
359
|
signup?: {
|
|
360
|
-
status?: "optional" | "
|
|
360
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
361
361
|
verification?: {
|
|
362
362
|
active?: boolean | undefined;
|
|
363
363
|
} | undefined;
|
|
@@ -374,7 +374,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
374
374
|
active?: boolean | undefined;
|
|
375
375
|
} | undefined;
|
|
376
376
|
signup?: {
|
|
377
|
-
status?: "optional" | "
|
|
377
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
validation?: {
|
|
380
380
|
max_length?: number | undefined;
|
|
@@ -391,7 +391,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
391
391
|
active?: boolean | undefined;
|
|
392
392
|
} | undefined;
|
|
393
393
|
signup?: {
|
|
394
|
-
status?: "optional" | "
|
|
394
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
395
395
|
} | undefined;
|
|
396
396
|
} | undefined;
|
|
397
397
|
} | undefined;
|
|
@@ -448,7 +448,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
448
448
|
custom_login_page_preview?: string | undefined;
|
|
449
449
|
form_template?: string | undefined;
|
|
450
450
|
addons?: Record<string, any> | undefined;
|
|
451
|
-
token_endpoint_auth_method?: "none" | "
|
|
451
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
452
452
|
client_metadata?: Record<string, string> | undefined;
|
|
453
453
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
454
454
|
mobile?: Record<string, any> | undefined;
|
|
@@ -793,7 +793,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
793
793
|
background_color: string;
|
|
794
794
|
background_image_url: string;
|
|
795
795
|
page_layout: "center" | "left" | "right";
|
|
796
|
-
logo_placement?: "
|
|
796
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
797
797
|
};
|
|
798
798
|
widget: {
|
|
799
799
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -1078,7 +1078,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1078
1078
|
active?: boolean | undefined;
|
|
1079
1079
|
} | undefined;
|
|
1080
1080
|
signup?: {
|
|
1081
|
-
status?: "optional" | "
|
|
1081
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
1082
1082
|
verification?: {
|
|
1083
1083
|
active?: boolean | undefined;
|
|
1084
1084
|
} | undefined;
|
|
@@ -1095,7 +1095,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1095
1095
|
active?: boolean | undefined;
|
|
1096
1096
|
} | undefined;
|
|
1097
1097
|
signup?: {
|
|
1098
|
-
status?: "optional" | "
|
|
1098
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
1099
1099
|
} | undefined;
|
|
1100
1100
|
validation?: {
|
|
1101
1101
|
max_length?: number | undefined;
|
|
@@ -1112,7 +1112,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1112
1112
|
active?: boolean | undefined;
|
|
1113
1113
|
} | undefined;
|
|
1114
1114
|
signup?: {
|
|
1115
|
-
status?: "optional" | "
|
|
1115
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
1116
1116
|
} | undefined;
|
|
1117
1117
|
} | undefined;
|
|
1118
1118
|
} | undefined;
|
|
@@ -1169,7 +1169,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1169
1169
|
custom_login_page_preview?: string | undefined;
|
|
1170
1170
|
form_template?: string | undefined;
|
|
1171
1171
|
addons?: Record<string, any> | undefined;
|
|
1172
|
-
token_endpoint_auth_method?: "none" | "
|
|
1172
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
1173
1173
|
client_metadata?: Record<string, string> | undefined;
|
|
1174
1174
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
1175
1175
|
mobile?: Record<string, any> | undefined;
|
|
@@ -43,7 +43,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
43
43
|
hint?: string | undefined;
|
|
44
44
|
messages?: {
|
|
45
45
|
text: string;
|
|
46
|
-
type: "
|
|
46
|
+
type: "success" | "error" | "info" | "warning";
|
|
47
47
|
id?: number | undefined;
|
|
48
48
|
}[] | undefined;
|
|
49
49
|
}[];
|
|
@@ -51,7 +51,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
51
51
|
description?: string | undefined;
|
|
52
52
|
messages?: {
|
|
53
53
|
text: string;
|
|
54
|
-
type: "
|
|
54
|
+
type: "success" | "error" | "info" | "warning";
|
|
55
55
|
id?: number | undefined;
|
|
56
56
|
}[] | undefined;
|
|
57
57
|
links?: {
|
|
@@ -123,7 +123,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
123
123
|
hint?: string | undefined;
|
|
124
124
|
messages?: {
|
|
125
125
|
text: string;
|
|
126
|
-
type: "
|
|
126
|
+
type: "success" | "error" | "info" | "warning";
|
|
127
127
|
id?: number | undefined;
|
|
128
128
|
}[] | undefined;
|
|
129
129
|
}[];
|
|
@@ -131,7 +131,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
131
131
|
description?: string | undefined;
|
|
132
132
|
messages?: {
|
|
133
133
|
text: string;
|
|
134
|
-
type: "
|
|
134
|
+
type: "success" | "error" | "info" | "warning";
|
|
135
135
|
id?: number | undefined;
|
|
136
136
|
}[] | undefined;
|
|
137
137
|
links?: {
|
|
@@ -220,7 +220,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
220
220
|
hint?: string | undefined;
|
|
221
221
|
messages?: {
|
|
222
222
|
text: string;
|
|
223
|
-
type: "
|
|
223
|
+
type: "success" | "error" | "info" | "warning";
|
|
224
224
|
id?: number | undefined;
|
|
225
225
|
}[] | undefined;
|
|
226
226
|
}[];
|
|
@@ -228,7 +228,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
228
228
|
description?: string | undefined;
|
|
229
229
|
messages?: {
|
|
230
230
|
text: string;
|
|
231
|
-
type: "
|
|
231
|
+
type: "success" | "error" | "info" | "warning";
|
|
232
232
|
id?: number | undefined;
|
|
233
233
|
}[] | undefined;
|
|
234
234
|
links?: {
|
|
@@ -335,7 +335,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
335
335
|
hint?: string | undefined;
|
|
336
336
|
messages?: {
|
|
337
337
|
text: string;
|
|
338
|
-
type: "
|
|
338
|
+
type: "success" | "error" | "info" | "warning";
|
|
339
339
|
id?: number | undefined;
|
|
340
340
|
}[] | undefined;
|
|
341
341
|
}[];
|
|
@@ -343,7 +343,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
343
343
|
description?: string | undefined;
|
|
344
344
|
messages?: {
|
|
345
345
|
text: string;
|
|
346
|
-
type: "
|
|
346
|
+
type: "success" | "error" | "info" | "warning";
|
|
347
347
|
id?: number | undefined;
|
|
348
348
|
}[] | undefined;
|
|
349
349
|
links?: {
|
|
@@ -165,7 +165,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
165
165
|
$get: {
|
|
166
166
|
input: {
|
|
167
167
|
param: {
|
|
168
|
-
screen: "signup" | "
|
|
168
|
+
screen: "signup" | "account" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
169
169
|
};
|
|
170
170
|
} & {
|
|
171
171
|
query: {
|
|
@@ -181,7 +181,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
181
181
|
} | {
|
|
182
182
|
input: {
|
|
183
183
|
param: {
|
|
184
|
-
screen: "signup" | "
|
|
184
|
+
screen: "signup" | "account" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
185
185
|
};
|
|
186
186
|
} & {
|
|
187
187
|
query: {
|
|
@@ -197,7 +197,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
197
197
|
} | {
|
|
198
198
|
input: {
|
|
199
199
|
param: {
|
|
200
|
-
screen: "signup" | "
|
|
200
|
+
screen: "signup" | "account" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
201
201
|
};
|
|
202
202
|
} & {
|
|
203
203
|
query: {
|
|
@@ -217,7 +217,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
217
217
|
$post: {
|
|
218
218
|
input: {
|
|
219
219
|
param: {
|
|
220
|
-
screen: "signup" | "login" | "
|
|
220
|
+
screen: "signup" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
221
221
|
};
|
|
222
222
|
} & {
|
|
223
223
|
query: {
|
|
@@ -235,7 +235,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
235
235
|
} | {
|
|
236
236
|
input: {
|
|
237
237
|
param: {
|
|
238
|
-
screen: "signup" | "login" | "
|
|
238
|
+
screen: "signup" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
239
239
|
};
|
|
240
240
|
} & {
|
|
241
241
|
query: {
|
|
@@ -170,7 +170,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
170
170
|
$get: {
|
|
171
171
|
input: {
|
|
172
172
|
param: {
|
|
173
|
-
screen: "signup" | "
|
|
173
|
+
screen: "signup" | "account" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
174
174
|
};
|
|
175
175
|
} & {
|
|
176
176
|
query: {
|
|
@@ -186,7 +186,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
186
186
|
} | {
|
|
187
187
|
input: {
|
|
188
188
|
param: {
|
|
189
|
-
screen: "signup" | "
|
|
189
|
+
screen: "signup" | "account" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
190
190
|
};
|
|
191
191
|
} & {
|
|
192
192
|
query: {
|
|
@@ -202,7 +202,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
202
202
|
} | {
|
|
203
203
|
input: {
|
|
204
204
|
param: {
|
|
205
|
-
screen: "signup" | "
|
|
205
|
+
screen: "signup" | "account" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
206
206
|
};
|
|
207
207
|
} & {
|
|
208
208
|
query: {
|
|
@@ -222,7 +222,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
222
222
|
$post: {
|
|
223
223
|
input: {
|
|
224
224
|
param: {
|
|
225
|
-
screen: "signup" | "login" | "
|
|
225
|
+
screen: "signup" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
226
226
|
};
|
|
227
227
|
} & {
|
|
228
228
|
query: {
|
|
@@ -240,7 +240,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
240
240
|
} | {
|
|
241
241
|
input: {
|
|
242
242
|
param: {
|
|
243
|
-
screen: "signup" | "login" | "
|
|
243
|
+
screen: "signup" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
244
244
|
};
|
|
245
245
|
} & {
|
|
246
246
|
query: {
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
13
13
|
},
|
|
14
|
-
"version": "8.17.
|
|
14
|
+
"version": "8.17.1",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"vite": "^8.0.14",
|
|
64
64
|
"vite-plugin-dts": "^4.5.4",
|
|
65
65
|
"vitest": "^4.1.7",
|
|
66
|
-
"@authhero/
|
|
67
|
-
"@authhero/
|
|
66
|
+
"@authhero/widget": "0.34.8",
|
|
67
|
+
"@authhero/kysely-adapter": "11.14.0"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@peculiar/x509": "^1.14.0",
|