authhero 9.30.0 → 9.31.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/index.esm.js +1 -1
- package/dist/authhero.cjs +72 -72
- package/dist/authhero.d.ts +515 -468
- package/dist/authhero.mjs +11032 -10730
- package/dist/mfa-attempts-DXiY4U74.js +275 -0
- package/dist/{mfa-attempts-CQiD6hxP.mjs → mfa-attempts-Dl3I8pop.mjs} +1695 -1684
- package/dist/{passkey-enrollment-D_WVyvv2.js → passkey-enrollment-2Toeaevy.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +5 -5
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/hooks/lifecycle-codehooks.d.ts +22 -0
- package/dist/types/hooks/pre-account-action.d.ts +65 -0
- package/dist/types/index.d.ts +459 -459
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- 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/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/action-triggers.d.ts +27 -27
- package/dist/types/routes/management-api/actions.d.ts +14 -14
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +5 -5
- package/dist/types/routes/management-api/clients.d.ts +4 -4
- package/dist/types/routes/management-api/connections.d.ts +14 -14
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/emails.d.ts +6 -6
- package/dist/types/routes/management-api/failed-events.d.ts +2 -2
- package/dist/types/routes/management-api/flows.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/hooks.d.ts +56 -56
- package/dist/types/routes/management-api/index.d.ts +229 -229
- package/dist/types/routes/management-api/jobs.d.ts +2 -2
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/tenant-members.d.ts +8 -8
- package/dist/types/routes/management-api/tenant-operations.d.ts +4 -4
- package/dist/types/routes/management-api/tenants.d.ts +11 -11
- package/dist/types/routes/management-api/users.d.ts +15 -15
- package/dist/types/routes/universal-login/common.d.ts +10 -10
- package/dist/types/routes/universal-login/screens/account-helpers.d.ts +27 -1
- 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/dist/types/state-machines/login-session.d.ts +1 -1
- package/dist/types/types/Hooks.d.ts +47 -0
- package/package.json +6 -6
- package/dist/mfa-attempts-DwATCXqC.js +0 -254
|
@@ -11,7 +11,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
11
11
|
client_id: string;
|
|
12
12
|
redirect_url?: string | undefined;
|
|
13
13
|
login_hint?: string | undefined;
|
|
14
|
-
screen_hint?: "
|
|
14
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
output: {};
|
|
@@ -23,7 +23,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
23
23
|
client_id: string;
|
|
24
24
|
redirect_url?: string | undefined;
|
|
25
25
|
login_hint?: string | undefined;
|
|
26
|
-
screen_hint?: "
|
|
26
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
output: {
|
|
@@ -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?: "change-email" | "account" | "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?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
463
463
|
};
|
|
464
464
|
};
|
|
465
465
|
output: {
|
|
@@ -739,21 +739,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
739
739
|
connection: "email";
|
|
740
740
|
client_id: string;
|
|
741
741
|
email: string;
|
|
742
|
-
send: "
|
|
742
|
+
send: "code" | "link";
|
|
743
743
|
authParams: {
|
|
744
|
+
username?: string | undefined;
|
|
745
|
+
scope?: string | undefined;
|
|
744
746
|
audience?: string | undefined;
|
|
747
|
+
organization?: string | undefined;
|
|
745
748
|
state?: string | undefined;
|
|
746
|
-
code_challenge?: string | undefined;
|
|
747
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
748
|
-
redirect_uri?: string | undefined;
|
|
749
|
-
nonce?: string | undefined;
|
|
750
|
-
scope?: string | undefined;
|
|
751
749
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
752
750
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
753
|
-
username?: string | undefined;
|
|
754
751
|
act_as?: string | undefined;
|
|
755
|
-
|
|
752
|
+
redirect_uri?: string | undefined;
|
|
753
|
+
nonce?: string | undefined;
|
|
756
754
|
prompt?: string | undefined;
|
|
755
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
756
|
+
code_challenge?: string | undefined;
|
|
757
757
|
ui_locales?: string | undefined;
|
|
758
758
|
max_age?: number | undefined;
|
|
759
759
|
acr_values?: string | undefined;
|
|
@@ -775,21 +775,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
775
775
|
client_id: string;
|
|
776
776
|
connection: "sms";
|
|
777
777
|
phone_number: string;
|
|
778
|
-
send: "
|
|
778
|
+
send: "code" | "link";
|
|
779
779
|
authParams: {
|
|
780
|
+
username?: string | undefined;
|
|
781
|
+
scope?: string | undefined;
|
|
780
782
|
audience?: string | undefined;
|
|
783
|
+
organization?: string | undefined;
|
|
781
784
|
state?: string | undefined;
|
|
782
|
-
code_challenge?: string | undefined;
|
|
783
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
784
|
-
redirect_uri?: string | undefined;
|
|
785
|
-
nonce?: string | undefined;
|
|
786
|
-
scope?: string | undefined;
|
|
787
785
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
788
786
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
789
|
-
username?: string | undefined;
|
|
790
787
|
act_as?: string | undefined;
|
|
791
|
-
|
|
788
|
+
redirect_uri?: string | undefined;
|
|
789
|
+
nonce?: string | undefined;
|
|
792
790
|
prompt?: string | undefined;
|
|
791
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
792
|
+
code_challenge?: string | undefined;
|
|
793
793
|
ui_locales?: string | undefined;
|
|
794
794
|
max_age?: number | undefined;
|
|
795
795
|
acr_values?: string | undefined;
|
|
@@ -12,21 +12,21 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
12
12
|
connection: "email";
|
|
13
13
|
client_id: string;
|
|
14
14
|
email: string;
|
|
15
|
-
send: "
|
|
15
|
+
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
username?: string | undefined;
|
|
18
|
+
scope?: string | undefined;
|
|
17
19
|
audience?: string | undefined;
|
|
20
|
+
organization?: string | undefined;
|
|
18
21
|
state?: string | undefined;
|
|
19
|
-
code_challenge?: string | undefined;
|
|
20
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
21
|
-
redirect_uri?: string | undefined;
|
|
22
|
-
nonce?: string | undefined;
|
|
23
|
-
scope?: string | undefined;
|
|
24
22
|
response_type?: AuthorizationResponseType | undefined;
|
|
25
23
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
26
|
-
username?: string | undefined;
|
|
27
24
|
act_as?: string | undefined;
|
|
28
|
-
|
|
25
|
+
redirect_uri?: string | undefined;
|
|
26
|
+
nonce?: string | undefined;
|
|
29
27
|
prompt?: string | undefined;
|
|
28
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
|
+
code_challenge?: string | undefined;
|
|
30
30
|
ui_locales?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
32
32
|
acr_values?: string | undefined;
|
|
@@ -48,21 +48,21 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
48
48
|
client_id: string;
|
|
49
49
|
connection: "sms";
|
|
50
50
|
phone_number: string;
|
|
51
|
-
send: "
|
|
51
|
+
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
username?: string | undefined;
|
|
54
|
+
scope?: string | undefined;
|
|
53
55
|
audience?: string | undefined;
|
|
56
|
+
organization?: string | undefined;
|
|
54
57
|
state?: string | undefined;
|
|
55
|
-
code_challenge?: string | undefined;
|
|
56
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
57
|
-
redirect_uri?: string | undefined;
|
|
58
|
-
nonce?: string | undefined;
|
|
59
|
-
scope?: string | undefined;
|
|
60
58
|
response_type?: AuthorizationResponseType | undefined;
|
|
61
59
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
62
|
-
username?: string | undefined;
|
|
63
60
|
act_as?: string | undefined;
|
|
64
|
-
|
|
61
|
+
redirect_uri?: string | undefined;
|
|
62
|
+
nonce?: string | undefined;
|
|
65
63
|
prompt?: string | undefined;
|
|
64
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
|
+
code_challenge?: string | undefined;
|
|
66
66
|
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
@@ -29,7 +29,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
29
29
|
created_at: string;
|
|
30
30
|
updated_at: string;
|
|
31
31
|
inherit?: boolean | undefined;
|
|
32
|
-
scope?: "
|
|
32
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
33
33
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
34
34
|
enforce?: boolean | undefined;
|
|
35
35
|
supported_triggers?: {
|
|
@@ -58,31 +58,6 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
58
58
|
} & {
|
|
59
59
|
"/:triggerId/bindings": {
|
|
60
60
|
$patch: {
|
|
61
|
-
input: {
|
|
62
|
-
param: {
|
|
63
|
-
triggerId: string;
|
|
64
|
-
};
|
|
65
|
-
} & {
|
|
66
|
-
header: {
|
|
67
|
-
"tenant-id"?: string | undefined;
|
|
68
|
-
};
|
|
69
|
-
} & {
|
|
70
|
-
json: {
|
|
71
|
-
bindings: {
|
|
72
|
-
ref: {
|
|
73
|
-
type?: "action_id" | "action_name" | undefined;
|
|
74
|
-
value?: string | undefined;
|
|
75
|
-
id?: string | undefined;
|
|
76
|
-
name?: string | undefined;
|
|
77
|
-
};
|
|
78
|
-
display_name?: string | undefined;
|
|
79
|
-
}[];
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
output: {};
|
|
83
|
-
outputFormat: string;
|
|
84
|
-
status: 403;
|
|
85
|
-
} | {
|
|
86
61
|
input: {
|
|
87
62
|
param: {
|
|
88
63
|
triggerId: string;
|
|
@@ -118,7 +93,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
118
93
|
created_at: string;
|
|
119
94
|
updated_at: string;
|
|
120
95
|
inherit?: boolean | undefined;
|
|
121
|
-
scope?: "
|
|
96
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
122
97
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
123
98
|
enforce?: boolean | undefined;
|
|
124
99
|
supported_triggers?: {
|
|
@@ -142,6 +117,31 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
142
117
|
};
|
|
143
118
|
outputFormat: "json";
|
|
144
119
|
status: 200;
|
|
120
|
+
} | {
|
|
121
|
+
input: {
|
|
122
|
+
param: {
|
|
123
|
+
triggerId: string;
|
|
124
|
+
};
|
|
125
|
+
} & {
|
|
126
|
+
header: {
|
|
127
|
+
"tenant-id"?: string | undefined;
|
|
128
|
+
};
|
|
129
|
+
} & {
|
|
130
|
+
json: {
|
|
131
|
+
bindings: {
|
|
132
|
+
ref: {
|
|
133
|
+
type?: "action_id" | "action_name" | undefined;
|
|
134
|
+
value?: string | undefined;
|
|
135
|
+
id?: string | undefined;
|
|
136
|
+
name?: string | undefined;
|
|
137
|
+
};
|
|
138
|
+
display_name?: string | undefined;
|
|
139
|
+
}[];
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
output: {};
|
|
143
|
+
outputFormat: string;
|
|
144
|
+
status: 403;
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
147
|
}, "/">;
|
|
@@ -32,7 +32,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
32
32
|
created_at: string;
|
|
33
33
|
updated_at: string;
|
|
34
34
|
inherit?: boolean | undefined;
|
|
35
|
-
scope?: "
|
|
35
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
36
36
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
37
37
|
enforce?: boolean | undefined;
|
|
38
38
|
supported_triggers?: {
|
|
@@ -62,7 +62,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
62
62
|
created_at: string;
|
|
63
63
|
updated_at: string;
|
|
64
64
|
inherit?: boolean | undefined;
|
|
65
|
-
scope?: "
|
|
65
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
66
66
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
67
67
|
enforce?: boolean | undefined;
|
|
68
68
|
supported_triggers?: {
|
|
@@ -92,7 +92,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
92
92
|
created_at: string;
|
|
93
93
|
updated_at: string;
|
|
94
94
|
inherit?: boolean | undefined;
|
|
95
|
-
scope?: "
|
|
95
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
96
96
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
97
97
|
enforce?: boolean | undefined;
|
|
98
98
|
supported_triggers?: {
|
|
@@ -128,7 +128,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
128
128
|
name: string;
|
|
129
129
|
code: string;
|
|
130
130
|
inherit?: boolean | undefined;
|
|
131
|
-
scope?: "
|
|
131
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
132
132
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
133
133
|
enforce?: boolean | undefined;
|
|
134
134
|
supported_triggers?: {
|
|
@@ -160,7 +160,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
160
160
|
name: string;
|
|
161
161
|
code: string;
|
|
162
162
|
inherit?: boolean | undefined;
|
|
163
|
-
scope?: "
|
|
163
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
164
164
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
165
165
|
enforce?: boolean | undefined;
|
|
166
166
|
supported_triggers?: {
|
|
@@ -188,7 +188,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
188
188
|
created_at: string;
|
|
189
189
|
updated_at: string;
|
|
190
190
|
inherit?: boolean | undefined;
|
|
191
|
-
scope?: "
|
|
191
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
192
192
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
193
193
|
enforce?: boolean | undefined;
|
|
194
194
|
supported_triggers?: {
|
|
@@ -353,7 +353,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
353
353
|
created_at: string;
|
|
354
354
|
updated_at: string;
|
|
355
355
|
inherit?: boolean | undefined;
|
|
356
|
-
scope?: "
|
|
356
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
357
357
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
358
358
|
enforce?: boolean | undefined;
|
|
359
359
|
supported_triggers?: {
|
|
@@ -389,7 +389,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
389
389
|
} & {
|
|
390
390
|
json: {
|
|
391
391
|
inherit?: boolean | undefined;
|
|
392
|
-
scope?: "
|
|
392
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
393
393
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
394
394
|
enforce?: boolean | undefined;
|
|
395
395
|
name?: string | undefined;
|
|
@@ -425,7 +425,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
425
425
|
} & {
|
|
426
426
|
json: {
|
|
427
427
|
inherit?: boolean | undefined;
|
|
428
|
-
scope?: "
|
|
428
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
429
429
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
430
430
|
enforce?: boolean | undefined;
|
|
431
431
|
name?: string | undefined;
|
|
@@ -461,7 +461,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
461
461
|
} & {
|
|
462
462
|
json: {
|
|
463
463
|
inherit?: boolean | undefined;
|
|
464
|
-
scope?: "
|
|
464
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
465
465
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
466
466
|
enforce?: boolean | undefined;
|
|
467
467
|
name?: string | undefined;
|
|
@@ -491,7 +491,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
491
491
|
created_at: string;
|
|
492
492
|
updated_at: string;
|
|
493
493
|
inherit?: boolean | undefined;
|
|
494
|
-
scope?: "
|
|
494
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
495
495
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
496
496
|
enforce?: boolean | undefined;
|
|
497
497
|
supported_triggers?: {
|
|
@@ -603,7 +603,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
603
603
|
created_at: string;
|
|
604
604
|
updated_at: string;
|
|
605
605
|
inherit?: boolean | undefined;
|
|
606
|
-
scope?: "
|
|
606
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
607
607
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
608
608
|
enforce?: boolean | undefined;
|
|
609
609
|
supported_triggers?: {
|
|
@@ -836,7 +836,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
836
836
|
created_at: string;
|
|
837
837
|
updated_at: string;
|
|
838
838
|
inherit?: boolean | undefined;
|
|
839
|
-
scope?: "
|
|
839
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
840
840
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
841
841
|
enforce?: boolean | undefined;
|
|
842
842
|
supported_triggers?: {
|
|
@@ -919,7 +919,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
919
919
|
args: import("hono/utils/types").JSONValue[];
|
|
920
920
|
}[];
|
|
921
921
|
logs: {
|
|
922
|
-
level: "
|
|
922
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
923
923
|
message: string;
|
|
924
924
|
}[];
|
|
925
925
|
error?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "email" | "push" | "passkey" | "
|
|
40
|
+
type: "email" | "push" | "passkey" | "totp" | "phone" | "webauthn-roaming" | "webauthn-platform";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -287,7 +287,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
287
287
|
url: string;
|
|
288
288
|
} | undefined;
|
|
289
289
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
290
|
-
scope?: "
|
|
290
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
291
291
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
292
292
|
enforce?: boolean | undefined;
|
|
293
293
|
};
|
|
@@ -320,7 +320,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
320
320
|
url: string;
|
|
321
321
|
} | undefined;
|
|
322
322
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
323
|
-
scope?: "
|
|
323
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
324
324
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
325
325
|
enforce?: boolean | undefined;
|
|
326
326
|
};
|
|
@@ -342,7 +342,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
342
342
|
url: string;
|
|
343
343
|
} | undefined;
|
|
344
344
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
345
|
-
scope?: "
|
|
345
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
346
346
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
347
347
|
enforce?: boolean | undefined;
|
|
348
348
|
};
|
|
@@ -418,7 +418,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
418
418
|
} & {
|
|
419
419
|
json: {
|
|
420
420
|
body?: string | undefined;
|
|
421
|
-
screen?: "
|
|
421
|
+
screen?: "password" | "identifier" | "signup" | "login" | undefined;
|
|
422
422
|
branding?: {
|
|
423
423
|
colors?: {
|
|
424
424
|
primary: string;
|
|
@@ -436,7 +436,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
436
436
|
url: string;
|
|
437
437
|
} | undefined;
|
|
438
438
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
439
|
-
scope?: "
|
|
439
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
440
440
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
441
441
|
enforce?: boolean | undefined;
|
|
442
442
|
} | undefined;
|
|
@@ -959,7 +959,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
959
959
|
} | undefined;
|
|
960
960
|
unique?: boolean | undefined;
|
|
961
961
|
profile_required?: boolean | undefined;
|
|
962
|
-
verification_method?: "
|
|
962
|
+
verification_method?: "code" | "link" | undefined;
|
|
963
963
|
} | undefined;
|
|
964
964
|
username?: {
|
|
965
965
|
identifier?: {
|
|
@@ -1009,7 +1009,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1009
1009
|
} | undefined;
|
|
1010
1010
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
1011
1011
|
};
|
|
1012
|
-
scope?: "
|
|
1012
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
1013
1013
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
1014
1014
|
enforce?: boolean | undefined;
|
|
1015
1015
|
id?: string | undefined;
|
|
@@ -1120,7 +1120,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1120
1120
|
} | undefined;
|
|
1121
1121
|
unique?: boolean | undefined;
|
|
1122
1122
|
profile_required?: boolean | undefined;
|
|
1123
|
-
verification_method?: "
|
|
1123
|
+
verification_method?: "code" | "link" | undefined;
|
|
1124
1124
|
} | undefined;
|
|
1125
1125
|
username?: {
|
|
1126
1126
|
identifier?: {
|
|
@@ -1170,7 +1170,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1170
1170
|
} | undefined;
|
|
1171
1171
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
1172
1172
|
};
|
|
1173
|
-
scope?: "
|
|
1173
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
1174
1174
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
1175
1175
|
enforce?: boolean | undefined;
|
|
1176
1176
|
id?: string | undefined;
|
|
@@ -96,7 +96,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
96
96
|
} | undefined;
|
|
97
97
|
unique?: boolean | undefined;
|
|
98
98
|
profile_required?: boolean | undefined;
|
|
99
|
-
verification_method?: "
|
|
99
|
+
verification_method?: "code" | "link" | undefined;
|
|
100
100
|
} | undefined;
|
|
101
101
|
username?: {
|
|
102
102
|
identifier?: {
|
|
@@ -146,7 +146,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
146
146
|
} | undefined;
|
|
147
147
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
148
148
|
};
|
|
149
|
-
scope?: "
|
|
149
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
150
150
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
151
151
|
enforce?: boolean | undefined;
|
|
152
152
|
id?: string | undefined;
|
|
@@ -237,7 +237,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
237
237
|
} | undefined;
|
|
238
238
|
unique?: boolean | undefined;
|
|
239
239
|
profile_required?: boolean | undefined;
|
|
240
|
-
verification_method?: "
|
|
240
|
+
verification_method?: "code" | "link" | undefined;
|
|
241
241
|
} | undefined;
|
|
242
242
|
username?: {
|
|
243
243
|
identifier?: {
|
|
@@ -287,7 +287,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
287
287
|
} | undefined;
|
|
288
288
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
289
289
|
};
|
|
290
|
-
scope?: "
|
|
290
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
291
291
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
292
292
|
enforce?: boolean | undefined;
|
|
293
293
|
id?: string | undefined;
|
|
@@ -378,7 +378,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
378
378
|
} | undefined;
|
|
379
379
|
unique?: boolean | undefined;
|
|
380
380
|
profile_required?: boolean | undefined;
|
|
381
|
-
verification_method?: "
|
|
381
|
+
verification_method?: "code" | "link" | undefined;
|
|
382
382
|
} | undefined;
|
|
383
383
|
username?: {
|
|
384
384
|
identifier?: {
|
|
@@ -428,7 +428,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
428
428
|
} | undefined;
|
|
429
429
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
430
430
|
};
|
|
431
|
-
scope?: "
|
|
431
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
432
432
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
433
433
|
enforce?: boolean | undefined;
|
|
434
434
|
id?: string | undefined;
|
|
@@ -534,7 +534,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
534
534
|
} | undefined;
|
|
535
535
|
unique?: boolean | undefined;
|
|
536
536
|
profile_required?: boolean | undefined;
|
|
537
|
-
verification_method?: "
|
|
537
|
+
verification_method?: "code" | "link" | undefined;
|
|
538
538
|
} | undefined;
|
|
539
539
|
username?: {
|
|
540
540
|
identifier?: {
|
|
@@ -584,7 +584,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
584
584
|
} | undefined;
|
|
585
585
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
586
586
|
};
|
|
587
|
-
scope?: "
|
|
587
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
588
588
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
589
589
|
enforce?: boolean | undefined;
|
|
590
590
|
id?: string | undefined;
|
|
@@ -646,7 +646,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
646
646
|
};
|
|
647
647
|
} & {
|
|
648
648
|
json: {
|
|
649
|
-
scope?: "
|
|
649
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
650
650
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
651
651
|
enforce?: boolean | undefined;
|
|
652
652
|
id?: string | undefined;
|
|
@@ -736,7 +736,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
736
736
|
} | undefined;
|
|
737
737
|
unique?: boolean | undefined;
|
|
738
738
|
profile_required?: boolean | undefined;
|
|
739
|
-
verification_method?: "
|
|
739
|
+
verification_method?: "code" | "link" | undefined;
|
|
740
740
|
} | undefined;
|
|
741
741
|
username?: {
|
|
742
742
|
identifier?: {
|
|
@@ -786,7 +786,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
786
786
|
} | undefined;
|
|
787
787
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
788
788
|
};
|
|
789
|
-
scope?: "
|
|
789
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
790
790
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
791
791
|
enforce?: boolean | undefined;
|
|
792
792
|
id?: string | undefined;
|
|
@@ -816,7 +816,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
816
816
|
json: {
|
|
817
817
|
name: string;
|
|
818
818
|
strategy: string;
|
|
819
|
-
scope?: "
|
|
819
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
820
820
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
821
821
|
enforce?: boolean | undefined;
|
|
822
822
|
id?: string | undefined;
|
|
@@ -904,7 +904,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
904
904
|
} | undefined;
|
|
905
905
|
unique?: boolean | undefined;
|
|
906
906
|
profile_required?: boolean | undefined;
|
|
907
|
-
verification_method?: "
|
|
907
|
+
verification_method?: "code" | "link" | undefined;
|
|
908
908
|
} | undefined;
|
|
909
909
|
username?: {
|
|
910
910
|
identifier?: {
|
|
@@ -954,7 +954,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
954
954
|
} | undefined;
|
|
955
955
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
956
956
|
};
|
|
957
|
-
scope?: "
|
|
957
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
958
958
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
959
959
|
enforce?: boolean | undefined;
|
|
960
960
|
id?: string | undefined;
|
|
@@ -28,7 +28,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
28
28
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
29
29
|
custom_domain_id: string;
|
|
30
30
|
primary: boolean;
|
|
31
|
-
status: "
|
|
31
|
+
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
32
32
|
verification_method?: "txt" | undefined;
|
|
33
33
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
34
34
|
domain_metadata?: {
|
|
@@ -69,7 +69,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
69
69
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
70
70
|
custom_domain_id: string;
|
|
71
71
|
primary: boolean;
|
|
72
|
-
status: "
|
|
72
|
+
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
73
73
|
verification_method?: "txt" | undefined;
|
|
74
74
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
75
75
|
domain_metadata?: {
|
|
@@ -133,7 +133,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
133
133
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
134
134
|
custom_domain_id: string;
|
|
135
135
|
primary: boolean;
|
|
136
|
-
status: "
|
|
136
|
+
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
137
137
|
verification_method?: "txt" | undefined;
|
|
138
138
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
139
139
|
domain_metadata?: {
|
|
@@ -180,7 +180,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
180
180
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
181
181
|
custom_domain_id: string;
|
|
182
182
|
primary: boolean;
|
|
183
|
-
status: "
|
|
183
|
+
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
184
184
|
verification_method?: "txt" | undefined;
|
|
185
185
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
186
186
|
domain_metadata?: {
|
|
@@ -226,7 +226,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
226
226
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
227
227
|
custom_domain_id: string;
|
|
228
228
|
primary: boolean;
|
|
229
|
-
status: "
|
|
229
|
+
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
230
230
|
verification_method?: "txt" | undefined;
|
|
231
231
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
232
232
|
domain_metadata?: {
|
|
@@ -267,7 +267,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
267
267
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
268
268
|
custom_domain_id: string;
|
|
269
269
|
primary: boolean;
|
|
270
|
-
status: "
|
|
270
|
+
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
271
271
|
verification_method?: "txt" | undefined;
|
|
272
272
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
273
273
|
domain_metadata?: {
|