authhero 8.9.2 → 8.10.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/authhero.cjs +109 -109
- package/dist/authhero.d.ts +358 -268
- package/dist/authhero.mjs +8283 -8163
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +5 -5
- package/dist/types/index.d.ts +283 -266
- package/dist/types/routes/auth-api/index.d.ts +26 -26
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- 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 +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +17 -17
- package/dist/types/routes/management-api/clients.d.ts +8 -8
- package/dist/types/routes/management-api/connections.d.ts +15 -15
- 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/failed-events.d.ts +1 -1
- package/dist/types/routes/management-api/forms.d.ts +126 -126
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/hook-code.d.ts +2 -2
- package/dist/types/routes/management-api/index.d.ts +240 -224
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/organizations.d.ts +1 -1
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/tenant-export-import.d.ts +16 -0
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/themes.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/proxy-control-plane/kv-publish.d.ts +75 -0
- package/dist/types/routes/proxy-control-plane/kv-publish.test.d.ts +1 -0
- package/dist/types/routes/universal-login/common.d.ts +10 -10
- 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/types/IdToken.d.ts +2 -2
- package/package.json +4 -4
|
@@ -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,17 +739,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
739
739
|
username?: string | undefined;
|
|
740
740
|
audience?: string | undefined;
|
|
741
741
|
scope?: string | undefined;
|
|
742
|
-
state?: string | undefined;
|
|
743
742
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
744
743
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
745
|
-
|
|
746
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
747
|
-
redirect_uri?: string | undefined;
|
|
748
|
-
nonce?: string | undefined;
|
|
749
|
-
act_as?: string | undefined;
|
|
750
|
-
organization?: string | undefined;
|
|
744
|
+
state?: string | undefined;
|
|
751
745
|
prompt?: string | undefined;
|
|
752
746
|
ui_locales?: string | undefined;
|
|
747
|
+
organization?: string | undefined;
|
|
748
|
+
redirect_uri?: string | undefined;
|
|
749
|
+
act_as?: string | undefined;
|
|
750
|
+
nonce?: string | undefined;
|
|
751
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
752
|
+
code_challenge?: string | undefined;
|
|
753
753
|
max_age?: number | undefined;
|
|
754
754
|
acr_values?: string | undefined;
|
|
755
755
|
claims?: {
|
|
@@ -775,17 +775,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
775
775
|
username?: string | undefined;
|
|
776
776
|
audience?: string | undefined;
|
|
777
777
|
scope?: string | undefined;
|
|
778
|
-
state?: string | undefined;
|
|
779
778
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
780
779
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
781
|
-
|
|
782
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
783
|
-
redirect_uri?: string | undefined;
|
|
784
|
-
nonce?: string | undefined;
|
|
785
|
-
act_as?: string | undefined;
|
|
786
|
-
organization?: string | undefined;
|
|
780
|
+
state?: string | undefined;
|
|
787
781
|
prompt?: string | undefined;
|
|
788
782
|
ui_locales?: string | undefined;
|
|
783
|
+
organization?: string | undefined;
|
|
784
|
+
redirect_uri?: string | undefined;
|
|
785
|
+
act_as?: string | undefined;
|
|
786
|
+
nonce?: string | undefined;
|
|
787
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
788
|
+
code_challenge?: string | undefined;
|
|
789
789
|
max_age?: number | undefined;
|
|
790
790
|
acr_values?: string | undefined;
|
|
791
791
|
claims?: {
|
|
@@ -1014,7 +1014,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1014
1014
|
client_id: string;
|
|
1015
1015
|
username: string;
|
|
1016
1016
|
otp: string;
|
|
1017
|
-
realm: "
|
|
1017
|
+
realm: "sms" | "email";
|
|
1018
1018
|
} | {
|
|
1019
1019
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1020
1020
|
subject_token: string;
|
|
@@ -1061,7 +1061,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1061
1061
|
client_id: string;
|
|
1062
1062
|
username: string;
|
|
1063
1063
|
otp: string;
|
|
1064
|
-
realm: "
|
|
1064
|
+
realm: "sms" | "email";
|
|
1065
1065
|
} | {
|
|
1066
1066
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1067
1067
|
subject_token: string;
|
|
@@ -1113,7 +1113,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1113
1113
|
client_id: string;
|
|
1114
1114
|
username: string;
|
|
1115
1115
|
otp: string;
|
|
1116
|
-
realm: "
|
|
1116
|
+
realm: "sms" | "email";
|
|
1117
1117
|
} | {
|
|
1118
1118
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1119
1119
|
subject_token: string;
|
|
@@ -1160,7 +1160,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1160
1160
|
client_id: string;
|
|
1161
1161
|
username: string;
|
|
1162
1162
|
otp: string;
|
|
1163
|
-
realm: "
|
|
1163
|
+
realm: "sms" | "email";
|
|
1164
1164
|
} | {
|
|
1165
1165
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1166
1166
|
subject_token: string;
|
|
@@ -1220,7 +1220,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1220
1220
|
client_id: string;
|
|
1221
1221
|
username: string;
|
|
1222
1222
|
otp: string;
|
|
1223
|
-
realm: "
|
|
1223
|
+
realm: "sms" | "email";
|
|
1224
1224
|
} | {
|
|
1225
1225
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1226
1226
|
subject_token: string;
|
|
@@ -1267,7 +1267,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1267
1267
|
client_id: string;
|
|
1268
1268
|
username: string;
|
|
1269
1269
|
otp: string;
|
|
1270
|
-
realm: "
|
|
1270
|
+
realm: "sms" | "email";
|
|
1271
1271
|
} | {
|
|
1272
1272
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1273
1273
|
subject_token: string;
|
|
@@ -1322,7 +1322,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1322
1322
|
client_id: string;
|
|
1323
1323
|
username: string;
|
|
1324
1324
|
otp: string;
|
|
1325
|
-
realm: "
|
|
1325
|
+
realm: "sms" | "email";
|
|
1326
1326
|
} | {
|
|
1327
1327
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1328
1328
|
subject_token: string;
|
|
@@ -1369,7 +1369,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1369
1369
|
client_id: string;
|
|
1370
1370
|
username: string;
|
|
1371
1371
|
otp: string;
|
|
1372
|
-
realm: "
|
|
1372
|
+
realm: "sms" | "email";
|
|
1373
1373
|
} | {
|
|
1374
1374
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1375
1375
|
subject_token: string;
|
|
@@ -1424,7 +1424,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1424
1424
|
client_id: string;
|
|
1425
1425
|
username: string;
|
|
1426
1426
|
otp: string;
|
|
1427
|
-
realm: "
|
|
1427
|
+
realm: "sms" | "email";
|
|
1428
1428
|
} | {
|
|
1429
1429
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1430
1430
|
subject_token: string;
|
|
@@ -1471,7 +1471,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1471
1471
|
client_id: string;
|
|
1472
1472
|
username: string;
|
|
1473
1473
|
otp: string;
|
|
1474
|
-
realm: "
|
|
1474
|
+
realm: "sms" | "email";
|
|
1475
1475
|
} | {
|
|
1476
1476
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1477
1477
|
subject_token: string;
|
|
@@ -17,17 +17,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
17
17
|
username?: string | undefined;
|
|
18
18
|
audience?: string | undefined;
|
|
19
19
|
scope?: string | undefined;
|
|
20
|
-
state?: string | undefined;
|
|
21
20
|
response_type?: AuthorizationResponseType | undefined;
|
|
22
21
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
23
|
-
|
|
24
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
25
|
-
redirect_uri?: string | undefined;
|
|
26
|
-
nonce?: string | undefined;
|
|
27
|
-
act_as?: string | undefined;
|
|
28
|
-
organization?: string | undefined;
|
|
22
|
+
state?: string | undefined;
|
|
29
23
|
prompt?: string | undefined;
|
|
30
24
|
ui_locales?: string | undefined;
|
|
25
|
+
organization?: string | undefined;
|
|
26
|
+
redirect_uri?: string | undefined;
|
|
27
|
+
act_as?: string | undefined;
|
|
28
|
+
nonce?: string | undefined;
|
|
29
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
30
|
+
code_challenge?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
32
32
|
acr_values?: string | undefined;
|
|
33
33
|
claims?: {
|
|
@@ -53,17 +53,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
53
53
|
username?: string | undefined;
|
|
54
54
|
audience?: string | undefined;
|
|
55
55
|
scope?: string | undefined;
|
|
56
|
-
state?: string | undefined;
|
|
57
56
|
response_type?: AuthorizationResponseType | undefined;
|
|
58
57
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
59
|
-
|
|
60
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
61
|
-
redirect_uri?: string | undefined;
|
|
62
|
-
nonce?: string | undefined;
|
|
63
|
-
act_as?: string | undefined;
|
|
64
|
-
organization?: string | undefined;
|
|
58
|
+
state?: string | undefined;
|
|
65
59
|
prompt?: string | undefined;
|
|
66
60
|
ui_locales?: string | undefined;
|
|
61
|
+
organization?: string | undefined;
|
|
62
|
+
redirect_uri?: string | undefined;
|
|
63
|
+
act_as?: string | undefined;
|
|
64
|
+
nonce?: string | undefined;
|
|
65
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
66
|
+
code_challenge?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
69
69
|
claims?: {
|
|
@@ -40,7 +40,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
40
40
|
client_id: string;
|
|
41
41
|
username: string;
|
|
42
42
|
otp: string;
|
|
43
|
-
realm: "
|
|
43
|
+
realm: "sms" | "email";
|
|
44
44
|
} | {
|
|
45
45
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
46
46
|
subject_token: string;
|
|
@@ -87,7 +87,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
87
87
|
client_id: string;
|
|
88
88
|
username: string;
|
|
89
89
|
otp: string;
|
|
90
|
-
realm: "
|
|
90
|
+
realm: "sms" | "email";
|
|
91
91
|
} | {
|
|
92
92
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
93
93
|
subject_token: string;
|
|
@@ -139,7 +139,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
139
139
|
client_id: string;
|
|
140
140
|
username: string;
|
|
141
141
|
otp: string;
|
|
142
|
-
realm: "
|
|
142
|
+
realm: "sms" | "email";
|
|
143
143
|
} | {
|
|
144
144
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
145
145
|
subject_token: string;
|
|
@@ -186,7 +186,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
186
186
|
client_id: string;
|
|
187
187
|
username: string;
|
|
188
188
|
otp: string;
|
|
189
|
-
realm: "
|
|
189
|
+
realm: "sms" | "email";
|
|
190
190
|
} | {
|
|
191
191
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
192
192
|
subject_token: string;
|
|
@@ -246,7 +246,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
246
246
|
client_id: string;
|
|
247
247
|
username: string;
|
|
248
248
|
otp: string;
|
|
249
|
-
realm: "
|
|
249
|
+
realm: "sms" | "email";
|
|
250
250
|
} | {
|
|
251
251
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
252
252
|
subject_token: string;
|
|
@@ -293,7 +293,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
293
293
|
client_id: string;
|
|
294
294
|
username: string;
|
|
295
295
|
otp: string;
|
|
296
|
-
realm: "
|
|
296
|
+
realm: "sms" | "email";
|
|
297
297
|
} | {
|
|
298
298
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
299
299
|
subject_token: string;
|
|
@@ -348,7 +348,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
348
348
|
client_id: string;
|
|
349
349
|
username: string;
|
|
350
350
|
otp: string;
|
|
351
|
-
realm: "
|
|
351
|
+
realm: "sms" | "email";
|
|
352
352
|
} | {
|
|
353
353
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
354
354
|
subject_token: string;
|
|
@@ -395,7 +395,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
395
395
|
client_id: string;
|
|
396
396
|
username: string;
|
|
397
397
|
otp: string;
|
|
398
|
-
realm: "
|
|
398
|
+
realm: "sms" | "email";
|
|
399
399
|
} | {
|
|
400
400
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
401
401
|
subject_token: string;
|
|
@@ -450,7 +450,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
450
450
|
client_id: string;
|
|
451
451
|
username: string;
|
|
452
452
|
otp: string;
|
|
453
|
-
realm: "
|
|
453
|
+
realm: "sms" | "email";
|
|
454
454
|
} | {
|
|
455
455
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
456
456
|
subject_token: string;
|
|
@@ -497,7 +497,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
497
497
|
client_id: string;
|
|
498
498
|
username: string;
|
|
499
499
|
otp: string;
|
|
500
|
-
realm: "
|
|
500
|
+
realm: "sms" | "email";
|
|
501
501
|
} | {
|
|
502
502
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
503
503
|
subject_token: string;
|
|
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
|
|
|
31
31
|
output: {
|
|
32
32
|
id: string;
|
|
33
33
|
trigger_id: string;
|
|
34
|
-
status: "pending" | "
|
|
34
|
+
status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
|
|
35
35
|
results: {
|
|
36
36
|
action_name: string;
|
|
37
37
|
error: {
|
|
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
|
|
|
78
78
|
logs: {
|
|
79
79
|
action_name: string;
|
|
80
80
|
lines: {
|
|
81
|
-
level: "
|
|
81
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
82
82
|
message: string;
|
|
83
83
|
}[];
|
|
84
84
|
}[];
|
|
@@ -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: "error" | "log" | "info" | "warn" | "debug";
|
|
665
665
|
message: string;
|
|
666
666
|
}[];
|
|
667
667
|
error?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "push" | "email" | "passkey" | "
|
|
40
|
+
type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: 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: "dark" | "light" | "auto";
|
|
31
31
|
error: string;
|
|
32
32
|
header: string;
|
|
33
33
|
icons: string;
|
|
@@ -78,12 +78,12 @@ 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?: "widget" | "
|
|
81
|
+
logo_placement?: "widget" | "none" | "chip" | undefined;
|
|
82
82
|
};
|
|
83
83
|
widget: {
|
|
84
84
|
header_text_alignment: "center" | "left" | "right";
|
|
85
85
|
logo_height: number;
|
|
86
|
-
logo_position: "
|
|
86
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
87
87
|
logo_url: string;
|
|
88
88
|
social_buttons_layout: "bottom" | "top";
|
|
89
89
|
};
|
|
@@ -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: "dark" | "light" | "auto";
|
|
121
121
|
error: string;
|
|
122
122
|
header: string;
|
|
123
123
|
icons: string;
|
|
@@ -168,12 +168,12 @@ 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?: "widget" | "
|
|
171
|
+
logo_placement?: "widget" | "none" | "chip" | undefined;
|
|
172
172
|
};
|
|
173
173
|
widget: {
|
|
174
174
|
header_text_alignment: "center" | "left" | "right";
|
|
175
175
|
logo_height: number;
|
|
176
|
-
logo_position: "
|
|
176
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
177
177
|
logo_url: string;
|
|
178
178
|
social_buttons_layout: "bottom" | "top";
|
|
179
179
|
};
|
|
@@ -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: "dark" | "light" | "auto";
|
|
200
200
|
error: string;
|
|
201
201
|
header: string;
|
|
202
202
|
icons: string;
|
|
@@ -247,12 +247,12 @@ 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?: "widget" | "
|
|
250
|
+
logo_placement?: "widget" | "none" | "chip" | undefined;
|
|
251
251
|
};
|
|
252
252
|
widget: {
|
|
253
253
|
header_text_alignment: "center" | "left" | "right";
|
|
254
254
|
logo_height: number;
|
|
255
|
-
logo_position: "
|
|
255
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
256
256
|
logo_url: string;
|
|
257
257
|
social_buttons_layout: "bottom" | "top";
|
|
258
258
|
};
|
|
@@ -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?: "dark" | "light" | "auto" | 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?: "dark" | "light" | "auto" | 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?: "dark" | "light" | "auto" | undefined;
|
|
339
339
|
};
|
|
340
340
|
outputFormat: "json";
|
|
341
341
|
status: 200;
|
|
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
409
409
|
} & {
|
|
410
410
|
json: {
|
|
411
411
|
body?: string | undefined;
|
|
412
|
-
screen?: "
|
|
412
|
+
screen?: "password" | "login" | "identifier" | "signup" | undefined;
|
|
413
413
|
branding?: {
|
|
414
414
|
colors?: {
|
|
415
415
|
primary: string;
|
|
@@ -426,7 +426,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
426
426
|
font?: {
|
|
427
427
|
url: string;
|
|
428
428
|
} | undefined;
|
|
429
|
-
dark_mode?: "
|
|
429
|
+
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
430
430
|
} | undefined;
|
|
431
431
|
theme?: {
|
|
432
432
|
borders?: {
|
|
@@ -444,7 +444,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
444
444
|
base_focus_color: string;
|
|
445
445
|
base_hover_color: string;
|
|
446
446
|
body_text: string;
|
|
447
|
-
captcha_widget_theme: "
|
|
447
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
448
448
|
error: string;
|
|
449
449
|
header: string;
|
|
450
450
|
icons: string;
|
|
@@ -495,12 +495,12 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
495
495
|
background_color: string;
|
|
496
496
|
background_image_url: string;
|
|
497
497
|
page_layout: "center" | "left" | "right";
|
|
498
|
-
logo_placement?: "widget" | "
|
|
498
|
+
logo_placement?: "widget" | "none" | "chip" | undefined;
|
|
499
499
|
} | undefined;
|
|
500
500
|
widget?: {
|
|
501
501
|
header_text_alignment: "center" | "left" | "right";
|
|
502
502
|
logo_height: number;
|
|
503
|
-
logo_position: "
|
|
503
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
504
504
|
logo_url: string;
|
|
505
505
|
social_buttons_layout: "bottom" | "top";
|
|
506
506
|
} | undefined;
|
|
@@ -760,7 +760,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
760
760
|
active?: boolean | undefined;
|
|
761
761
|
} | undefined;
|
|
762
762
|
signup?: {
|
|
763
|
-
status?: "optional" | "
|
|
763
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
764
764
|
verification?: {
|
|
765
765
|
active?: boolean | undefined;
|
|
766
766
|
} | undefined;
|
|
@@ -777,7 +777,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
777
777
|
active?: boolean | undefined;
|
|
778
778
|
} | undefined;
|
|
779
779
|
signup?: {
|
|
780
|
-
status?: "optional" | "
|
|
780
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
781
781
|
} | undefined;
|
|
782
782
|
validation?: {
|
|
783
783
|
max_length?: number | undefined;
|
|
@@ -794,7 +794,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
794
794
|
active?: boolean | undefined;
|
|
795
795
|
} | undefined;
|
|
796
796
|
signup?: {
|
|
797
|
-
status?: "optional" | "
|
|
797
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
798
798
|
} | undefined;
|
|
799
799
|
} | undefined;
|
|
800
800
|
} | 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?: "both" | "autofill" | "button" | undefined;
|
|
811
811
|
local_enrollment_enabled?: boolean | undefined;
|
|
812
812
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
813
813
|
} | undefined;
|
|
@@ -914,7 +914,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
914
914
|
active?: boolean | undefined;
|
|
915
915
|
} | undefined;
|
|
916
916
|
signup?: {
|
|
917
|
-
status?: "optional" | "
|
|
917
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
918
918
|
verification?: {
|
|
919
919
|
active?: boolean | undefined;
|
|
920
920
|
} | undefined;
|
|
@@ -931,7 +931,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
931
931
|
active?: boolean | undefined;
|
|
932
932
|
} | undefined;
|
|
933
933
|
signup?: {
|
|
934
|
-
status?: "optional" | "
|
|
934
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
935
935
|
} | undefined;
|
|
936
936
|
validation?: {
|
|
937
937
|
max_length?: number | undefined;
|
|
@@ -948,7 +948,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
948
948
|
active?: boolean | undefined;
|
|
949
949
|
} | undefined;
|
|
950
950
|
signup?: {
|
|
951
|
-
status?: "optional" | "
|
|
951
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
952
952
|
} | undefined;
|
|
953
953
|
} | undefined;
|
|
954
954
|
} | 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?: "both" | "autofill" | "button" | undefined;
|
|
965
965
|
local_enrollment_enabled?: boolean | undefined;
|
|
966
966
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
967
967
|
} | undefined;
|