authhero 8.9.0 → 8.9.2
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 +144 -131
- package/dist/authhero.mjs +8109 -7979
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/password.d.ts +10 -1
- package/dist/types/authentication-flows/passwordless.d.ts +5 -5
- package/dist/types/helpers/avatar.d.ts +6 -0
- package/dist/types/index.d.ts +144 -131
- package/dist/types/routes/auth-api/avatars.d.ts +18 -0
- package/dist/types/routes/auth-api/index.d.ts +47 -34
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +13 -13
- 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/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/index.d.ts +94 -94
- 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 +3 -3
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/themes.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +3 -3
- package/dist/types/routes/universal-login/u2-routes.d.ts +3 -3
- package/package.json +5 -5
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Bindings, Variables } from "../../types";
|
|
2
|
+
export declare const avatarRoutes: import("hono/hono-base").HonoBase<{
|
|
3
|
+
Bindings: Bindings;
|
|
4
|
+
Variables: Variables;
|
|
5
|
+
}, {
|
|
6
|
+
"/:initials": {
|
|
7
|
+
$get: {
|
|
8
|
+
input: {
|
|
9
|
+
param: {
|
|
10
|
+
initials: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
output: string;
|
|
14
|
+
outputFormat: "body";
|
|
15
|
+
status: 200;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
}, "/", "/:initials">;
|
|
@@ -4,6 +4,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
4
4
|
Bindings: Bindings;
|
|
5
5
|
Variables: Variables;
|
|
6
6
|
}, import("hono/types").MergeSchemaPath<{
|
|
7
|
+
"/:initials": {
|
|
8
|
+
$get: {
|
|
9
|
+
input: {
|
|
10
|
+
param: {
|
|
11
|
+
initials: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
output: string;
|
|
15
|
+
outputFormat: "body";
|
|
16
|
+
status: 200;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}, "/avatars"> & import("hono/types").MergeSchemaPath<{
|
|
7
20
|
"/": {
|
|
8
21
|
$get: {
|
|
9
22
|
input: {
|
|
@@ -434,7 +447,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
434
447
|
client_id: string;
|
|
435
448
|
redirect_url?: string | undefined;
|
|
436
449
|
login_hint?: string | undefined;
|
|
437
|
-
screen_hint?: "
|
|
450
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
438
451
|
};
|
|
439
452
|
};
|
|
440
453
|
output: {};
|
|
@@ -446,7 +459,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
446
459
|
client_id: string;
|
|
447
460
|
redirect_url?: string | undefined;
|
|
448
461
|
login_hint?: string | undefined;
|
|
449
|
-
screen_hint?: "
|
|
462
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
450
463
|
};
|
|
451
464
|
};
|
|
452
465
|
output: {
|
|
@@ -723,19 +736,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
736
|
email: string;
|
|
724
737
|
send: "code" | "link";
|
|
725
738
|
authParams: {
|
|
739
|
+
username?: string | undefined;
|
|
726
740
|
audience?: string | undefined;
|
|
727
|
-
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
728
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
729
741
|
scope?: string | undefined;
|
|
730
|
-
username?: string | undefined;
|
|
731
|
-
prompt?: string | undefined;
|
|
732
742
|
state?: string | undefined;
|
|
733
|
-
|
|
734
|
-
|
|
743
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
744
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
745
|
+
code_challenge?: string | undefined;
|
|
746
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
735
747
|
redirect_uri?: string | undefined;
|
|
748
|
+
nonce?: string | undefined;
|
|
736
749
|
act_as?: string | undefined;
|
|
737
|
-
|
|
738
|
-
|
|
750
|
+
organization?: string | undefined;
|
|
751
|
+
prompt?: string | undefined;
|
|
739
752
|
ui_locales?: string | undefined;
|
|
740
753
|
max_age?: number | undefined;
|
|
741
754
|
acr_values?: string | undefined;
|
|
@@ -759,19 +772,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
759
772
|
phone_number: string;
|
|
760
773
|
send: "code" | "link";
|
|
761
774
|
authParams: {
|
|
775
|
+
username?: string | undefined;
|
|
762
776
|
audience?: string | undefined;
|
|
763
|
-
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
764
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
765
777
|
scope?: string | undefined;
|
|
766
|
-
username?: string | undefined;
|
|
767
|
-
prompt?: string | undefined;
|
|
768
778
|
state?: string | undefined;
|
|
769
|
-
|
|
770
|
-
|
|
779
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
780
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
781
|
+
code_challenge?: string | undefined;
|
|
782
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
771
783
|
redirect_uri?: string | undefined;
|
|
784
|
+
nonce?: string | undefined;
|
|
772
785
|
act_as?: string | undefined;
|
|
773
|
-
|
|
774
|
-
|
|
786
|
+
organization?: string | undefined;
|
|
787
|
+
prompt?: string | undefined;
|
|
775
788
|
ui_locales?: string | undefined;
|
|
776
789
|
max_age?: number | undefined;
|
|
777
790
|
acr_values?: string | undefined;
|
|
@@ -903,14 +916,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
903
916
|
input: {
|
|
904
917
|
form: {
|
|
905
918
|
token: string;
|
|
906
|
-
token_type_hint?: "
|
|
919
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
907
920
|
client_id?: string | undefined;
|
|
908
921
|
client_secret?: string | undefined;
|
|
909
922
|
};
|
|
910
923
|
} & {
|
|
911
924
|
json: {
|
|
912
925
|
token: string;
|
|
913
|
-
token_type_hint?: "
|
|
926
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
914
927
|
client_id?: string | undefined;
|
|
915
928
|
client_secret?: string | undefined;
|
|
916
929
|
};
|
|
@@ -922,14 +935,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
922
935
|
input: {
|
|
923
936
|
form: {
|
|
924
937
|
token: string;
|
|
925
|
-
token_type_hint?: "
|
|
938
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
926
939
|
client_id?: string | undefined;
|
|
927
940
|
client_secret?: string | undefined;
|
|
928
941
|
};
|
|
929
942
|
} & {
|
|
930
943
|
json: {
|
|
931
944
|
token: string;
|
|
932
|
-
token_type_hint?: "
|
|
945
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
933
946
|
client_id?: string | undefined;
|
|
934
947
|
client_secret?: string | undefined;
|
|
935
948
|
};
|
|
@@ -944,14 +957,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
944
957
|
input: {
|
|
945
958
|
form: {
|
|
946
959
|
token: string;
|
|
947
|
-
token_type_hint?: "
|
|
960
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
948
961
|
client_id?: string | undefined;
|
|
949
962
|
client_secret?: string | undefined;
|
|
950
963
|
};
|
|
951
964
|
} & {
|
|
952
965
|
json: {
|
|
953
966
|
token: string;
|
|
954
|
-
token_type_hint?: "
|
|
967
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
955
968
|
client_id?: string | undefined;
|
|
956
969
|
client_secret?: string | undefined;
|
|
957
970
|
};
|
|
@@ -1001,7 +1014,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1001
1014
|
client_id: string;
|
|
1002
1015
|
username: string;
|
|
1003
1016
|
otp: string;
|
|
1004
|
-
realm: "
|
|
1017
|
+
realm: "email" | "sms";
|
|
1005
1018
|
} | {
|
|
1006
1019
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1007
1020
|
subject_token: string;
|
|
@@ -1048,7 +1061,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1048
1061
|
client_id: string;
|
|
1049
1062
|
username: string;
|
|
1050
1063
|
otp: string;
|
|
1051
|
-
realm: "
|
|
1064
|
+
realm: "email" | "sms";
|
|
1052
1065
|
} | {
|
|
1053
1066
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1054
1067
|
subject_token: string;
|
|
@@ -1100,7 +1113,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1100
1113
|
client_id: string;
|
|
1101
1114
|
username: string;
|
|
1102
1115
|
otp: string;
|
|
1103
|
-
realm: "
|
|
1116
|
+
realm: "email" | "sms";
|
|
1104
1117
|
} | {
|
|
1105
1118
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1106
1119
|
subject_token: string;
|
|
@@ -1147,7 +1160,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1147
1160
|
client_id: string;
|
|
1148
1161
|
username: string;
|
|
1149
1162
|
otp: string;
|
|
1150
|
-
realm: "
|
|
1163
|
+
realm: "email" | "sms";
|
|
1151
1164
|
} | {
|
|
1152
1165
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1153
1166
|
subject_token: string;
|
|
@@ -1207,7 +1220,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1207
1220
|
client_id: string;
|
|
1208
1221
|
username: string;
|
|
1209
1222
|
otp: string;
|
|
1210
|
-
realm: "
|
|
1223
|
+
realm: "email" | "sms";
|
|
1211
1224
|
} | {
|
|
1212
1225
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1213
1226
|
subject_token: string;
|
|
@@ -1254,7 +1267,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1254
1267
|
client_id: string;
|
|
1255
1268
|
username: string;
|
|
1256
1269
|
otp: string;
|
|
1257
|
-
realm: "
|
|
1270
|
+
realm: "email" | "sms";
|
|
1258
1271
|
} | {
|
|
1259
1272
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1260
1273
|
subject_token: string;
|
|
@@ -1309,7 +1322,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1309
1322
|
client_id: string;
|
|
1310
1323
|
username: string;
|
|
1311
1324
|
otp: string;
|
|
1312
|
-
realm: "
|
|
1325
|
+
realm: "email" | "sms";
|
|
1313
1326
|
} | {
|
|
1314
1327
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1315
1328
|
subject_token: string;
|
|
@@ -1356,7 +1369,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1356
1369
|
client_id: string;
|
|
1357
1370
|
username: string;
|
|
1358
1371
|
otp: string;
|
|
1359
|
-
realm: "
|
|
1372
|
+
realm: "email" | "sms";
|
|
1360
1373
|
} | {
|
|
1361
1374
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1362
1375
|
subject_token: string;
|
|
@@ -1411,7 +1424,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1411
1424
|
client_id: string;
|
|
1412
1425
|
username: string;
|
|
1413
1426
|
otp: string;
|
|
1414
|
-
realm: "
|
|
1427
|
+
realm: "email" | "sms";
|
|
1415
1428
|
} | {
|
|
1416
1429
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1417
1430
|
subject_token: string;
|
|
@@ -1458,7 +1471,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1458
1471
|
client_id: string;
|
|
1459
1472
|
username: string;
|
|
1460
1473
|
otp: string;
|
|
1461
|
-
realm: "
|
|
1474
|
+
realm: "email" | "sms";
|
|
1462
1475
|
} | {
|
|
1463
1476
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1464
1477
|
subject_token: string;
|
|
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
username?: string | undefined;
|
|
17
18
|
audience?: string | undefined;
|
|
18
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
19
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
20
19
|
scope?: string | undefined;
|
|
21
|
-
username?: string | undefined;
|
|
22
|
-
prompt?: string | undefined;
|
|
23
20
|
state?: string | undefined;
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
22
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
23
|
+
code_challenge?: string | undefined;
|
|
24
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
26
25
|
redirect_uri?: string | undefined;
|
|
26
|
+
nonce?: string | undefined;
|
|
27
27
|
act_as?: string | undefined;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
organization?: string | undefined;
|
|
29
|
+
prompt?: string | undefined;
|
|
30
30
|
ui_locales?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
32
32
|
acr_values?: string | undefined;
|
|
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
username?: string | undefined;
|
|
53
54
|
audience?: string | undefined;
|
|
54
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
55
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
56
55
|
scope?: string | undefined;
|
|
57
|
-
username?: string | undefined;
|
|
58
|
-
prompt?: string | undefined;
|
|
59
56
|
state?: string | undefined;
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
58
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
59
|
+
code_challenge?: string | undefined;
|
|
60
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
62
61
|
redirect_uri?: string | undefined;
|
|
62
|
+
nonce?: string | undefined;
|
|
63
63
|
act_as?: string | undefined;
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
organization?: string | undefined;
|
|
65
|
+
prompt?: string | undefined;
|
|
66
66
|
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
9
9
|
input: {
|
|
10
10
|
form: {
|
|
11
11
|
token: string;
|
|
12
|
-
token_type_hint?: "
|
|
12
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
13
13
|
client_id?: string | undefined;
|
|
14
14
|
client_secret?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
} & {
|
|
17
17
|
json: {
|
|
18
18
|
token: string;
|
|
19
|
-
token_type_hint?: "
|
|
19
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
20
20
|
client_id?: string | undefined;
|
|
21
21
|
client_secret?: string | undefined;
|
|
22
22
|
};
|
|
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
28
28
|
input: {
|
|
29
29
|
form: {
|
|
30
30
|
token: string;
|
|
31
|
-
token_type_hint?: "
|
|
31
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
32
32
|
client_id?: string | undefined;
|
|
33
33
|
client_secret?: string | undefined;
|
|
34
34
|
};
|
|
35
35
|
} & {
|
|
36
36
|
json: {
|
|
37
37
|
token: string;
|
|
38
|
-
token_type_hint?: "
|
|
38
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
39
39
|
client_id?: string | undefined;
|
|
40
40
|
client_secret?: string | undefined;
|
|
41
41
|
};
|
|
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
50
50
|
input: {
|
|
51
51
|
form: {
|
|
52
52
|
token: string;
|
|
53
|
-
token_type_hint?: "
|
|
53
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
54
54
|
client_id?: string | undefined;
|
|
55
55
|
client_secret?: string | undefined;
|
|
56
56
|
};
|
|
57
57
|
} & {
|
|
58
58
|
json: {
|
|
59
59
|
token: string;
|
|
60
|
-
token_type_hint?: "
|
|
60
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
61
61
|
client_id?: string | undefined;
|
|
62
62
|
client_secret?: string | undefined;
|
|
63
63
|
};
|
|
@@ -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: "email" | "sms";
|
|
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: "email" | "sms";
|
|
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: "email" | "sms";
|
|
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: "email" | "sms";
|
|
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: "email" | "sms";
|
|
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: "email" | "sms";
|
|
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: "email" | "sms";
|
|
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: "email" | "sms";
|
|
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: "email" | "sms";
|
|
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: "email" | "sms";
|
|
501
501
|
} | {
|
|
502
502
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
503
503
|
subject_token: string;
|
|
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
661
661
|
args: import("hono/utils/types").JSONValue[];
|
|
662
662
|
}[];
|
|
663
663
|
logs: {
|
|
664
|
-
level: "
|
|
664
|
+
level: "log" | "error" | "info" | "warn" | "debug";
|
|
665
665
|
message: string;
|
|
666
666
|
}[];
|
|
667
667
|
error?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
40
|
+
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
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: "auto" | "light" | "dark";
|
|
31
31
|
error: string;
|
|
32
32
|
header: string;
|
|
33
33
|
icons: string;
|
|
@@ -78,7 +78,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
78
78
|
background_color: string;
|
|
79
79
|
background_image_url: string;
|
|
80
80
|
page_layout: "center" | "left" | "right";
|
|
81
|
-
logo_placement?: "widget" | "
|
|
81
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
82
82
|
};
|
|
83
83
|
widget: {
|
|
84
84
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -117,7 +117,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
117
117
|
base_focus_color: string;
|
|
118
118
|
base_hover_color: string;
|
|
119
119
|
body_text: string;
|
|
120
|
-
captcha_widget_theme: "
|
|
120
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
121
121
|
error: string;
|
|
122
122
|
header: string;
|
|
123
123
|
icons: string;
|
|
@@ -168,7 +168,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
168
168
|
background_color: string;
|
|
169
169
|
background_image_url: string;
|
|
170
170
|
page_layout: "center" | "left" | "right";
|
|
171
|
-
logo_placement?: "widget" | "
|
|
171
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
172
172
|
};
|
|
173
173
|
widget: {
|
|
174
174
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -196,7 +196,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
196
196
|
base_focus_color: string;
|
|
197
197
|
base_hover_color: string;
|
|
198
198
|
body_text: string;
|
|
199
|
-
captcha_widget_theme: "
|
|
199
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
200
200
|
error: string;
|
|
201
201
|
header: string;
|
|
202
202
|
icons: string;
|
|
@@ -247,7 +247,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
247
247
|
background_color: string;
|
|
248
248
|
background_image_url: string;
|
|
249
249
|
page_layout: "center" | "left" | "right";
|
|
250
|
-
logo_placement?: "widget" | "
|
|
250
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
251
251
|
};
|
|
252
252
|
widget: {
|
|
253
253
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -286,7 +286,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
286
286
|
font?: {
|
|
287
287
|
url: string;
|
|
288
288
|
} | undefined;
|
|
289
|
-
dark_mode?: "
|
|
289
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
290
290
|
};
|
|
291
291
|
outputFormat: "json";
|
|
292
292
|
status: 200;
|
|
@@ -316,7 +316,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
316
316
|
font?: {
|
|
317
317
|
url: string;
|
|
318
318
|
} | undefined;
|
|
319
|
-
dark_mode?: "
|
|
319
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
320
320
|
};
|
|
321
321
|
};
|
|
322
322
|
output: {
|
|
@@ -335,7 +335,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
335
335
|
font?: {
|
|
336
336
|
url: string;
|
|
337
337
|
} | undefined;
|
|
338
|
-
dark_mode?: "
|
|
338
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
339
339
|
};
|
|
340
340
|
outputFormat: "json";
|
|
341
341
|
status: 200;
|
|
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
409
409
|
} & {
|
|
410
410
|
json: {
|
|
411
411
|
body?: string | undefined;
|
|
412
|
-
screen?: "
|
|
412
|
+
screen?: "identifier" | "signup" | "password" | "login" | 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?: "auto" | "light" | "dark" | 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: "auto" | "light" | "dark";
|
|
448
448
|
error: string;
|
|
449
449
|
header: string;
|
|
450
450
|
icons: string;
|
|
@@ -495,7 +495,7 @@ 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" | "chip" | "none" | undefined;
|
|
499
499
|
} | undefined;
|
|
500
500
|
widget?: {
|
|
501
501
|
header_text_alignment: "center" | "left" | "right";
|