authhero 9.36.0 → 9.38.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/index.esm.js +1 -1
- package/dist/assets/u/widget/{p-ce8560f6.entry.js → p-32247347.entry.js} +1 -1
- package/dist/assets/u/widget/p-3f908508.entry.js +1 -0
- package/dist/assets/u/widget/p-Wx4M-olY.js +2 -0
- package/dist/authhero.cjs +165 -141
- package/dist/authhero.d.ts +633 -331
- package/dist/authhero.mjs +19149 -16716
- package/dist/{mfa-DPwn1ajo.js → mfa-DBhvi2B5.js} +1 -1
- package/dist/{mfa-B044FRjD.mjs → mfa-DnCary4g.mjs} +19 -19
- package/dist/{mfa-attempts-DGOLb2oh.mjs → mfa-attempts-BK-gWrgJ.mjs} +5161 -5045
- package/dist/mfa-attempts-C5kobAHS.js +275 -0
- package/dist/{passkey-enrollment-BDboqoaP.js → passkey-enrollment-CmKahPq7.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/email-verification.d.ts +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +2 -2
- package/dist/types/generated/locale-types.d.ts +87 -0
- package/dist/types/helpers/anchor-client.d.ts +16 -0
- package/dist/types/helpers/database-connection-scope.d.ts +48 -18
- package/dist/types/helpers/dcr/audience-policy.d.ts +13 -0
- package/dist/types/helpers/dcr/client-registration.d.ts +81 -0
- package/dist/types/helpers/dcr/constraint-enforcement.d.ts +1 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +18 -1
- package/dist/types/helpers/dcr/mint-iat.d.ts +4 -1
- package/dist/types/helpers/dcr/mint-token.d.ts +4 -0
- package/dist/types/helpers/dcr/presets.d.ts +34 -0
- package/dist/types/helpers/dcr/uri-policy.d.ts +34 -0
- package/dist/types/helpers/default-destinations.d.ts +14 -0
- package/dist/types/helpers/firehose-client.d.ts +29 -0
- package/dist/types/helpers/outbox-destinations/log-streams.d.ts +21 -1
- package/dist/types/helpers/password-connection.d.ts +3 -1
- package/dist/types/helpers/prompt-partials.d.ts +1 -1
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/run-outbox-relay.d.ts +9 -2
- package/dist/types/helpers/self-service-tickets.d.ts +34 -0
- package/dist/types/helpers/users.d.ts +17 -2
- package/dist/types/index.d.ts +565 -271
- package/dist/types/routes/auth-api/authenticate.d.ts +1 -1
- package/dist/types/routes/auth-api/dbconnections.d.ts +2 -2
- package/dist/types/routes/auth-api/index.d.ts +38 -23
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/register/index.d.ts +15 -0
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/actions.d.ts +9 -9
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding-preview.d.ts +9 -1
- package/dist/types/routes/management-api/branding.d.ts +105 -1
- package/dist/types/routes/management-api/client-registration-tokens.d.ts +149 -0
- package/dist/types/routes/management-api/clients.d.ts +8 -8
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/email-templates.d.ts +20 -20
- package/dist/types/routes/management-api/emails.d.ts +2 -2
- package/dist/types/routes/management-api/failed-events.d.ts +4 -4
- 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/hook-code.d.ts +2 -2
- package/dist/types/routes/management-api/hooks.d.ts +4 -4
- package/dist/types/routes/management-api/index.d.ts +482 -233
- package/dist/types/routes/management-api/keys.d.ts +4 -4
- package/dist/types/routes/management-api/log-streams.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 +7 -7
- package/dist/types/routes/management-api/prompts.d.ts +8 -8
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/self-service-profiles.d.ts +7 -7
- package/dist/types/routes/management-api/tenant-operations.d.ts +10 -10
- package/dist/types/routes/management-api/tenants.d.ts +29 -29
- package/dist/types/routes/management-api/themes.d.ts +69 -0
- package/dist/types/routes/management-api/users.d.ts +16 -16
- package/dist/types/routes/universal-login/common.d.ts +52 -0
- package/dist/types/routes/universal-login/dark-theme.d.ts +25 -0
- package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
- package/dist/types/routes/universal-login/form-node.d.ts +4 -4
- package/dist/types/routes/universal-login/index.d.ts +4 -4
- package/dist/types/routes/universal-login/legal-links.d.ts +18 -0
- package/dist/types/routes/universal-login/screen-prompt-map.d.ts +31 -0
- package/dist/types/routes/universal-login/screens/connect-authz.d.ts +9 -0
- package/dist/types/routes/universal-login/screens/login-partials.d.ts +9 -1
- package/dist/types/routes/universal-login/screens/self-service-app.d.ts +46 -0
- package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +35 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +35 -5
- package/dist/types/routes/universal-login/u2-widget-page.d.ts +6 -1
- package/dist/types/routes/universal-login/universal-login-template.d.ts +1 -0
- package/dist/types/state-machines/login-session.d.ts +19 -1
- package/dist/types/types/Bindings.d.ts +2 -0
- package/package.json +7 -6
- package/dist/assets/u/widget/p-FUW5zvoZ.js +0 -2
- package/dist/assets/u/widget/p-c6ec4c36.entry.js +0 -1
- package/dist/mfa-attempts-BiU_pMOV.js +0 -275
|
@@ -78,6 +78,8 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
78
78
|
background_color: string;
|
|
79
79
|
background_image_url: string;
|
|
80
80
|
page_layout: "center" | "left" | "right";
|
|
81
|
+
background_color_dark?: string | undefined;
|
|
82
|
+
background_image_url_dark?: string | undefined;
|
|
81
83
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
82
84
|
};
|
|
83
85
|
widget: {
|
|
@@ -86,8 +88,29 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
86
88
|
logo_position: "none" | "center" | "left" | "right";
|
|
87
89
|
logo_url: string;
|
|
88
90
|
social_buttons_layout: "bottom" | "top";
|
|
91
|
+
logo_url_dark?: string | undefined;
|
|
89
92
|
};
|
|
90
93
|
themeId: string;
|
|
94
|
+
colors_dark?: {
|
|
95
|
+
error?: string | undefined;
|
|
96
|
+
success?: string | undefined;
|
|
97
|
+
header?: string | undefined;
|
|
98
|
+
base_focus_color?: string | undefined;
|
|
99
|
+
base_hover_color?: string | undefined;
|
|
100
|
+
body_text?: string | undefined;
|
|
101
|
+
icons?: string | undefined;
|
|
102
|
+
input_background?: string | undefined;
|
|
103
|
+
input_border?: string | undefined;
|
|
104
|
+
input_filled_text?: string | undefined;
|
|
105
|
+
input_labels_placeholders?: string | undefined;
|
|
106
|
+
links_focused_components?: string | undefined;
|
|
107
|
+
primary_button?: string | undefined;
|
|
108
|
+
primary_button_label?: string | undefined;
|
|
109
|
+
secondary_button_border?: string | undefined;
|
|
110
|
+
secondary_button_label?: string | undefined;
|
|
111
|
+
widget_background?: string | undefined;
|
|
112
|
+
widget_border?: string | undefined;
|
|
113
|
+
} | undefined;
|
|
91
114
|
};
|
|
92
115
|
outputFormat: "json";
|
|
93
116
|
status: 200;
|
|
@@ -168,6 +191,8 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
168
191
|
background_color: string;
|
|
169
192
|
background_image_url: string;
|
|
170
193
|
page_layout: "center" | "left" | "right";
|
|
194
|
+
background_color_dark?: string | undefined;
|
|
195
|
+
background_image_url_dark?: string | undefined;
|
|
171
196
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
172
197
|
};
|
|
173
198
|
widget: {
|
|
@@ -176,8 +201,29 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
176
201
|
logo_position: "none" | "center" | "left" | "right";
|
|
177
202
|
logo_url: string;
|
|
178
203
|
social_buttons_layout: "bottom" | "top";
|
|
204
|
+
logo_url_dark?: string | undefined;
|
|
179
205
|
};
|
|
180
206
|
themeId: string;
|
|
207
|
+
colors_dark?: {
|
|
208
|
+
error?: string | undefined;
|
|
209
|
+
success?: string | undefined;
|
|
210
|
+
header?: string | undefined;
|
|
211
|
+
base_focus_color?: string | undefined;
|
|
212
|
+
base_hover_color?: string | undefined;
|
|
213
|
+
body_text?: string | undefined;
|
|
214
|
+
icons?: string | undefined;
|
|
215
|
+
input_background?: string | undefined;
|
|
216
|
+
input_border?: string | undefined;
|
|
217
|
+
input_filled_text?: string | undefined;
|
|
218
|
+
input_labels_placeholders?: string | undefined;
|
|
219
|
+
links_focused_components?: string | undefined;
|
|
220
|
+
primary_button?: string | undefined;
|
|
221
|
+
primary_button_label?: string | undefined;
|
|
222
|
+
secondary_button_border?: string | undefined;
|
|
223
|
+
secondary_button_label?: string | undefined;
|
|
224
|
+
widget_background?: string | undefined;
|
|
225
|
+
widget_border?: string | undefined;
|
|
226
|
+
} | undefined;
|
|
181
227
|
};
|
|
182
228
|
};
|
|
183
229
|
output: {
|
|
@@ -247,6 +293,8 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
247
293
|
background_color: string;
|
|
248
294
|
background_image_url: string;
|
|
249
295
|
page_layout: "center" | "left" | "right";
|
|
296
|
+
background_color_dark?: string | undefined;
|
|
297
|
+
background_image_url_dark?: string | undefined;
|
|
250
298
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
251
299
|
};
|
|
252
300
|
widget: {
|
|
@@ -255,8 +303,29 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
255
303
|
logo_position: "none" | "center" | "left" | "right";
|
|
256
304
|
logo_url: string;
|
|
257
305
|
social_buttons_layout: "bottom" | "top";
|
|
306
|
+
logo_url_dark?: string | undefined;
|
|
258
307
|
};
|
|
259
308
|
themeId: string;
|
|
309
|
+
colors_dark?: {
|
|
310
|
+
error?: string | undefined;
|
|
311
|
+
success?: string | undefined;
|
|
312
|
+
header?: string | undefined;
|
|
313
|
+
base_focus_color?: string | undefined;
|
|
314
|
+
base_hover_color?: string | undefined;
|
|
315
|
+
body_text?: string | undefined;
|
|
316
|
+
icons?: string | undefined;
|
|
317
|
+
input_background?: string | undefined;
|
|
318
|
+
input_border?: string | undefined;
|
|
319
|
+
input_filled_text?: string | undefined;
|
|
320
|
+
input_labels_placeholders?: string | undefined;
|
|
321
|
+
links_focused_components?: string | undefined;
|
|
322
|
+
primary_button?: string | undefined;
|
|
323
|
+
primary_button_label?: string | undefined;
|
|
324
|
+
secondary_button_border?: string | undefined;
|
|
325
|
+
secondary_button_label?: string | undefined;
|
|
326
|
+
widget_background?: string | undefined;
|
|
327
|
+
widget_border?: string | undefined;
|
|
328
|
+
} | undefined;
|
|
260
329
|
};
|
|
261
330
|
outputFormat: "json";
|
|
262
331
|
status: 200;
|
|
@@ -361,11 +430,14 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
361
430
|
} | undefined;
|
|
362
431
|
logo_url?: string | undefined;
|
|
363
432
|
favicon_url?: string | undefined;
|
|
433
|
+
favicon_url_dark?: string | undefined;
|
|
364
434
|
powered_by_logo_url?: string | undefined;
|
|
365
435
|
font?: {
|
|
366
436
|
url: string;
|
|
367
437
|
} | undefined;
|
|
368
438
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
439
|
+
terms_url?: string | undefined;
|
|
440
|
+
privacy_url?: string | undefined;
|
|
369
441
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
370
442
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
371
443
|
enforce?: boolean | undefined;
|
|
@@ -394,11 +466,14 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
394
466
|
} | undefined;
|
|
395
467
|
logo_url?: string | undefined;
|
|
396
468
|
favicon_url?: string | undefined;
|
|
469
|
+
favicon_url_dark?: string | undefined;
|
|
397
470
|
powered_by_logo_url?: string | undefined;
|
|
398
471
|
font?: {
|
|
399
472
|
url: string;
|
|
400
473
|
} | undefined;
|
|
401
474
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
475
|
+
terms_url?: string | undefined;
|
|
476
|
+
privacy_url?: string | undefined;
|
|
402
477
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
403
478
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
404
479
|
enforce?: boolean | undefined;
|
|
@@ -416,11 +491,14 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
416
491
|
} | undefined;
|
|
417
492
|
logo_url?: string | undefined;
|
|
418
493
|
favicon_url?: string | undefined;
|
|
494
|
+
favicon_url_dark?: string | undefined;
|
|
419
495
|
powered_by_logo_url?: string | undefined;
|
|
420
496
|
font?: {
|
|
421
497
|
url: string;
|
|
422
498
|
} | undefined;
|
|
423
499
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
500
|
+
terms_url?: string | undefined;
|
|
501
|
+
privacy_url?: string | undefined;
|
|
424
502
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
425
503
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
426
504
|
enforce?: boolean | undefined;
|
|
@@ -497,7 +575,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
497
575
|
} & {
|
|
498
576
|
json: {
|
|
499
577
|
body?: string | undefined;
|
|
500
|
-
screen?: "
|
|
578
|
+
screen?: "error" | "signup" | "mfa" | "login" | "consent" | "otp" | "identifier" | "password" | undefined;
|
|
501
579
|
branding?: {
|
|
502
580
|
colors?: {
|
|
503
581
|
primary: string;
|
|
@@ -510,11 +588,14 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
510
588
|
} | undefined;
|
|
511
589
|
logo_url?: string | undefined;
|
|
512
590
|
favicon_url?: string | undefined;
|
|
591
|
+
favicon_url_dark?: string | undefined;
|
|
513
592
|
powered_by_logo_url?: string | undefined;
|
|
514
593
|
font?: {
|
|
515
594
|
url: string;
|
|
516
595
|
} | undefined;
|
|
517
596
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
597
|
+
terms_url?: string | undefined;
|
|
598
|
+
privacy_url?: string | undefined;
|
|
518
599
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
519
600
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
520
601
|
enforce?: boolean | undefined;
|
|
@@ -552,6 +633,26 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
552
633
|
widget_background: string;
|
|
553
634
|
widget_border: string;
|
|
554
635
|
} | undefined;
|
|
636
|
+
colors_dark?: {
|
|
637
|
+
error?: string | undefined;
|
|
638
|
+
success?: string | undefined;
|
|
639
|
+
header?: string | undefined;
|
|
640
|
+
base_focus_color?: string | undefined;
|
|
641
|
+
base_hover_color?: string | undefined;
|
|
642
|
+
body_text?: string | undefined;
|
|
643
|
+
icons?: string | undefined;
|
|
644
|
+
input_background?: string | undefined;
|
|
645
|
+
input_border?: string | undefined;
|
|
646
|
+
input_filled_text?: string | undefined;
|
|
647
|
+
input_labels_placeholders?: string | undefined;
|
|
648
|
+
links_focused_components?: string | undefined;
|
|
649
|
+
primary_button?: string | undefined;
|
|
650
|
+
primary_button_label?: string | undefined;
|
|
651
|
+
secondary_button_border?: string | undefined;
|
|
652
|
+
secondary_button_label?: string | undefined;
|
|
653
|
+
widget_background?: string | undefined;
|
|
654
|
+
widget_border?: string | undefined;
|
|
655
|
+
} | undefined;
|
|
555
656
|
displayName?: string | undefined;
|
|
556
657
|
fonts?: {
|
|
557
658
|
body_text: {
|
|
@@ -586,6 +687,8 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
586
687
|
background_color: string;
|
|
587
688
|
background_image_url: string;
|
|
588
689
|
page_layout: "center" | "left" | "right";
|
|
690
|
+
background_color_dark?: string | undefined;
|
|
691
|
+
background_image_url_dark?: string | undefined;
|
|
589
692
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
590
693
|
} | undefined;
|
|
591
694
|
widget?: {
|
|
@@ -594,6 +697,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
594
697
|
logo_position: "none" | "center" | "left" | "right";
|
|
595
698
|
logo_url: string;
|
|
596
699
|
social_buttons_layout: "bottom" | "top";
|
|
700
|
+
logo_url_dark?: string | undefined;
|
|
597
701
|
} | undefined;
|
|
598
702
|
themeId?: string | undefined;
|
|
599
703
|
} | undefined;
|
|
@@ -16,6 +16,10 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
|
|
|
16
16
|
constraints?: Record<string, unknown> | undefined;
|
|
17
17
|
expires_in_seconds?: number | undefined;
|
|
18
18
|
single_use?: boolean | undefined;
|
|
19
|
+
preset?: "native" | "spa" | "regular_web" | undefined;
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
connections?: string[] | undefined;
|
|
22
|
+
is_first_party?: boolean | undefined;
|
|
19
23
|
};
|
|
20
24
|
};
|
|
21
25
|
output: {
|
|
@@ -27,6 +31,151 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
|
|
|
27
31
|
constraints?: {
|
|
28
32
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
29
33
|
} | undefined;
|
|
34
|
+
name?: string | undefined;
|
|
35
|
+
source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
|
|
36
|
+
ticket?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
outputFormat: "json";
|
|
39
|
+
status: 201;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
} & {
|
|
43
|
+
"/": {
|
|
44
|
+
$get: {
|
|
45
|
+
input: {
|
|
46
|
+
query: {
|
|
47
|
+
type?: "iat" | "rat" | undefined;
|
|
48
|
+
source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
|
|
49
|
+
client_id?: string | undefined;
|
|
50
|
+
page?: string | undefined;
|
|
51
|
+
per_page?: string | undefined;
|
|
52
|
+
include_totals?: string | undefined;
|
|
53
|
+
};
|
|
54
|
+
} & {
|
|
55
|
+
header: {
|
|
56
|
+
"tenant-id"?: string | undefined;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
output: {
|
|
60
|
+
id: string;
|
|
61
|
+
type: "iat" | "rat";
|
|
62
|
+
status: "active" | "revoked" | "expired" | "used";
|
|
63
|
+
single_use: boolean;
|
|
64
|
+
created_at: string;
|
|
65
|
+
source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
|
|
66
|
+
name?: string | undefined;
|
|
67
|
+
client_id?: string | undefined;
|
|
68
|
+
sub?: string | undefined;
|
|
69
|
+
created_by?: string | undefined;
|
|
70
|
+
constraints?: {
|
|
71
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
72
|
+
} | undefined;
|
|
73
|
+
expires_at?: string | undefined;
|
|
74
|
+
used_at?: string | undefined;
|
|
75
|
+
revoked_at?: string | undefined;
|
|
76
|
+
}[] | {
|
|
77
|
+
client_registration_tokens: {
|
|
78
|
+
id: string;
|
|
79
|
+
type: "iat" | "rat";
|
|
80
|
+
status: "active" | "revoked" | "expired" | "used";
|
|
81
|
+
single_use: boolean;
|
|
82
|
+
created_at: string;
|
|
83
|
+
source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
|
|
84
|
+
name?: string | undefined;
|
|
85
|
+
client_id?: string | undefined;
|
|
86
|
+
sub?: string | undefined;
|
|
87
|
+
created_by?: string | undefined;
|
|
88
|
+
constraints?: {
|
|
89
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
90
|
+
} | undefined;
|
|
91
|
+
expires_at?: string | undefined;
|
|
92
|
+
used_at?: string | undefined;
|
|
93
|
+
revoked_at?: string | undefined;
|
|
94
|
+
}[];
|
|
95
|
+
start: number;
|
|
96
|
+
limit: number;
|
|
97
|
+
length: number;
|
|
98
|
+
total: number;
|
|
99
|
+
};
|
|
100
|
+
outputFormat: "json";
|
|
101
|
+
status: 200;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
} & {
|
|
105
|
+
"/:id": {
|
|
106
|
+
$get: {
|
|
107
|
+
input: {
|
|
108
|
+
param: {
|
|
109
|
+
id: string;
|
|
110
|
+
};
|
|
111
|
+
} & {
|
|
112
|
+
header: {
|
|
113
|
+
"tenant-id"?: string | undefined;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
output: {
|
|
117
|
+
id: string;
|
|
118
|
+
type: "iat" | "rat";
|
|
119
|
+
status: "active" | "revoked" | "expired" | "used";
|
|
120
|
+
single_use: boolean;
|
|
121
|
+
created_at: string;
|
|
122
|
+
source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
|
|
123
|
+
name?: string | undefined;
|
|
124
|
+
client_id?: string | undefined;
|
|
125
|
+
sub?: string | undefined;
|
|
126
|
+
created_by?: string | undefined;
|
|
127
|
+
constraints?: {
|
|
128
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
129
|
+
} | undefined;
|
|
130
|
+
expires_at?: string | undefined;
|
|
131
|
+
used_at?: string | undefined;
|
|
132
|
+
revoked_at?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
outputFormat: "json";
|
|
135
|
+
status: 200;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
} & {
|
|
139
|
+
"/:id/revoke": {
|
|
140
|
+
$post: {
|
|
141
|
+
input: {
|
|
142
|
+
param: {
|
|
143
|
+
id: string;
|
|
144
|
+
};
|
|
145
|
+
} & {
|
|
146
|
+
header: {
|
|
147
|
+
"tenant-id"?: string | undefined;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
output: {};
|
|
151
|
+
outputFormat: string;
|
|
152
|
+
status: 202;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
}, "/">;
|
|
156
|
+
export declare const clientRegistrationTicketRoutes: OpenAPIHono<{
|
|
157
|
+
Bindings: Bindings;
|
|
158
|
+
Variables: Variables;
|
|
159
|
+
}, {
|
|
160
|
+
"/:id/registration-ticket": {
|
|
161
|
+
$post: {
|
|
162
|
+
input: {
|
|
163
|
+
param: {
|
|
164
|
+
id: string;
|
|
165
|
+
};
|
|
166
|
+
} & {
|
|
167
|
+
header: {
|
|
168
|
+
"tenant-id"?: string | undefined;
|
|
169
|
+
};
|
|
170
|
+
} & {
|
|
171
|
+
json: {
|
|
172
|
+
ttl_sec?: number | undefined;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
output: {
|
|
176
|
+
id: string;
|
|
177
|
+
ticket: string;
|
|
178
|
+
expires_at: string;
|
|
30
179
|
};
|
|
31
180
|
outputFormat: "json";
|
|
32
181
|
status: 201;
|
|
@@ -54,7 +54,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
54
54
|
can_create_session_transfer_token?: boolean | undefined;
|
|
55
55
|
enforce_cascade_revocation?: boolean | undefined;
|
|
56
56
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
57
|
-
enforce_device_binding?: "
|
|
57
|
+
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
58
58
|
allow_refresh_token?: boolean | undefined;
|
|
59
59
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
60
60
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -167,7 +167,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
167
167
|
can_create_session_transfer_token?: boolean | undefined;
|
|
168
168
|
enforce_cascade_revocation?: boolean | undefined;
|
|
169
169
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
170
|
-
enforce_device_binding?: "
|
|
170
|
+
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
171
171
|
allow_refresh_token?: boolean | undefined;
|
|
172
172
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
173
173
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -280,7 +280,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
280
280
|
can_create_session_transfer_token?: boolean | undefined;
|
|
281
281
|
enforce_cascade_revocation?: boolean | undefined;
|
|
282
282
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
283
|
-
enforce_device_binding?: "
|
|
283
|
+
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
284
284
|
allow_refresh_token?: boolean | undefined;
|
|
285
285
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
286
286
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -408,7 +408,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
408
408
|
can_create_session_transfer_token?: boolean | undefined;
|
|
409
409
|
enforce_cascade_revocation?: boolean | undefined;
|
|
410
410
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
411
|
-
enforce_device_binding?: "
|
|
411
|
+
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
412
412
|
allow_refresh_token?: boolean | undefined;
|
|
413
413
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
414
414
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -556,7 +556,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
556
556
|
can_create_session_transfer_token?: boolean | undefined;
|
|
557
557
|
enforce_cascade_revocation?: boolean | undefined;
|
|
558
558
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
559
|
-
enforce_device_binding?: "
|
|
559
|
+
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
560
560
|
allow_refresh_token?: boolean | undefined;
|
|
561
561
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
562
562
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -649,7 +649,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
649
649
|
can_create_session_transfer_token?: boolean | undefined;
|
|
650
650
|
enforce_cascade_revocation?: boolean | undefined;
|
|
651
651
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
652
|
-
enforce_device_binding?: "
|
|
652
|
+
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
653
653
|
allow_refresh_token?: boolean | undefined;
|
|
654
654
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
655
655
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -763,7 +763,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
763
763
|
can_create_session_transfer_token?: boolean | undefined;
|
|
764
764
|
enforce_cascade_revocation?: boolean | undefined;
|
|
765
765
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
766
|
-
enforce_device_binding?: "
|
|
766
|
+
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
767
767
|
allow_refresh_token?: boolean | undefined;
|
|
768
768
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
769
769
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -856,7 +856,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
856
856
|
can_create_session_transfer_token?: boolean | undefined;
|
|
857
857
|
enforce_cascade_revocation?: boolean | undefined;
|
|
858
858
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
859
|
-
enforce_device_binding?: "
|
|
859
|
+
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
860
860
|
allow_refresh_token?: boolean | undefined;
|
|
861
861
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
862
862
|
allow_onward_transfer?: boolean | 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: "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?: {
|