authhero 5.17.0 → 5.18.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.
- package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/p-35c8b265.entry.js +1 -0
- package/dist/authhero.cjs +118 -122
- package/dist/authhero.d.ts +111 -85
- package/dist/authhero.mjs +8804 -8712
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +4 -4
- package/dist/types/emails/defaults/Layout.d.ts +4 -4
- package/dist/types/emails/defaults/PrimaryButton.d.ts +6 -3
- package/dist/types/emails/defaults/ResetEmail.d.ts +1 -1
- package/dist/types/emails/defaults/ResetEmailByCode.d.ts +1 -1
- package/dist/types/emails/defaults/UserInvitation.d.ts +1 -1
- package/dist/types/emails/defaults/VerifyEmail.d.ts +1 -1
- package/dist/types/emails/defaults/VerifyEmailByCode.d.ts +1 -1
- package/dist/types/emails/defaults/WelcomeEmail.d.ts +1 -1
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/index.d.ts +101 -84
- package/dist/types/middlewares/index.d.ts +3 -0
- package/dist/types/middlewares/prefer.d.ts +12 -0
- package/dist/types/routes/auth-api/index.d.ts +18 -18
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +9 -9
- package/dist/types/routes/management-api/connections.d.ts +5 -5
- package/dist/types/routes/management-api/custom-domains.d.ts +8 -8
- package/dist/types/routes/management-api/email-templates.d.ts +31 -14
- package/dist/types/routes/management-api/index.d.ts +75 -58
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/themes.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +10 -10
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/types/Hooks.d.ts +1 -1
- package/dist/types/types/IdToken.d.ts +1 -1
- package/dist/types/types/Variables.d.ts +2 -0
- package/package.json +6 -6
- package/dist/assets/u/widget/p-f0f9eca3.entry.js +0 -1
|
@@ -2,5 +2,8 @@ export { applyConfigMiddleware } from "./apply-config";
|
|
|
2
2
|
export { createAuthMiddleware } from "./authentication";
|
|
3
3
|
export { clientInfoMiddleware } from "./client-info";
|
|
4
4
|
export { outboxMiddleware } from "./outbox";
|
|
5
|
+
export { preferMiddleware } from "./prefer";
|
|
6
|
+
export type { PreferState, PreferToken } from "./prefer";
|
|
7
|
+
export { PREFER_TOKENS } from "./prefer";
|
|
5
8
|
export { registerComponent } from "./register-component";
|
|
6
9
|
export { tenantMiddleware } from "./tenant";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MiddlewareHandler } from "hono";
|
|
2
|
+
import { Variables } from "../types/Variables";
|
|
3
|
+
export declare const PREFER_TOKENS: readonly ["include-linked"];
|
|
4
|
+
export type PreferToken = (typeof PREFER_TOKENS)[number];
|
|
5
|
+
export interface PreferState {
|
|
6
|
+
has(token: PreferToken): boolean;
|
|
7
|
+
applied(token: PreferToken): void;
|
|
8
|
+
appliedTokens(): PreferToken[];
|
|
9
|
+
}
|
|
10
|
+
export declare const preferMiddleware: MiddlewareHandler<{
|
|
11
|
+
Variables: Variables;
|
|
12
|
+
}>;
|
|
@@ -288,7 +288,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
288
288
|
scope?: string | undefined;
|
|
289
289
|
grant_types?: string[] | undefined;
|
|
290
290
|
response_types?: string[] | undefined;
|
|
291
|
-
token_endpoint_auth_method?: "
|
|
291
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
292
292
|
jwks_uri?: string | undefined;
|
|
293
293
|
jwks?: Record<string, unknown> | undefined;
|
|
294
294
|
software_id?: string | undefined;
|
|
@@ -377,7 +377,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
377
377
|
scope?: string | undefined;
|
|
378
378
|
grant_types?: string[] | undefined;
|
|
379
379
|
response_types?: string[] | undefined;
|
|
380
|
-
token_endpoint_auth_method?: "
|
|
380
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
381
381
|
jwks_uri?: string | undefined;
|
|
382
382
|
jwks?: Record<string, unknown> | undefined;
|
|
383
383
|
software_id?: string | undefined;
|
|
@@ -723,19 +723,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
723
|
email: string;
|
|
724
724
|
send: "code" | "link";
|
|
725
725
|
authParams: {
|
|
726
|
+
username?: string | undefined;
|
|
726
727
|
state?: string | undefined;
|
|
728
|
+
audience?: string | undefined;
|
|
729
|
+
scope?: string | undefined;
|
|
727
730
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
728
731
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
729
|
-
scope?: string | undefined;
|
|
730
|
-
username?: string | undefined;
|
|
731
|
-
audience?: string | undefined;
|
|
732
|
-
prompt?: string | undefined;
|
|
733
|
-
code_challenge?: string | undefined;
|
|
734
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
735
|
-
redirect_uri?: string | undefined;
|
|
736
|
-
nonce?: string | undefined;
|
|
737
732
|
act_as?: string | undefined;
|
|
733
|
+
redirect_uri?: string | undefined;
|
|
738
734
|
organization?: string | undefined;
|
|
735
|
+
nonce?: string | undefined;
|
|
736
|
+
prompt?: string | undefined;
|
|
737
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
738
|
+
code_challenge?: string | undefined;
|
|
739
739
|
ui_locales?: string | undefined;
|
|
740
740
|
max_age?: number | undefined;
|
|
741
741
|
acr_values?: string | undefined;
|
|
@@ -759,19 +759,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
759
759
|
phone_number: string;
|
|
760
760
|
send: "code" | "link";
|
|
761
761
|
authParams: {
|
|
762
|
+
username?: string | undefined;
|
|
762
763
|
state?: string | undefined;
|
|
764
|
+
audience?: string | undefined;
|
|
765
|
+
scope?: string | undefined;
|
|
763
766
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
764
767
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
765
|
-
scope?: string | undefined;
|
|
766
|
-
username?: string | undefined;
|
|
767
|
-
audience?: string | undefined;
|
|
768
|
-
prompt?: string | undefined;
|
|
769
|
-
code_challenge?: string | undefined;
|
|
770
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
771
|
-
redirect_uri?: string | undefined;
|
|
772
|
-
nonce?: string | undefined;
|
|
773
768
|
act_as?: string | undefined;
|
|
769
|
+
redirect_uri?: string | undefined;
|
|
774
770
|
organization?: string | undefined;
|
|
771
|
+
nonce?: string | undefined;
|
|
772
|
+
prompt?: string | undefined;
|
|
773
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
774
|
+
code_challenge?: string | undefined;
|
|
775
775
|
ui_locales?: string | undefined;
|
|
776
776
|
max_age?: number | undefined;
|
|
777
777
|
acr_values?: string | undefined;
|
|
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
username?: string | undefined;
|
|
17
18
|
state?: string | undefined;
|
|
19
|
+
audience?: string | undefined;
|
|
20
|
+
scope?: string | undefined;
|
|
18
21
|
response_type?: AuthorizationResponseType | undefined;
|
|
19
22
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
20
|
-
scope?: string | undefined;
|
|
21
|
-
username?: string | undefined;
|
|
22
|
-
audience?: string | undefined;
|
|
23
|
-
prompt?: string | undefined;
|
|
24
|
-
code_challenge?: string | undefined;
|
|
25
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
26
|
-
redirect_uri?: string | undefined;
|
|
27
|
-
nonce?: string | undefined;
|
|
28
23
|
act_as?: string | undefined;
|
|
24
|
+
redirect_uri?: string | undefined;
|
|
29
25
|
organization?: string | undefined;
|
|
26
|
+
nonce?: string | undefined;
|
|
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;
|
|
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
username?: string | undefined;
|
|
53
54
|
state?: string | undefined;
|
|
55
|
+
audience?: string | undefined;
|
|
56
|
+
scope?: string | undefined;
|
|
54
57
|
response_type?: AuthorizationResponseType | undefined;
|
|
55
58
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
56
|
-
scope?: string | undefined;
|
|
57
|
-
username?: string | undefined;
|
|
58
|
-
audience?: string | undefined;
|
|
59
|
-
prompt?: string | undefined;
|
|
60
|
-
code_challenge?: string | undefined;
|
|
61
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
62
|
-
redirect_uri?: string | undefined;
|
|
63
|
-
nonce?: string | undefined;
|
|
64
59
|
act_as?: string | undefined;
|
|
60
|
+
redirect_uri?: string | undefined;
|
|
65
61
|
organization?: string | undefined;
|
|
62
|
+
nonce?: string | undefined;
|
|
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?: "
|
|
21
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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?: "
|
|
110
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
111
111
|
jwks_uri?: string | undefined;
|
|
112
112
|
jwks?: Record<string, unknown> | undefined;
|
|
113
113
|
software_id?: string | undefined;
|
|
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
661
661
|
args: import("hono/utils/types").JSONValue[];
|
|
662
662
|
}[];
|
|
663
663
|
logs: {
|
|
664
|
-
level: "
|
|
664
|
+
level: "log" | "error" | "info" | "warn" | "debug";
|
|
665
665
|
message: string;
|
|
666
666
|
}[];
|
|
667
667
|
error?: string | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
27
27
|
base_focus_color: string;
|
|
28
28
|
base_hover_color: string;
|
|
29
29
|
body_text: string;
|
|
30
|
-
captcha_widget_theme: "
|
|
30
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
31
31
|
error: string;
|
|
32
32
|
header: string;
|
|
33
33
|
icons: string;
|
|
@@ -78,7 +78,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
78
78
|
background_color: string;
|
|
79
79
|
background_image_url: string;
|
|
80
80
|
page_layout: "center" | "left" | "right";
|
|
81
|
-
logo_placement?: "
|
|
81
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
82
82
|
};
|
|
83
83
|
widget: {
|
|
84
84
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -117,7 +117,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
117
117
|
base_focus_color: string;
|
|
118
118
|
base_hover_color: string;
|
|
119
119
|
body_text: string;
|
|
120
|
-
captcha_widget_theme: "
|
|
120
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
121
121
|
error: string;
|
|
122
122
|
header: string;
|
|
123
123
|
icons: string;
|
|
@@ -168,7 +168,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
168
168
|
background_color: string;
|
|
169
169
|
background_image_url: string;
|
|
170
170
|
page_layout: "center" | "left" | "right";
|
|
171
|
-
logo_placement?: "
|
|
171
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
172
172
|
};
|
|
173
173
|
widget: {
|
|
174
174
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -196,7 +196,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
196
196
|
base_focus_color: string;
|
|
197
197
|
base_hover_color: string;
|
|
198
198
|
body_text: string;
|
|
199
|
-
captcha_widget_theme: "
|
|
199
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
200
200
|
error: string;
|
|
201
201
|
header: string;
|
|
202
202
|
icons: string;
|
|
@@ -247,7 +247,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
247
247
|
background_color: string;
|
|
248
248
|
background_image_url: string;
|
|
249
249
|
page_layout: "center" | "left" | "right";
|
|
250
|
-
logo_placement?: "
|
|
250
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
251
251
|
};
|
|
252
252
|
widget: {
|
|
253
253
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -286,7 +286,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
286
286
|
font?: {
|
|
287
287
|
url: string;
|
|
288
288
|
} | undefined;
|
|
289
|
-
dark_mode?: "
|
|
289
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
290
290
|
};
|
|
291
291
|
outputFormat: "json";
|
|
292
292
|
status: 200;
|
|
@@ -316,7 +316,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
316
316
|
font?: {
|
|
317
317
|
url: string;
|
|
318
318
|
} | undefined;
|
|
319
|
-
dark_mode?: "
|
|
319
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
320
320
|
};
|
|
321
321
|
};
|
|
322
322
|
output: {
|
|
@@ -335,7 +335,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
335
335
|
font?: {
|
|
336
336
|
url: string;
|
|
337
337
|
} | undefined;
|
|
338
|
-
dark_mode?: "
|
|
338
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
339
339
|
};
|
|
340
340
|
outputFormat: "json";
|
|
341
341
|
status: 200;
|
|
@@ -72,7 +72,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
72
72
|
addons?: {
|
|
73
73
|
[x: string]: any;
|
|
74
74
|
} | undefined;
|
|
75
|
-
token_endpoint_auth_method?: "
|
|
75
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
76
76
|
client_metadata?: {
|
|
77
77
|
[x: string]: string;
|
|
78
78
|
} | undefined;
|
|
@@ -168,7 +168,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
168
168
|
addons?: {
|
|
169
169
|
[x: string]: any;
|
|
170
170
|
} | undefined;
|
|
171
|
-
token_endpoint_auth_method?: "
|
|
171
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
172
172
|
client_metadata?: {
|
|
173
173
|
[x: string]: string;
|
|
174
174
|
} | undefined;
|
|
@@ -279,7 +279,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
279
279
|
addons?: {
|
|
280
280
|
[x: string]: any;
|
|
281
281
|
} | undefined;
|
|
282
|
-
token_endpoint_auth_method?: "
|
|
282
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
283
283
|
client_metadata?: {
|
|
284
284
|
[x: string]: string;
|
|
285
285
|
} | undefined;
|
|
@@ -389,7 +389,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
389
389
|
custom_login_page_preview?: string | undefined;
|
|
390
390
|
form_template?: string | undefined;
|
|
391
391
|
addons?: Record<string, any> | undefined;
|
|
392
|
-
token_endpoint_auth_method?: "
|
|
392
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
393
393
|
client_metadata?: Record<string, string> | undefined;
|
|
394
394
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
395
395
|
mobile?: Record<string, any> | undefined;
|
|
@@ -469,7 +469,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
469
469
|
addons?: {
|
|
470
470
|
[x: string]: any;
|
|
471
471
|
} | undefined;
|
|
472
|
-
token_endpoint_auth_method?: "
|
|
472
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
473
473
|
client_metadata?: {
|
|
474
474
|
[x: string]: string;
|
|
475
475
|
} | undefined;
|
|
@@ -558,7 +558,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
558
558
|
custom_login_page_preview?: string | undefined;
|
|
559
559
|
form_template?: string | undefined;
|
|
560
560
|
addons?: Record<string, any> | undefined;
|
|
561
|
-
token_endpoint_auth_method?: "
|
|
561
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
562
562
|
client_metadata?: Record<string, string> | undefined;
|
|
563
563
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
564
564
|
mobile?: Record<string, any> | undefined;
|
|
@@ -638,7 +638,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
638
638
|
addons?: {
|
|
639
639
|
[x: string]: any;
|
|
640
640
|
} | undefined;
|
|
641
|
-
token_endpoint_auth_method?: "
|
|
641
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
642
642
|
client_metadata?: {
|
|
643
643
|
[x: string]: string;
|
|
644
644
|
} | undefined;
|
|
@@ -807,7 +807,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
807
807
|
} | undefined;
|
|
808
808
|
} | undefined;
|
|
809
809
|
passkey_options?: {
|
|
810
|
-
challenge_ui?: "
|
|
810
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
811
811
|
local_enrollment_enabled?: boolean | undefined;
|
|
812
812
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
813
813
|
} | undefined;
|
|
@@ -961,7 +961,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
961
961
|
} | undefined;
|
|
962
962
|
} | undefined;
|
|
963
963
|
passkey_options?: {
|
|
964
|
-
challenge_ui?: "
|
|
964
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
965
965
|
local_enrollment_enabled?: boolean | undefined;
|
|
966
966
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
967
967
|
} | undefined;
|
|
@@ -129,7 +129,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
129
129
|
} | undefined;
|
|
130
130
|
} | undefined;
|
|
131
131
|
passkey_options?: {
|
|
132
|
-
challenge_ui?: "
|
|
132
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
133
133
|
local_enrollment_enabled?: boolean | undefined;
|
|
134
134
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
135
135
|
} | undefined;
|
|
@@ -263,7 +263,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
263
263
|
} | undefined;
|
|
264
264
|
} | undefined;
|
|
265
265
|
passkey_options?: {
|
|
266
|
-
challenge_ui?: "
|
|
266
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
267
267
|
local_enrollment_enabled?: boolean | undefined;
|
|
268
268
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
269
269
|
} | undefined;
|
|
@@ -412,7 +412,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
412
412
|
} | undefined;
|
|
413
413
|
} | undefined;
|
|
414
414
|
passkey_options?: {
|
|
415
|
-
challenge_ui?: "
|
|
415
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
416
416
|
local_enrollment_enabled?: boolean | undefined;
|
|
417
417
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
418
418
|
} | undefined;
|
|
@@ -591,7 +591,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
591
591
|
} | undefined;
|
|
592
592
|
} | undefined;
|
|
593
593
|
passkey_options?: {
|
|
594
|
-
challenge_ui?: "
|
|
594
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
595
595
|
local_enrollment_enabled?: boolean | undefined;
|
|
596
596
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
597
597
|
} | undefined;
|
|
@@ -749,7 +749,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
749
749
|
} | undefined;
|
|
750
750
|
} | undefined;
|
|
751
751
|
passkey_options?: {
|
|
752
|
-
challenge_ui?: "
|
|
752
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
753
753
|
local_enrollment_enabled?: boolean | undefined;
|
|
754
754
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
755
755
|
} | undefined;
|
|
@@ -30,7 +30,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
30
30
|
primary: boolean;
|
|
31
31
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
32
32
|
verification_method?: "txt" | undefined;
|
|
33
|
-
custom_client_ip_header?: "null" | "
|
|
33
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
34
34
|
domain_metadata?: {
|
|
35
35
|
[x: string]: string;
|
|
36
36
|
} | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
71
71
|
primary: boolean;
|
|
72
72
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
73
73
|
verification_method?: "txt" | undefined;
|
|
74
|
-
custom_client_ip_header?: "null" | "
|
|
74
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
75
75
|
domain_metadata?: {
|
|
76
76
|
[x: string]: string;
|
|
77
77
|
} | undefined;
|
|
@@ -126,7 +126,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
126
126
|
domain?: string | undefined;
|
|
127
127
|
type?: "auth0_managed_certs" | "self_managed_certs" | undefined;
|
|
128
128
|
verification_method?: "txt" | undefined;
|
|
129
|
-
custom_client_ip_header?: "null" | "
|
|
129
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
130
130
|
domain_metadata?: Record<string, string> | undefined;
|
|
131
131
|
custom_domain_id?: string | undefined;
|
|
132
132
|
primary?: boolean | undefined;
|
|
@@ -153,7 +153,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
153
153
|
primary: boolean;
|
|
154
154
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
155
155
|
verification_method?: "txt" | undefined;
|
|
156
|
-
custom_client_ip_header?: "null" | "
|
|
156
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
157
157
|
domain_metadata?: {
|
|
158
158
|
[x: string]: string;
|
|
159
159
|
} | undefined;
|
|
@@ -189,7 +189,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
189
189
|
custom_domain_id?: string | undefined;
|
|
190
190
|
verification_method?: "txt" | undefined;
|
|
191
191
|
tls_policy?: "recommended" | undefined;
|
|
192
|
-
custom_client_ip_header?: "null" | "
|
|
192
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
193
193
|
domain_metadata?: Record<string, string> | undefined;
|
|
194
194
|
};
|
|
195
195
|
};
|
|
@@ -200,7 +200,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
200
200
|
primary: boolean;
|
|
201
201
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
202
202
|
verification_method?: "txt" | undefined;
|
|
203
|
-
custom_client_ip_header?: "null" | "
|
|
203
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
204
204
|
domain_metadata?: {
|
|
205
205
|
[x: string]: string;
|
|
206
206
|
} | undefined;
|
|
@@ -246,7 +246,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
246
246
|
primary: boolean;
|
|
247
247
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
248
248
|
verification_method?: "txt" | undefined;
|
|
249
|
-
custom_client_ip_header?: "null" | "
|
|
249
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
250
250
|
domain_metadata?: {
|
|
251
251
|
[x: string]: string;
|
|
252
252
|
} | undefined;
|
|
@@ -287,7 +287,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
287
287
|
primary: boolean;
|
|
288
288
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
289
289
|
verification_method?: "txt" | undefined;
|
|
290
|
-
custom_client_ip_header?: "null" | "
|
|
290
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
291
291
|
domain_metadata?: {
|
|
292
292
|
[x: string]: string;
|
|
293
293
|
} | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
json: {
|
|
15
|
-
template: "
|
|
15
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
16
16
|
body: string;
|
|
17
17
|
from: string;
|
|
18
18
|
subject: string;
|
|
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
33
33
|
};
|
|
34
34
|
} & {
|
|
35
35
|
json: {
|
|
36
|
-
template: "
|
|
36
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
37
37
|
body: string;
|
|
38
38
|
from: string;
|
|
39
39
|
subject: string;
|
|
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
output: {
|
|
48
|
-
template: "
|
|
48
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
49
49
|
body: string;
|
|
50
50
|
from: string;
|
|
51
51
|
subject: string;
|
|
@@ -59,12 +59,29 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
59
59
|
status: 201;
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
|
+
} & {
|
|
63
|
+
"/defaults": {
|
|
64
|
+
$get: {
|
|
65
|
+
input: {
|
|
66
|
+
header: {
|
|
67
|
+
"tenant-id"?: string | undefined;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
output: {
|
|
71
|
+
name: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
72
|
+
body: string;
|
|
73
|
+
subject: string;
|
|
74
|
+
}[];
|
|
75
|
+
outputFormat: "json";
|
|
76
|
+
status: 200;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
62
79
|
} & {
|
|
63
80
|
"/:templateName": {
|
|
64
81
|
$get: {
|
|
65
82
|
input: {
|
|
66
83
|
param: {
|
|
67
|
-
templateName: "
|
|
84
|
+
templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
68
85
|
};
|
|
69
86
|
} & {
|
|
70
87
|
header: {
|
|
@@ -77,7 +94,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
77
94
|
} | {
|
|
78
95
|
input: {
|
|
79
96
|
param: {
|
|
80
|
-
templateName: "
|
|
97
|
+
templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
81
98
|
};
|
|
82
99
|
} & {
|
|
83
100
|
header: {
|
|
@@ -85,7 +102,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
85
102
|
};
|
|
86
103
|
};
|
|
87
104
|
output: {
|
|
88
|
-
template: "
|
|
105
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
89
106
|
body: string;
|
|
90
107
|
from: string;
|
|
91
108
|
subject: string;
|
|
@@ -104,7 +121,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
104
121
|
$put: {
|
|
105
122
|
input: {
|
|
106
123
|
param: {
|
|
107
|
-
templateName: "
|
|
124
|
+
templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
108
125
|
};
|
|
109
126
|
} & {
|
|
110
127
|
header: {
|
|
@@ -112,7 +129,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
112
129
|
};
|
|
113
130
|
} & {
|
|
114
131
|
json: {
|
|
115
|
-
template: "
|
|
132
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
116
133
|
body: string;
|
|
117
134
|
from: string;
|
|
118
135
|
subject: string;
|
|
@@ -124,7 +141,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
124
141
|
};
|
|
125
142
|
};
|
|
126
143
|
output: {
|
|
127
|
-
template: "
|
|
144
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
128
145
|
body: string;
|
|
129
146
|
from: string;
|
|
130
147
|
subject: string;
|
|
@@ -143,7 +160,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
143
160
|
$patch: {
|
|
144
161
|
input: {
|
|
145
162
|
param: {
|
|
146
|
-
templateName: "
|
|
163
|
+
templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
147
164
|
};
|
|
148
165
|
} & {
|
|
149
166
|
header: {
|
|
@@ -151,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
151
168
|
};
|
|
152
169
|
} & {
|
|
153
170
|
json: {
|
|
154
|
-
template?: "
|
|
171
|
+
template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
155
172
|
body?: string | undefined;
|
|
156
173
|
from?: string | undefined;
|
|
157
174
|
subject?: string | undefined;
|
|
@@ -168,7 +185,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
168
185
|
} | {
|
|
169
186
|
input: {
|
|
170
187
|
param: {
|
|
171
|
-
templateName: "
|
|
188
|
+
templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
172
189
|
};
|
|
173
190
|
} & {
|
|
174
191
|
header: {
|
|
@@ -176,7 +193,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
176
193
|
};
|
|
177
194
|
} & {
|
|
178
195
|
json: {
|
|
179
|
-
template?: "
|
|
196
|
+
template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
180
197
|
body?: string | undefined;
|
|
181
198
|
from?: string | undefined;
|
|
182
199
|
subject?: string | undefined;
|
|
@@ -188,7 +205,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
188
205
|
};
|
|
189
206
|
};
|
|
190
207
|
output: {
|
|
191
|
-
template: "
|
|
208
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
192
209
|
body: string;
|
|
193
210
|
from: string;
|
|
194
211
|
subject: string;
|