authhero 9.24.1 → 9.25.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 +109 -109
- package/dist/authhero.d.ts +605 -314
- package/dist/authhero.mjs +13421 -13259
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +6 -2
- package/dist/types/helpers/audit-target-types.d.ts +26 -0
- package/dist/types/helpers/client.d.ts +12 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +590 -314
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/index.d.ts +15 -15
- package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/well-known.d.ts +1 -1
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/action-triggers.d.ts +8 -2
- package/dist/types/routes/management-api/actions.d.ts +45 -12
- package/dist/types/routes/management-api/branding.d.ts +13 -1
- package/dist/types/routes/management-api/clients.d.ts +12 -6
- package/dist/types/routes/management-api/connections.d.ts +25 -1
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/emails.d.ts +18 -0
- package/dist/types/routes/management-api/failed-events.d.ts +26 -2
- package/dist/types/routes/management-api/flows.d.ts +8 -8
- package/dist/types/routes/management-api/forms.d.ts +144 -144
- 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 +105 -0
- package/dist/types/routes/management-api/index.d.ts +568 -292
- package/dist/types/routes/management-api/keys.d.ts +16 -16
- 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 +5 -5
- package/dist/types/routes/management-api/prompts.d.ts +12 -6
- package/dist/types/routes/management-api/resource-servers.d.ts +44 -20
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +7 -3
- package/dist/types/routes/management-api/token-exchange-profiles.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +29 -29
- package/dist/types/routes/universal-login/common.d.ts +24 -8
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- 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/screens/login-partials.d.ts +8 -0
- 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/Variables.d.ts +3 -0
- package/dist/types/utils/jwks.d.ts +2 -2
- package/dist/types/utils/jwt.d.ts +2 -0
- package/package.json +6 -6
|
@@ -146,6 +146,9 @@ 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?: "shared" | "local" | "platform" | undefined;
|
|
150
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
151
|
+
enforce?: boolean | undefined;
|
|
149
152
|
id?: string | undefined;
|
|
150
153
|
display_name?: string | undefined;
|
|
151
154
|
enabled_clients?: string[] | undefined;
|
|
@@ -284,6 +287,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
284
287
|
} | undefined;
|
|
285
288
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
286
289
|
};
|
|
290
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
291
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
292
|
+
enforce?: boolean | undefined;
|
|
287
293
|
id?: string | undefined;
|
|
288
294
|
display_name?: string | undefined;
|
|
289
295
|
enabled_clients?: string[] | undefined;
|
|
@@ -422,6 +428,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
422
428
|
} | undefined;
|
|
423
429
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
424
430
|
};
|
|
431
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
432
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
433
|
+
enforce?: boolean | undefined;
|
|
425
434
|
id?: string | undefined;
|
|
426
435
|
display_name?: string | undefined;
|
|
427
436
|
enabled_clients?: string[] | undefined;
|
|
@@ -575,6 +584,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
575
584
|
} | undefined;
|
|
576
585
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
577
586
|
};
|
|
587
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
588
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
589
|
+
enforce?: boolean | undefined;
|
|
578
590
|
id?: string | undefined;
|
|
579
591
|
display_name?: string | undefined;
|
|
580
592
|
enabled_clients?: string[] | undefined;
|
|
@@ -621,6 +633,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
621
633
|
};
|
|
622
634
|
} & {
|
|
623
635
|
json: {
|
|
636
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
637
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
638
|
+
enforce?: boolean | undefined;
|
|
624
639
|
id?: string | undefined;
|
|
625
640
|
name?: string | undefined;
|
|
626
641
|
display_name?: string | undefined;
|
|
@@ -758,6 +773,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
758
773
|
} | undefined;
|
|
759
774
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
760
775
|
};
|
|
776
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
777
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
778
|
+
enforce?: boolean | undefined;
|
|
761
779
|
id?: string | undefined;
|
|
762
780
|
display_name?: string | undefined;
|
|
763
781
|
enabled_clients?: string[] | undefined;
|
|
@@ -785,6 +803,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
785
803
|
json: {
|
|
786
804
|
name: string;
|
|
787
805
|
strategy: string;
|
|
806
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
807
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
808
|
+
enforce?: boolean | undefined;
|
|
788
809
|
id?: string | undefined;
|
|
789
810
|
display_name?: string | undefined;
|
|
790
811
|
options?: unknown;
|
|
@@ -920,6 +941,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
920
941
|
} | undefined;
|
|
921
942
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
922
943
|
};
|
|
944
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
945
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
946
|
+
enforce?: boolean | undefined;
|
|
923
947
|
id?: string | undefined;
|
|
924
948
|
display_name?: string | undefined;
|
|
925
949
|
enabled_clients?: string[] | undefined;
|
|
@@ -1010,7 +1034,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
1010
1034
|
};
|
|
1011
1035
|
} | {
|
|
1012
1036
|
mode: "inline";
|
|
1013
|
-
status: "
|
|
1037
|
+
status: "success" | "error";
|
|
1014
1038
|
connection_id: string;
|
|
1015
1039
|
connection_name: string;
|
|
1016
1040
|
strategy: string;
|
|
@@ -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: "pending" | "ready" | "disabled" | "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: "pending" | "ready" | "disabled" | "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: "pending" | "ready" | "disabled" | "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: "pending" | "ready" | "disabled" | "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: "pending" | "ready" | "disabled" | "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: "pending" | "ready" | "disabled" | "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?: {
|
|
@@ -19,6 +19,9 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
19
19
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
20
20
|
} | undefined;
|
|
21
21
|
settings?: {} | undefined;
|
|
22
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
23
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
24
|
+
enforce?: boolean | undefined;
|
|
22
25
|
};
|
|
23
26
|
outputFormat: "json";
|
|
24
27
|
status: 200;
|
|
@@ -38,6 +41,9 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
38
41
|
enabled?: boolean | undefined;
|
|
39
42
|
default_from_address?: string | undefined;
|
|
40
43
|
settings?: Record<string, never> | undefined;
|
|
44
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
45
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
46
|
+
enforce?: boolean | undefined;
|
|
41
47
|
};
|
|
42
48
|
};
|
|
43
49
|
output: {};
|
|
@@ -55,6 +61,9 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
55
61
|
enabled?: boolean | undefined;
|
|
56
62
|
default_from_address?: string | undefined;
|
|
57
63
|
settings?: Record<string, never> | undefined;
|
|
64
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
65
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
66
|
+
enforce?: boolean | undefined;
|
|
58
67
|
};
|
|
59
68
|
};
|
|
60
69
|
output: {
|
|
@@ -65,6 +74,9 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
65
74
|
};
|
|
66
75
|
default_from_address?: string | undefined;
|
|
67
76
|
settings?: {} | undefined;
|
|
77
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
78
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
79
|
+
enforce?: boolean | undefined;
|
|
68
80
|
};
|
|
69
81
|
outputFormat: "json";
|
|
70
82
|
status: 201;
|
|
@@ -84,6 +96,9 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
84
96
|
default_from_address?: string | undefined;
|
|
85
97
|
credentials?: Record<string, unknown> | undefined;
|
|
86
98
|
settings?: Record<string, never> | undefined;
|
|
99
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
100
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
101
|
+
enforce?: boolean | undefined;
|
|
87
102
|
};
|
|
88
103
|
};
|
|
89
104
|
output: {
|
|
@@ -94,6 +109,9 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
94
109
|
};
|
|
95
110
|
default_from_address?: string | undefined;
|
|
96
111
|
settings?: {} | undefined;
|
|
112
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
113
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
114
|
+
enforce?: boolean | undefined;
|
|
97
115
|
};
|
|
98
116
|
outputFormat: "json";
|
|
99
117
|
status: 200;
|
|
@@ -30,7 +30,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
30
30
|
log_type: string;
|
|
31
31
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
32
32
|
actor: {
|
|
33
|
-
type: "user" | "
|
|
33
|
+
type: "user" | "system" | "admin" | "api_key" | "client_credentials";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -66,6 +66,18 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
66
66
|
correlation_id?: string | undefined;
|
|
67
67
|
redirect_uri?: string | undefined;
|
|
68
68
|
authorization_url?: string | undefined;
|
|
69
|
+
auth?: {
|
|
70
|
+
strategy: string;
|
|
71
|
+
user?: {
|
|
72
|
+
user_id: string;
|
|
73
|
+
name?: string | undefined;
|
|
74
|
+
email?: string | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
credentials?: {
|
|
77
|
+
jti?: string | undefined;
|
|
78
|
+
scopes?: string[] | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
} | undefined;
|
|
69
81
|
};
|
|
70
82
|
hostname: string;
|
|
71
83
|
timestamp: string;
|
|
@@ -122,7 +134,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
122
134
|
log_type: string;
|
|
123
135
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
124
136
|
actor: {
|
|
125
|
-
type: "user" | "
|
|
137
|
+
type: "user" | "system" | "admin" | "api_key" | "client_credentials";
|
|
126
138
|
id?: string | undefined;
|
|
127
139
|
email?: string | undefined;
|
|
128
140
|
org_id?: string | undefined;
|
|
@@ -158,6 +170,18 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
158
170
|
correlation_id?: string | undefined;
|
|
159
171
|
redirect_uri?: string | undefined;
|
|
160
172
|
authorization_url?: string | undefined;
|
|
173
|
+
auth?: {
|
|
174
|
+
strategy: string;
|
|
175
|
+
user?: {
|
|
176
|
+
user_id: string;
|
|
177
|
+
name?: string | undefined;
|
|
178
|
+
email?: string | undefined;
|
|
179
|
+
} | undefined;
|
|
180
|
+
credentials?: {
|
|
181
|
+
jti?: string | undefined;
|
|
182
|
+
scopes?: string[] | undefined;
|
|
183
|
+
} | undefined;
|
|
184
|
+
} | undefined;
|
|
161
185
|
};
|
|
162
186
|
hostname: string;
|
|
163
187
|
timestamp: string;
|
|
@@ -62,7 +62,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
62
62
|
type: "REDIRECT";
|
|
63
63
|
action: "REDIRECT_USER";
|
|
64
64
|
params: {
|
|
65
|
-
target: "custom" | "
|
|
65
|
+
target: "custom" | "account" | "change-email";
|
|
66
66
|
custom_url?: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
alias?: string | undefined;
|
|
@@ -115,7 +115,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
115
115
|
type: "REDIRECT";
|
|
116
116
|
action: "REDIRECT_USER";
|
|
117
117
|
params: {
|
|
118
|
-
target: "custom" | "
|
|
118
|
+
target: "custom" | "account" | "change-email";
|
|
119
119
|
custom_url?: string | undefined;
|
|
120
120
|
};
|
|
121
121
|
alias?: string | undefined;
|
|
@@ -168,7 +168,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
168
168
|
type: "REDIRECT";
|
|
169
169
|
action: "REDIRECT_USER";
|
|
170
170
|
params: {
|
|
171
|
-
target: "custom" | "
|
|
171
|
+
target: "custom" | "account" | "change-email";
|
|
172
172
|
custom_url?: string | undefined;
|
|
173
173
|
};
|
|
174
174
|
alias?: string | undefined;
|
|
@@ -236,7 +236,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
236
236
|
type: "REDIRECT";
|
|
237
237
|
action: "REDIRECT_USER";
|
|
238
238
|
params: {
|
|
239
|
-
target: "custom" | "
|
|
239
|
+
target: "custom" | "account" | "change-email";
|
|
240
240
|
custom_url?: string | undefined;
|
|
241
241
|
};
|
|
242
242
|
alias?: string | undefined;
|
|
@@ -317,7 +317,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
317
317
|
type: "REDIRECT";
|
|
318
318
|
action: "REDIRECT_USER";
|
|
319
319
|
params: {
|
|
320
|
-
target: "custom" | "
|
|
320
|
+
target: "custom" | "account" | "change-email";
|
|
321
321
|
custom_url?: string | undefined;
|
|
322
322
|
};
|
|
323
323
|
alias?: string | undefined;
|
|
@@ -365,7 +365,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
365
365
|
type: "REDIRECT";
|
|
366
366
|
action: "REDIRECT_USER";
|
|
367
367
|
params: {
|
|
368
|
-
target: "custom" | "
|
|
368
|
+
target: "custom" | "account" | "change-email";
|
|
369
369
|
custom_url?: string | undefined;
|
|
370
370
|
};
|
|
371
371
|
alias?: string | undefined;
|
|
@@ -425,7 +425,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
425
425
|
type: "REDIRECT";
|
|
426
426
|
action: "REDIRECT_USER";
|
|
427
427
|
params: {
|
|
428
|
-
target: "custom" | "
|
|
428
|
+
target: "custom" | "account" | "change-email";
|
|
429
429
|
custom_url?: string | undefined;
|
|
430
430
|
};
|
|
431
431
|
alias?: string | undefined;
|
|
@@ -473,7 +473,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
473
473
|
type: "REDIRECT";
|
|
474
474
|
action: "REDIRECT_USER";
|
|
475
475
|
params: {
|
|
476
|
-
target: "custom" | "
|
|
476
|
+
target: "custom" | "account" | "change-email";
|
|
477
477
|
custom_url?: string | undefined;
|
|
478
478
|
};
|
|
479
479
|
alias?: string | undefined;
|