authhero 9.43.0 → 9.44.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/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +205 -164
- package/dist/authhero.d.ts +220 -216
- package/dist/authhero.mjs +10760 -10688
- package/dist/{mfa-C8qBEQeH.js → mfa-B0J_xOxl.js} +1 -1
- package/dist/{mfa-CVF4Wbdz.mjs → mfa-CX1JyNyV.mjs} +1 -1
- package/dist/{mfa-attempts-sV0Xs59R.mjs → mfa-attempts-BNf9KSrR.mjs} +3 -1
- package/dist/{mfa-attempts-CzGjIGzD.js → mfa-attempts-suDM5Cv-.js} +3 -3
- package/dist/{passkey-enrollment-CAb2zWEF.js → passkey-enrollment-D180Gog3.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +2 -2
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/login-migration.d.ts +23 -2
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +220 -216
- package/dist/types/routes/auth-api/authorize.d.ts +13 -13
- package/dist/types/routes/auth-api/device.d.ts +21 -21
- package/dist/types/routes/auth-api/index.d.ts +81 -81
- package/dist/types/routes/auth-api/logout.d.ts +2 -2
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/token.d.ts +12 -12
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +7 -3
- package/dist/types/routes/management-api/client-registration-tokens.d.ts +8 -8
- package/dist/types/routes/management-api/clients.d.ts +16 -16
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/failed-events.d.ts +2 -2
- package/dist/types/routes/management-api/forms.d.ts +8 -8
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/index.d.ts +112 -108
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +4 -4
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/self-service-profiles.d.ts +8 -8
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +20 -20
- package/dist/types/routes/saml/index.d.ts +10 -10
- package/dist/types/routes/saml/samlp.d.ts +10 -10
- package/dist/types/routes/universal-login/common.d.ts +2 -0
- package/dist/types/routes/universal-login/continue.d.ts +4 -4
- package/dist/types/routes/universal-login/dark-theme.d.ts +14 -2
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
- package/dist/types/routes/universal-login/index.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +9 -9
- package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-widget-page.d.ts +20 -2
- package/dist/types/routes/universal-login/universal-login-template.d.ts +8 -0
- package/dist/types/state-machines/login-session.d.ts +1 -1
- package/dist/types/strategies/apple.d.ts +1 -1
- package/package.json +7 -7
|
@@ -111,11 +111,18 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
111
111
|
session_transfer_token?: string | undefined;
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
|
-
output: {
|
|
115
|
-
|
|
114
|
+
output: string | {
|
|
115
|
+
access_token: string;
|
|
116
|
+
token_type: string;
|
|
117
|
+
expires_in: number;
|
|
118
|
+
id_token?: string | undefined;
|
|
119
|
+
scope?: string | undefined;
|
|
120
|
+
state?: string | undefined;
|
|
121
|
+
refresh_token?: string | undefined;
|
|
122
|
+
issued_token_type?: string | undefined;
|
|
116
123
|
};
|
|
117
124
|
outputFormat: "json";
|
|
118
|
-
status:
|
|
125
|
+
status: 200;
|
|
119
126
|
} | {
|
|
120
127
|
input: {
|
|
121
128
|
query: {
|
|
@@ -149,18 +156,11 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
149
156
|
session_transfer_token?: string | undefined;
|
|
150
157
|
};
|
|
151
158
|
};
|
|
152
|
-
output:
|
|
153
|
-
|
|
154
|
-
token_type: string;
|
|
155
|
-
expires_in: number;
|
|
156
|
-
id_token?: string | undefined;
|
|
157
|
-
scope?: string | undefined;
|
|
158
|
-
state?: string | undefined;
|
|
159
|
-
refresh_token?: string | undefined;
|
|
160
|
-
issued_token_type?: string | undefined;
|
|
159
|
+
output: {
|
|
160
|
+
message: string;
|
|
161
161
|
};
|
|
162
162
|
outputFormat: "json";
|
|
163
|
-
status:
|
|
163
|
+
status: 400;
|
|
164
164
|
} | {
|
|
165
165
|
input: {
|
|
166
166
|
query: {
|
|
@@ -12,7 +12,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
12
12
|
client_secret?: string | undefined;
|
|
13
13
|
scope?: string | undefined;
|
|
14
14
|
audience?: string | undefined;
|
|
15
|
-
include_qr_code?: boolean | "
|
|
15
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
18
|
json: {
|
|
@@ -20,15 +20,20 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
20
20
|
client_secret?: string | undefined;
|
|
21
21
|
scope?: string | undefined;
|
|
22
22
|
audience?: string | undefined;
|
|
23
|
-
include_qr_code?: boolean | "
|
|
23
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
output: {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
device_code: string;
|
|
28
|
+
user_code: string;
|
|
29
|
+
verification_uri: string;
|
|
30
|
+
verification_uri_complete: string;
|
|
31
|
+
expires_in: number;
|
|
32
|
+
interval: number;
|
|
33
|
+
qr_code?: string | undefined;
|
|
29
34
|
};
|
|
30
35
|
outputFormat: "json";
|
|
31
|
-
status:
|
|
36
|
+
status: 200;
|
|
32
37
|
} | {
|
|
33
38
|
input: {
|
|
34
39
|
form: {
|
|
@@ -36,7 +41,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
36
41
|
client_secret?: string | undefined;
|
|
37
42
|
scope?: string | undefined;
|
|
38
43
|
audience?: string | undefined;
|
|
39
|
-
include_qr_code?: boolean | "
|
|
44
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
40
45
|
};
|
|
41
46
|
} & {
|
|
42
47
|
json: {
|
|
@@ -44,20 +49,15 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
44
49
|
client_secret?: string | undefined;
|
|
45
50
|
scope?: string | undefined;
|
|
46
51
|
audience?: string | undefined;
|
|
47
|
-
include_qr_code?: boolean | "
|
|
52
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
48
53
|
};
|
|
49
54
|
};
|
|
50
55
|
output: {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
verification_uri: string;
|
|
54
|
-
verification_uri_complete: string;
|
|
55
|
-
expires_in: number;
|
|
56
|
-
interval: number;
|
|
57
|
-
qr_code?: string | undefined;
|
|
56
|
+
error: string;
|
|
57
|
+
error_description?: string | undefined;
|
|
58
58
|
};
|
|
59
59
|
outputFormat: "json";
|
|
60
|
-
status:
|
|
60
|
+
status: 400;
|
|
61
61
|
} | {
|
|
62
62
|
input: {
|
|
63
63
|
form: {
|
|
@@ -65,7 +65,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
65
65
|
client_secret?: string | undefined;
|
|
66
66
|
scope?: string | undefined;
|
|
67
67
|
audience?: string | undefined;
|
|
68
|
-
include_qr_code?: boolean | "
|
|
68
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
69
69
|
};
|
|
70
70
|
} & {
|
|
71
71
|
json: {
|
|
@@ -73,7 +73,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
73
73
|
client_secret?: string | undefined;
|
|
74
74
|
scope?: string | undefined;
|
|
75
75
|
audience?: string | undefined;
|
|
76
|
-
include_qr_code?: boolean | "
|
|
76
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
output: {
|
|
@@ -89,7 +89,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
89
89
|
client_secret?: string | undefined;
|
|
90
90
|
scope?: string | undefined;
|
|
91
91
|
audience?: string | undefined;
|
|
92
|
-
include_qr_code?: boolean | "
|
|
92
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
93
93
|
};
|
|
94
94
|
} & {
|
|
95
95
|
json: {
|
|
@@ -97,7 +97,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
97
97
|
client_secret?: string | undefined;
|
|
98
98
|
scope?: string | undefined;
|
|
99
99
|
audience?: string | undefined;
|
|
100
|
-
include_qr_code?: boolean | "
|
|
100
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
output: {
|
|
@@ -123,7 +123,7 @@ export declare const activateRoutes: OpenAPIHono<{
|
|
|
123
123
|
};
|
|
124
124
|
output: {};
|
|
125
125
|
outputFormat: string;
|
|
126
|
-
status:
|
|
126
|
+
status: 302;
|
|
127
127
|
} | {
|
|
128
128
|
input: {
|
|
129
129
|
query: {
|
|
@@ -133,7 +133,7 @@ export declare const activateRoutes: OpenAPIHono<{
|
|
|
133
133
|
};
|
|
134
134
|
output: {};
|
|
135
135
|
outputFormat: string;
|
|
136
|
-
status:
|
|
136
|
+
status: 400;
|
|
137
137
|
};
|
|
138
138
|
};
|
|
139
139
|
}, "/">;
|
|
@@ -627,11 +627,18 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
627
627
|
session_transfer_token?: string | undefined;
|
|
628
628
|
};
|
|
629
629
|
};
|
|
630
|
-
output: {
|
|
631
|
-
|
|
630
|
+
output: string | {
|
|
631
|
+
access_token: string;
|
|
632
|
+
token_type: string;
|
|
633
|
+
expires_in: number;
|
|
634
|
+
id_token?: string | undefined;
|
|
635
|
+
scope?: string | undefined;
|
|
636
|
+
state?: string | undefined;
|
|
637
|
+
refresh_token?: string | undefined;
|
|
638
|
+
issued_token_type?: string | undefined;
|
|
632
639
|
};
|
|
633
640
|
outputFormat: "json";
|
|
634
|
-
status:
|
|
641
|
+
status: 200;
|
|
635
642
|
} | {
|
|
636
643
|
input: {
|
|
637
644
|
query: {
|
|
@@ -665,18 +672,11 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
665
672
|
session_transfer_token?: string | undefined;
|
|
666
673
|
};
|
|
667
674
|
};
|
|
668
|
-
output:
|
|
669
|
-
|
|
670
|
-
token_type: string;
|
|
671
|
-
expires_in: number;
|
|
672
|
-
id_token?: string | undefined;
|
|
673
|
-
scope?: string | undefined;
|
|
674
|
-
state?: string | undefined;
|
|
675
|
-
refresh_token?: string | undefined;
|
|
676
|
-
issued_token_type?: string | undefined;
|
|
675
|
+
output: {
|
|
676
|
+
message: string;
|
|
677
677
|
};
|
|
678
678
|
outputFormat: "json";
|
|
679
|
-
status:
|
|
679
|
+
status: 400;
|
|
680
680
|
} | {
|
|
681
681
|
input: {
|
|
682
682
|
query: {
|
|
@@ -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: "
|
|
799
|
+
send: "link" | "code";
|
|
800
800
|
authParams: {
|
|
801
801
|
scope?: string | undefined;
|
|
802
|
-
|
|
803
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
804
|
-
username?: string | undefined;
|
|
802
|
+
state?: string | undefined;
|
|
805
803
|
audience?: string | undefined;
|
|
804
|
+
username?: string | undefined;
|
|
806
805
|
connection?: string | undefined;
|
|
807
|
-
nonce?: string | undefined;
|
|
808
|
-
state?: string | undefined;
|
|
809
|
-
act_as?: string | undefined;
|
|
810
|
-
redirect_uri?: string | undefined;
|
|
811
|
-
organization?: string | undefined;
|
|
812
806
|
prompt?: string | undefined;
|
|
807
|
+
organization?: string | undefined;
|
|
808
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
809
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
810
|
+
redirect_uri?: string | undefined;
|
|
811
|
+
ui_locales?: string | undefined;
|
|
812
|
+
act_as?: string | undefined;
|
|
813
|
+
nonce?: string | undefined;
|
|
813
814
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
814
815
|
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: "
|
|
836
|
+
send: "link" | "code";
|
|
837
837
|
authParams: {
|
|
838
838
|
scope?: string | undefined;
|
|
839
|
-
|
|
840
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
841
|
-
username?: string | undefined;
|
|
839
|
+
state?: string | undefined;
|
|
842
840
|
audience?: string | undefined;
|
|
841
|
+
username?: string | undefined;
|
|
843
842
|
connection?: string | undefined;
|
|
844
|
-
nonce?: string | undefined;
|
|
845
|
-
state?: string | undefined;
|
|
846
|
-
act_as?: string | undefined;
|
|
847
|
-
redirect_uri?: string | undefined;
|
|
848
|
-
organization?: string | undefined;
|
|
849
843
|
prompt?: string | undefined;
|
|
844
|
+
organization?: string | undefined;
|
|
845
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
846
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
847
|
+
redirect_uri?: string | undefined;
|
|
848
|
+
ui_locales?: string | undefined;
|
|
849
|
+
act_as?: string | undefined;
|
|
850
|
+
nonce?: string | undefined;
|
|
850
851
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
851
852
|
code_challenge?: string | undefined;
|
|
852
|
-
ui_locales?: string | undefined;
|
|
853
853
|
max_age?: number | undefined;
|
|
854
854
|
acr_values?: string | undefined;
|
|
855
855
|
claims?: {
|
|
@@ -1052,7 +1052,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1052
1052
|
};
|
|
1053
1053
|
output: {};
|
|
1054
1054
|
outputFormat: string;
|
|
1055
|
-
status:
|
|
1055
|
+
status: 302;
|
|
1056
1056
|
} | {
|
|
1057
1057
|
input: {
|
|
1058
1058
|
query: {
|
|
@@ -1062,7 +1062,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1062
1062
|
};
|
|
1063
1063
|
output: {};
|
|
1064
1064
|
outputFormat: string;
|
|
1065
|
-
status:
|
|
1065
|
+
status: 400;
|
|
1066
1066
|
};
|
|
1067
1067
|
};
|
|
1068
1068
|
}, "/activate"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -1074,7 +1074,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1074
1074
|
client_secret?: string | undefined;
|
|
1075
1075
|
scope?: string | undefined;
|
|
1076
1076
|
audience?: string | undefined;
|
|
1077
|
-
include_qr_code?: boolean | "
|
|
1077
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1078
1078
|
};
|
|
1079
1079
|
} & {
|
|
1080
1080
|
json: {
|
|
@@ -1082,15 +1082,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1082
1082
|
client_secret?: string | undefined;
|
|
1083
1083
|
scope?: string | undefined;
|
|
1084
1084
|
audience?: string | undefined;
|
|
1085
|
-
include_qr_code?: boolean | "
|
|
1085
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1086
1086
|
};
|
|
1087
1087
|
};
|
|
1088
1088
|
output: {
|
|
1089
|
-
|
|
1090
|
-
|
|
1089
|
+
device_code: string;
|
|
1090
|
+
user_code: string;
|
|
1091
|
+
verification_uri: string;
|
|
1092
|
+
verification_uri_complete: string;
|
|
1093
|
+
expires_in: number;
|
|
1094
|
+
interval: number;
|
|
1095
|
+
qr_code?: string | undefined;
|
|
1091
1096
|
};
|
|
1092
1097
|
outputFormat: "json";
|
|
1093
|
-
status:
|
|
1098
|
+
status: 200;
|
|
1094
1099
|
} | {
|
|
1095
1100
|
input: {
|
|
1096
1101
|
form: {
|
|
@@ -1098,7 +1103,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1098
1103
|
client_secret?: string | undefined;
|
|
1099
1104
|
scope?: string | undefined;
|
|
1100
1105
|
audience?: string | undefined;
|
|
1101
|
-
include_qr_code?: boolean | "
|
|
1106
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1102
1107
|
};
|
|
1103
1108
|
} & {
|
|
1104
1109
|
json: {
|
|
@@ -1106,20 +1111,15 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1106
1111
|
client_secret?: string | undefined;
|
|
1107
1112
|
scope?: string | undefined;
|
|
1108
1113
|
audience?: string | undefined;
|
|
1109
|
-
include_qr_code?: boolean | "
|
|
1114
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1110
1115
|
};
|
|
1111
1116
|
};
|
|
1112
1117
|
output: {
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
verification_uri: string;
|
|
1116
|
-
verification_uri_complete: string;
|
|
1117
|
-
expires_in: number;
|
|
1118
|
-
interval: number;
|
|
1119
|
-
qr_code?: string | undefined;
|
|
1118
|
+
error: string;
|
|
1119
|
+
error_description?: string | undefined;
|
|
1120
1120
|
};
|
|
1121
1121
|
outputFormat: "json";
|
|
1122
|
-
status:
|
|
1122
|
+
status: 400;
|
|
1123
1123
|
} | {
|
|
1124
1124
|
input: {
|
|
1125
1125
|
form: {
|
|
@@ -1127,7 +1127,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1127
1127
|
client_secret?: string | undefined;
|
|
1128
1128
|
scope?: string | undefined;
|
|
1129
1129
|
audience?: string | undefined;
|
|
1130
|
-
include_qr_code?: boolean | "
|
|
1130
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1131
1131
|
};
|
|
1132
1132
|
} & {
|
|
1133
1133
|
json: {
|
|
@@ -1135,7 +1135,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1135
1135
|
client_secret?: string | undefined;
|
|
1136
1136
|
scope?: string | undefined;
|
|
1137
1137
|
audience?: string | undefined;
|
|
1138
|
-
include_qr_code?: boolean | "
|
|
1138
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1139
1139
|
};
|
|
1140
1140
|
};
|
|
1141
1141
|
output: {
|
|
@@ -1151,7 +1151,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1151
1151
|
client_secret?: string | undefined;
|
|
1152
1152
|
scope?: string | undefined;
|
|
1153
1153
|
audience?: string | undefined;
|
|
1154
|
-
include_qr_code?: boolean | "
|
|
1154
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1155
1155
|
};
|
|
1156
1156
|
} & {
|
|
1157
1157
|
json: {
|
|
@@ -1159,7 +1159,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1159
1159
|
client_secret?: string | undefined;
|
|
1160
1160
|
scope?: string | undefined;
|
|
1161
1161
|
audience?: string | undefined;
|
|
1162
|
-
include_qr_code?: boolean | "
|
|
1162
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1163
1163
|
};
|
|
1164
1164
|
};
|
|
1165
1165
|
output: {
|
|
@@ -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: "
|
|
1218
|
+
realm: "sms" | "email";
|
|
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: "
|
|
1286
|
+
realm: "sms" | "email";
|
|
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: "
|
|
1359
|
+
realm: "sms" | "email";
|
|
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: "
|
|
1427
|
+
realm: "sms" | "email";
|
|
1428
1428
|
scope?: string | undefined;
|
|
1429
1429
|
audience?: string | undefined;
|
|
1430
1430
|
} | {
|
|
@@ -1452,11 +1452,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1452
1452
|
};
|
|
1453
1453
|
};
|
|
1454
1454
|
output: {
|
|
1455
|
-
|
|
1456
|
-
|
|
1455
|
+
access_token: string;
|
|
1456
|
+
token_type: string;
|
|
1457
|
+
expires_in: number;
|
|
1458
|
+
id_token?: string | undefined;
|
|
1459
|
+
scope?: string | undefined;
|
|
1460
|
+
state?: string | undefined;
|
|
1461
|
+
refresh_token?: string | undefined;
|
|
1462
|
+
issued_token_type?: string | undefined;
|
|
1457
1463
|
};
|
|
1458
1464
|
outputFormat: "json";
|
|
1459
|
-
status:
|
|
1465
|
+
status: 200;
|
|
1460
1466
|
} | {
|
|
1461
1467
|
input: {
|
|
1462
1468
|
form: {
|
|
@@ -1500,7 +1506,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1500
1506
|
client_id: string;
|
|
1501
1507
|
username: string;
|
|
1502
1508
|
otp: string;
|
|
1503
|
-
realm: "
|
|
1509
|
+
realm: "sms" | "email";
|
|
1504
1510
|
scope?: string | undefined;
|
|
1505
1511
|
audience?: string | undefined;
|
|
1506
1512
|
} | {
|
|
@@ -1568,7 +1574,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1568
1574
|
client_id: string;
|
|
1569
1575
|
username: string;
|
|
1570
1576
|
otp: string;
|
|
1571
|
-
realm: "
|
|
1577
|
+
realm: "sms" | "email";
|
|
1572
1578
|
scope?: string | undefined;
|
|
1573
1579
|
audience?: string | undefined;
|
|
1574
1580
|
} | {
|
|
@@ -1596,17 +1602,11 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1596
1602
|
};
|
|
1597
1603
|
};
|
|
1598
1604
|
output: {
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
expires_in: number;
|
|
1602
|
-
id_token?: string | undefined;
|
|
1603
|
-
scope?: string | undefined;
|
|
1604
|
-
state?: string | undefined;
|
|
1605
|
-
refresh_token?: string | undefined;
|
|
1606
|
-
issued_token_type?: string | undefined;
|
|
1605
|
+
error: string;
|
|
1606
|
+
error_description?: string | undefined;
|
|
1607
1607
|
};
|
|
1608
1608
|
outputFormat: "json";
|
|
1609
|
-
status:
|
|
1609
|
+
status: 400;
|
|
1610
1610
|
} | {
|
|
1611
1611
|
input: {
|
|
1612
1612
|
form: {
|
|
@@ -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: "
|
|
1653
|
+
realm: "sms" | "email";
|
|
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: "
|
|
1721
|
+
realm: "sms" | "email";
|
|
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: "
|
|
1797
|
+
realm: "sms" | "email";
|
|
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: "
|
|
1865
|
+
realm: "sms" | "email";
|
|
1866
1866
|
scope?: string | undefined;
|
|
1867
1867
|
audience?: string | undefined;
|
|
1868
1868
|
} | {
|
|
@@ -2100,7 +2100,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2100
2100
|
};
|
|
2101
2101
|
output: {};
|
|
2102
2102
|
outputFormat: string;
|
|
2103
|
-
status:
|
|
2103
|
+
status: 200;
|
|
2104
2104
|
} | {
|
|
2105
2105
|
input: {
|
|
2106
2106
|
query: {
|
|
@@ -2114,7 +2114,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2114
2114
|
};
|
|
2115
2115
|
output: {};
|
|
2116
2116
|
outputFormat: string;
|
|
2117
|
-
status:
|
|
2117
|
+
status: 302;
|
|
2118
2118
|
} | {
|
|
2119
2119
|
input: {
|
|
2120
2120
|
query: {
|
|
@@ -2128,7 +2128,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2128
2128
|
};
|
|
2129
2129
|
output: {};
|
|
2130
2130
|
outputFormat: string;
|
|
2131
|
-
status:
|
|
2131
|
+
status: 400;
|
|
2132
2132
|
};
|
|
2133
2133
|
};
|
|
2134
2134
|
}, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -2142,7 +2142,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2142
2142
|
};
|
|
2143
2143
|
output: {};
|
|
2144
2144
|
outputFormat: string;
|
|
2145
|
-
status:
|
|
2145
|
+
status: 302;
|
|
2146
2146
|
} | {
|
|
2147
2147
|
input: {
|
|
2148
2148
|
query: {
|
|
@@ -2152,7 +2152,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2152
2152
|
};
|
|
2153
2153
|
output: {};
|
|
2154
2154
|
outputFormat: string;
|
|
2155
|
-
status:
|
|
2155
|
+
status: 400;
|
|
2156
2156
|
};
|
|
2157
2157
|
};
|
|
2158
2158
|
}, "/v2/logout">, "/">;
|
|
@@ -14,7 +14,7 @@ export declare const logoutRoutes: OpenAPIHono<{
|
|
|
14
14
|
};
|
|
15
15
|
output: {};
|
|
16
16
|
outputFormat: string;
|
|
17
|
-
status:
|
|
17
|
+
status: 302;
|
|
18
18
|
} | {
|
|
19
19
|
input: {
|
|
20
20
|
query: {
|
|
@@ -24,7 +24,7 @@ export declare const logoutRoutes: OpenAPIHono<{
|
|
|
24
24
|
};
|
|
25
25
|
output: {};
|
|
26
26
|
outputFormat: string;
|
|
27
|
-
status:
|
|
27
|
+
status: 400;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
}, "/">;
|
|
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
18
18
|
};
|
|
19
19
|
output: {};
|
|
20
20
|
outputFormat: string;
|
|
21
|
-
status:
|
|
21
|
+
status: 200;
|
|
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:
|
|
35
|
+
status: 302;
|
|
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:
|
|
49
|
+
status: 400;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
}, "/">;
|
|
@@ -15,16 +15,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
17
|
scope?: string | undefined;
|
|
18
|
-
|
|
19
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
18
|
+
state?: string | undefined;
|
|
20
19
|
username?: string | undefined;
|
|
21
|
-
audience?: string | undefined;
|
|
22
20
|
connection?: string | undefined;
|
|
23
|
-
nonce?: string | undefined;
|
|
24
|
-
state?: string | undefined;
|
|
25
21
|
act_as?: string | undefined;
|
|
22
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
23
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
26
24
|
redirect_uri?: string | undefined;
|
|
25
|
+
audience?: string | undefined;
|
|
27
26
|
organization?: string | undefined;
|
|
27
|
+
nonce?: string | undefined;
|
|
28
28
|
prompt?: string | undefined;
|
|
29
29
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
30
30
|
code_challenge?: string | undefined;
|
|
@@ -52,16 +52,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
52
52
|
send: "code" | "link";
|
|
53
53
|
authParams: {
|
|
54
54
|
scope?: string | undefined;
|
|
55
|
-
|
|
56
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
55
|
+
state?: string | undefined;
|
|
57
56
|
username?: string | undefined;
|
|
58
|
-
audience?: string | undefined;
|
|
59
57
|
connection?: string | undefined;
|
|
60
|
-
nonce?: string | undefined;
|
|
61
|
-
state?: string | undefined;
|
|
62
58
|
act_as?: string | undefined;
|
|
59
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
60
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
63
61
|
redirect_uri?: string | undefined;
|
|
62
|
+
audience?: string | undefined;
|
|
64
63
|
organization?: string | undefined;
|
|
64
|
+
nonce?: string | undefined;
|
|
65
65
|
prompt?: string | undefined;
|
|
66
66
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
67
67
|
code_challenge?: string | undefined;
|