authhero 9.28.1 → 9.28.3
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 +159 -191
- package/dist/authhero.d.ts +257 -257
- package/dist/authhero.mjs +19138 -20691
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +4 -4
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +257 -257
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/device.d.ts +8 -8
- package/dist/types/routes/auth-api/index.d.ts +33 -33
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +4 -4
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-triggers.d.ts +4 -4
- package/dist/types/routes/management-api/actions.d.ts +14 -14
- package/dist/types/routes/management-api/branding.d.ts +18 -18
- package/dist/types/routes/management-api/clients.d.ts +2 -2
- package/dist/types/routes/management-api/connections.d.ts +8 -8
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/emails.d.ts +6 -6
- package/dist/types/routes/management-api/failed-events.d.ts +2 -2
- package/dist/types/routes/management-api/flows.d.ts +8 -8
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/hooks.d.ts +35 -35
- package/dist/types/routes/management-api/index.d.ts +209 -209
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- 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 +7 -7
- package/dist/types/routes/management-api/prompts.d.ts +8 -8
- package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
- package/dist/types/routes/management-api/roles.d.ts +7 -7
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +9 -9
- package/dist/types/routes/management-api/tenants.d.ts +14 -14
- package/dist/types/routes/management-api/themes.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +24 -24
- package/dist/types/routes/saml/index.d.ts +6 -6
- package/dist/types/routes/saml/samlp.d.ts +6 -6
- package/dist/types/routes/universal-login/common.d.ts +14 -14
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +4 -4
- 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/package.json +7 -7
|
@@ -11,7 +11,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
11
11
|
client_id: string;
|
|
12
12
|
redirect_url?: string | undefined;
|
|
13
13
|
login_hint?: string | undefined;
|
|
14
|
-
screen_hint?: "
|
|
14
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
output: {};
|
|
@@ -23,7 +23,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
23
23
|
client_id: string;
|
|
24
24
|
redirect_url?: string | undefined;
|
|
25
25
|
login_hint?: string | undefined;
|
|
26
|
-
screen_hint?: "
|
|
26
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
output: {
|
|
@@ -12,7 +12,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
12
12
|
client_secret?: string | undefined;
|
|
13
13
|
scope?: string | undefined;
|
|
14
14
|
audience?: string | undefined;
|
|
15
|
-
include_qr_code?: boolean | "
|
|
15
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
18
|
json: {
|
|
@@ -20,7 +20,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
20
20
|
client_secret?: string | undefined;
|
|
21
21
|
scope?: string | undefined;
|
|
22
22
|
audience?: string | undefined;
|
|
23
|
-
include_qr_code?: boolean | "
|
|
23
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
output: {
|
|
@@ -41,7 +41,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
41
41
|
client_secret?: string | undefined;
|
|
42
42
|
scope?: string | undefined;
|
|
43
43
|
audience?: string | undefined;
|
|
44
|
-
include_qr_code?: boolean | "
|
|
44
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
45
45
|
};
|
|
46
46
|
} & {
|
|
47
47
|
json: {
|
|
@@ -49,7 +49,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
49
49
|
client_secret?: string | undefined;
|
|
50
50
|
scope?: string | undefined;
|
|
51
51
|
audience?: string | undefined;
|
|
52
|
-
include_qr_code?: boolean | "
|
|
52
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
output: {
|
|
@@ -65,7 +65,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
65
65
|
client_secret?: string | undefined;
|
|
66
66
|
scope?: string | undefined;
|
|
67
67
|
audience?: string | undefined;
|
|
68
|
-
include_qr_code?: boolean | "
|
|
68
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
69
69
|
};
|
|
70
70
|
} & {
|
|
71
71
|
json: {
|
|
@@ -73,7 +73,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
73
73
|
client_secret?: string | undefined;
|
|
74
74
|
scope?: string | undefined;
|
|
75
75
|
audience?: string | undefined;
|
|
76
|
-
include_qr_code?: boolean | "
|
|
76
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
output: {
|
|
@@ -89,7 +89,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
89
89
|
client_secret?: string | undefined;
|
|
90
90
|
scope?: string | undefined;
|
|
91
91
|
audience?: string | undefined;
|
|
92
|
-
include_qr_code?: boolean | "
|
|
92
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
93
93
|
};
|
|
94
94
|
} & {
|
|
95
95
|
json: {
|
|
@@ -97,7 +97,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
97
97
|
client_secret?: string | undefined;
|
|
98
98
|
scope?: string | undefined;
|
|
99
99
|
audience?: string | undefined;
|
|
100
|
-
include_qr_code?: boolean | "
|
|
100
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
output: {
|
|
@@ -447,7 +447,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
447
447
|
client_id: string;
|
|
448
448
|
redirect_url?: string | undefined;
|
|
449
449
|
login_hint?: string | undefined;
|
|
450
|
-
screen_hint?: "
|
|
450
|
+
screen_hint?: "account" | "change-email" | "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?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
463
463
|
};
|
|
464
464
|
};
|
|
465
465
|
output: {
|
|
@@ -741,14 +741,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
741
741
|
email: string;
|
|
742
742
|
send: "code" | "link";
|
|
743
743
|
authParams: {
|
|
744
|
+
audience?: string | undefined;
|
|
744
745
|
username?: string | undefined;
|
|
745
746
|
scope?: string | undefined;
|
|
746
747
|
state?: string | undefined;
|
|
747
|
-
audience?: string | undefined;
|
|
748
|
-
redirect_uri?: string | undefined;
|
|
749
748
|
act_as?: string | undefined;
|
|
750
749
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
751
750
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
751
|
+
redirect_uri?: string | undefined;
|
|
752
752
|
organization?: string | undefined;
|
|
753
753
|
nonce?: string | undefined;
|
|
754
754
|
prompt?: string | undefined;
|
|
@@ -777,14 +777,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
777
777
|
phone_number: string;
|
|
778
778
|
send: "code" | "link";
|
|
779
779
|
authParams: {
|
|
780
|
+
audience?: string | undefined;
|
|
780
781
|
username?: string | undefined;
|
|
781
782
|
scope?: string | undefined;
|
|
782
783
|
state?: string | undefined;
|
|
783
|
-
audience?: string | undefined;
|
|
784
|
-
redirect_uri?: string | undefined;
|
|
785
784
|
act_as?: string | undefined;
|
|
786
785
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
787
786
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
787
|
+
redirect_uri?: string | undefined;
|
|
788
788
|
organization?: string | undefined;
|
|
789
789
|
nonce?: string | undefined;
|
|
790
790
|
prompt?: string | undefined;
|
|
@@ -921,14 +921,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
921
921
|
input: {
|
|
922
922
|
form: {
|
|
923
923
|
token: string;
|
|
924
|
-
token_type_hint?: "
|
|
924
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
925
925
|
client_id?: string | undefined;
|
|
926
926
|
client_secret?: string | undefined;
|
|
927
927
|
};
|
|
928
928
|
} & {
|
|
929
929
|
json: {
|
|
930
930
|
token: string;
|
|
931
|
-
token_type_hint?: "
|
|
931
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
932
932
|
client_id?: string | undefined;
|
|
933
933
|
client_secret?: string | undefined;
|
|
934
934
|
};
|
|
@@ -940,14 +940,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
940
940
|
input: {
|
|
941
941
|
form: {
|
|
942
942
|
token: string;
|
|
943
|
-
token_type_hint?: "
|
|
943
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
944
944
|
client_id?: string | undefined;
|
|
945
945
|
client_secret?: string | undefined;
|
|
946
946
|
};
|
|
947
947
|
} & {
|
|
948
948
|
json: {
|
|
949
949
|
token: string;
|
|
950
|
-
token_type_hint?: "
|
|
950
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
951
951
|
client_id?: string | undefined;
|
|
952
952
|
client_secret?: string | undefined;
|
|
953
953
|
};
|
|
@@ -962,14 +962,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
962
962
|
input: {
|
|
963
963
|
form: {
|
|
964
964
|
token: string;
|
|
965
|
-
token_type_hint?: "
|
|
965
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
966
966
|
client_id?: string | undefined;
|
|
967
967
|
client_secret?: string | undefined;
|
|
968
968
|
};
|
|
969
969
|
} & {
|
|
970
970
|
json: {
|
|
971
971
|
token: string;
|
|
972
|
-
token_type_hint?: "
|
|
972
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
973
973
|
client_id?: string | undefined;
|
|
974
974
|
client_secret?: string | undefined;
|
|
975
975
|
};
|
|
@@ -1015,7 +1015,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1015
1015
|
client_secret?: string | undefined;
|
|
1016
1016
|
scope?: string | undefined;
|
|
1017
1017
|
audience?: string | undefined;
|
|
1018
|
-
include_qr_code?: boolean | "
|
|
1018
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1019
1019
|
};
|
|
1020
1020
|
} & {
|
|
1021
1021
|
json: {
|
|
@@ -1023,7 +1023,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1023
1023
|
client_secret?: string | undefined;
|
|
1024
1024
|
scope?: string | undefined;
|
|
1025
1025
|
audience?: string | undefined;
|
|
1026
|
-
include_qr_code?: boolean | "
|
|
1026
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1027
1027
|
};
|
|
1028
1028
|
};
|
|
1029
1029
|
output: {
|
|
@@ -1044,7 +1044,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1044
1044
|
client_secret?: string | undefined;
|
|
1045
1045
|
scope?: string | undefined;
|
|
1046
1046
|
audience?: string | undefined;
|
|
1047
|
-
include_qr_code?: boolean | "
|
|
1047
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1048
1048
|
};
|
|
1049
1049
|
} & {
|
|
1050
1050
|
json: {
|
|
@@ -1052,7 +1052,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1052
1052
|
client_secret?: string | undefined;
|
|
1053
1053
|
scope?: string | undefined;
|
|
1054
1054
|
audience?: string | undefined;
|
|
1055
|
-
include_qr_code?: boolean | "
|
|
1055
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1056
1056
|
};
|
|
1057
1057
|
};
|
|
1058
1058
|
output: {
|
|
@@ -1068,7 +1068,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1068
1068
|
client_secret?: string | undefined;
|
|
1069
1069
|
scope?: string | undefined;
|
|
1070
1070
|
audience?: string | undefined;
|
|
1071
|
-
include_qr_code?: boolean | "
|
|
1071
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1072
1072
|
};
|
|
1073
1073
|
} & {
|
|
1074
1074
|
json: {
|
|
@@ -1076,7 +1076,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1076
1076
|
client_secret?: string | undefined;
|
|
1077
1077
|
scope?: string | undefined;
|
|
1078
1078
|
audience?: string | undefined;
|
|
1079
|
-
include_qr_code?: boolean | "
|
|
1079
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1080
1080
|
};
|
|
1081
1081
|
};
|
|
1082
1082
|
output: {
|
|
@@ -1092,7 +1092,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1092
1092
|
client_secret?: string | undefined;
|
|
1093
1093
|
scope?: string | undefined;
|
|
1094
1094
|
audience?: string | undefined;
|
|
1095
|
-
include_qr_code?: boolean | "
|
|
1095
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1096
1096
|
};
|
|
1097
1097
|
} & {
|
|
1098
1098
|
json: {
|
|
@@ -1100,7 +1100,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1100
1100
|
client_secret?: string | undefined;
|
|
1101
1101
|
scope?: string | undefined;
|
|
1102
1102
|
audience?: string | undefined;
|
|
1103
|
-
include_qr_code?: boolean | "
|
|
1103
|
+
include_qr_code?: boolean | "true" | "false" | undefined;
|
|
1104
1104
|
};
|
|
1105
1105
|
};
|
|
1106
1106
|
output: {
|
|
@@ -1155,7 +1155,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1155
1155
|
client_id: string;
|
|
1156
1156
|
username: string;
|
|
1157
1157
|
otp: string;
|
|
1158
|
-
realm: "
|
|
1158
|
+
realm: "sms" | "email";
|
|
1159
1159
|
scope?: string | undefined;
|
|
1160
1160
|
audience?: string | undefined;
|
|
1161
1161
|
} | {
|
|
@@ -1222,7 +1222,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1222
1222
|
client_id: string;
|
|
1223
1223
|
username: string;
|
|
1224
1224
|
otp: string;
|
|
1225
|
-
realm: "
|
|
1225
|
+
realm: "sms" | "email";
|
|
1226
1226
|
scope?: string | undefined;
|
|
1227
1227
|
audience?: string | undefined;
|
|
1228
1228
|
} | {
|
|
@@ -1294,7 +1294,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1294
1294
|
client_id: string;
|
|
1295
1295
|
username: string;
|
|
1296
1296
|
otp: string;
|
|
1297
|
-
realm: "
|
|
1297
|
+
realm: "sms" | "email";
|
|
1298
1298
|
scope?: string | undefined;
|
|
1299
1299
|
audience?: string | undefined;
|
|
1300
1300
|
} | {
|
|
@@ -1361,7 +1361,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1361
1361
|
client_id: string;
|
|
1362
1362
|
username: string;
|
|
1363
1363
|
otp: string;
|
|
1364
|
-
realm: "
|
|
1364
|
+
realm: "sms" | "email";
|
|
1365
1365
|
scope?: string | undefined;
|
|
1366
1366
|
audience?: string | undefined;
|
|
1367
1367
|
} | {
|
|
@@ -1441,7 +1441,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1441
1441
|
client_id: string;
|
|
1442
1442
|
username: string;
|
|
1443
1443
|
otp: string;
|
|
1444
|
-
realm: "
|
|
1444
|
+
realm: "sms" | "email";
|
|
1445
1445
|
scope?: string | undefined;
|
|
1446
1446
|
audience?: string | undefined;
|
|
1447
1447
|
} | {
|
|
@@ -1508,7 +1508,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1508
1508
|
client_id: string;
|
|
1509
1509
|
username: string;
|
|
1510
1510
|
otp: string;
|
|
1511
|
-
realm: "
|
|
1511
|
+
realm: "sms" | "email";
|
|
1512
1512
|
scope?: string | undefined;
|
|
1513
1513
|
audience?: string | undefined;
|
|
1514
1514
|
} | {
|
|
@@ -1583,7 +1583,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1583
1583
|
client_id: string;
|
|
1584
1584
|
username: string;
|
|
1585
1585
|
otp: string;
|
|
1586
|
-
realm: "
|
|
1586
|
+
realm: "sms" | "email";
|
|
1587
1587
|
scope?: string | undefined;
|
|
1588
1588
|
audience?: string | undefined;
|
|
1589
1589
|
} | {
|
|
@@ -1650,7 +1650,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1650
1650
|
client_id: string;
|
|
1651
1651
|
username: string;
|
|
1652
1652
|
otp: string;
|
|
1653
|
-
realm: "
|
|
1653
|
+
realm: "sms" | "email";
|
|
1654
1654
|
scope?: string | undefined;
|
|
1655
1655
|
audience?: string | undefined;
|
|
1656
1656
|
} | {
|
|
@@ -1725,7 +1725,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1725
1725
|
client_id: string;
|
|
1726
1726
|
username: string;
|
|
1727
1727
|
otp: string;
|
|
1728
|
-
realm: "
|
|
1728
|
+
realm: "sms" | "email";
|
|
1729
1729
|
scope?: string | undefined;
|
|
1730
1730
|
audience?: string | undefined;
|
|
1731
1731
|
} | {
|
|
@@ -1792,7 +1792,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1792
1792
|
client_id: string;
|
|
1793
1793
|
username: string;
|
|
1794
1794
|
otp: string;
|
|
1795
|
-
realm: "
|
|
1795
|
+
realm: "sms" | "email";
|
|
1796
1796
|
scope?: string | undefined;
|
|
1797
1797
|
audience?: string | undefined;
|
|
1798
1798
|
} | {
|
|
@@ -2030,7 +2030,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2030
2030
|
};
|
|
2031
2031
|
output: {};
|
|
2032
2032
|
outputFormat: string;
|
|
2033
|
-
status:
|
|
2033
|
+
status: 200;
|
|
2034
2034
|
} | {
|
|
2035
2035
|
input: {
|
|
2036
2036
|
query: {
|
|
@@ -2044,7 +2044,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2044
2044
|
};
|
|
2045
2045
|
output: {};
|
|
2046
2046
|
outputFormat: string;
|
|
2047
|
-
status:
|
|
2047
|
+
status: 302;
|
|
2048
2048
|
} | {
|
|
2049
2049
|
input: {
|
|
2050
2050
|
query: {
|
|
@@ -2058,7 +2058,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2058
2058
|
};
|
|
2059
2059
|
output: {};
|
|
2060
2060
|
outputFormat: string;
|
|
2061
|
-
status:
|
|
2061
|
+
status: 400;
|
|
2062
2062
|
};
|
|
2063
2063
|
};
|
|
2064
2064
|
}, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
18
18
|
};
|
|
19
19
|
output: {};
|
|
20
20
|
outputFormat: string;
|
|
21
|
-
status:
|
|
21
|
+
status: 200;
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
query: {
|
|
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
32
32
|
};
|
|
33
33
|
output: {};
|
|
34
34
|
outputFormat: string;
|
|
35
|
-
status:
|
|
35
|
+
status: 302;
|
|
36
36
|
} | {
|
|
37
37
|
input: {
|
|
38
38
|
query: {
|
|
@@ -46,7 +46,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
46
46
|
};
|
|
47
47
|
output: {};
|
|
48
48
|
outputFormat: string;
|
|
49
|
-
status:
|
|
49
|
+
status: 400;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
}, "/">;
|
|
@@ -14,14 +14,14 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
audience?: string | undefined;
|
|
17
18
|
username?: string | undefined;
|
|
18
19
|
scope?: string | undefined;
|
|
19
20
|
state?: string | undefined;
|
|
20
|
-
audience?: string | undefined;
|
|
21
|
-
redirect_uri?: string | undefined;
|
|
22
21
|
act_as?: string | undefined;
|
|
23
22
|
response_type?: AuthorizationResponseType | undefined;
|
|
24
23
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
24
|
+
redirect_uri?: string | undefined;
|
|
25
25
|
organization?: string | undefined;
|
|
26
26
|
nonce?: string | undefined;
|
|
27
27
|
prompt?: string | undefined;
|
|
@@ -50,14 +50,14 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
audience?: string | undefined;
|
|
53
54
|
username?: string | undefined;
|
|
54
55
|
scope?: string | undefined;
|
|
55
56
|
state?: string | undefined;
|
|
56
|
-
audience?: string | undefined;
|
|
57
|
-
redirect_uri?: string | undefined;
|
|
58
57
|
act_as?: string | undefined;
|
|
59
58
|
response_type?: AuthorizationResponseType | undefined;
|
|
60
59
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
60
|
+
redirect_uri?: string | undefined;
|
|
61
61
|
organization?: string | undefined;
|
|
62
62
|
nonce?: string | undefined;
|
|
63
63
|
prompt?: string | undefined;
|
|
@@ -47,7 +47,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
47
47
|
client_id: string;
|
|
48
48
|
username: string;
|
|
49
49
|
otp: string;
|
|
50
|
-
realm: "
|
|
50
|
+
realm: "sms" | "email";
|
|
51
51
|
scope?: string | undefined;
|
|
52
52
|
audience?: string | undefined;
|
|
53
53
|
} | {
|
|
@@ -114,7 +114,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
114
114
|
client_id: string;
|
|
115
115
|
username: string;
|
|
116
116
|
otp: string;
|
|
117
|
-
realm: "
|
|
117
|
+
realm: "sms" | "email";
|
|
118
118
|
scope?: string | undefined;
|
|
119
119
|
audience?: string | undefined;
|
|
120
120
|
} | {
|
|
@@ -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
|
scope?: string | undefined;
|
|
191
191
|
audience?: string | undefined;
|
|
192
192
|
} | {
|
|
@@ -253,7 +253,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
253
253
|
client_id: string;
|
|
254
254
|
username: string;
|
|
255
255
|
otp: string;
|
|
256
|
-
realm: "
|
|
256
|
+
realm: "sms" | "email";
|
|
257
257
|
scope?: string | undefined;
|
|
258
258
|
audience?: string | undefined;
|
|
259
259
|
} | {
|
|
@@ -333,7 +333,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
333
333
|
client_id: string;
|
|
334
334
|
username: string;
|
|
335
335
|
otp: string;
|
|
336
|
-
realm: "
|
|
336
|
+
realm: "sms" | "email";
|
|
337
337
|
scope?: string | undefined;
|
|
338
338
|
audience?: string | undefined;
|
|
339
339
|
} | {
|
|
@@ -400,7 +400,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
400
400
|
client_id: string;
|
|
401
401
|
username: string;
|
|
402
402
|
otp: string;
|
|
403
|
-
realm: "
|
|
403
|
+
realm: "sms" | "email";
|
|
404
404
|
scope?: string | undefined;
|
|
405
405
|
audience?: string | undefined;
|
|
406
406
|
} | {
|
|
@@ -475,7 +475,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
475
475
|
client_id: string;
|
|
476
476
|
username: string;
|
|
477
477
|
otp: string;
|
|
478
|
-
realm: "
|
|
478
|
+
realm: "sms" | "email";
|
|
479
479
|
scope?: string | undefined;
|
|
480
480
|
audience?: string | undefined;
|
|
481
481
|
} | {
|
|
@@ -542,7 +542,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
542
542
|
client_id: string;
|
|
543
543
|
username: string;
|
|
544
544
|
otp: string;
|
|
545
|
-
realm: "
|
|
545
|
+
realm: "sms" | "email";
|
|
546
546
|
scope?: string | undefined;
|
|
547
547
|
audience?: string | undefined;
|
|
548
548
|
} | {
|
|
@@ -617,7 +617,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
617
617
|
client_id: string;
|
|
618
618
|
username: string;
|
|
619
619
|
otp: string;
|
|
620
|
-
realm: "
|
|
620
|
+
realm: "sms" | "email";
|
|
621
621
|
scope?: string | undefined;
|
|
622
622
|
audience?: string | undefined;
|
|
623
623
|
} | {
|
|
@@ -684,7 +684,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
684
684
|
client_id: string;
|
|
685
685
|
username: string;
|
|
686
686
|
otp: string;
|
|
687
|
-
realm: "
|
|
687
|
+
realm: "sms" | "email";
|
|
688
688
|
scope?: string | undefined;
|
|
689
689
|
audience?: string | undefined;
|
|
690
690
|
} | {
|
|
@@ -29,7 +29,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
29
29
|
created_at: string;
|
|
30
30
|
updated_at: string;
|
|
31
31
|
inherit?: boolean | undefined;
|
|
32
|
-
scope?: "
|
|
32
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
33
33
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
34
34
|
enforce?: boolean | undefined;
|
|
35
35
|
supported_triggers?: {
|
|
@@ -70,7 +70,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
70
70
|
json: {
|
|
71
71
|
bindings: {
|
|
72
72
|
ref: {
|
|
73
|
-
type?: "
|
|
73
|
+
type?: "action_id" | "action_name" | undefined;
|
|
74
74
|
value?: string | undefined;
|
|
75
75
|
id?: string | undefined;
|
|
76
76
|
name?: string | undefined;
|
|
@@ -95,7 +95,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
95
95
|
json: {
|
|
96
96
|
bindings: {
|
|
97
97
|
ref: {
|
|
98
|
-
type?: "
|
|
98
|
+
type?: "action_id" | "action_name" | undefined;
|
|
99
99
|
value?: string | undefined;
|
|
100
100
|
id?: string | undefined;
|
|
101
101
|
name?: string | undefined;
|
|
@@ -118,7 +118,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
118
118
|
created_at: string;
|
|
119
119
|
updated_at: string;
|
|
120
120
|
inherit?: boolean | undefined;
|
|
121
|
-
scope?: "
|
|
121
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
122
122
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
123
123
|
enforce?: boolean | undefined;
|
|
124
124
|
supported_triggers?: {
|