authhero 5.18.0 → 5.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +2729 -128
- package/dist/authhero.d.ts +602 -230
- package/dist/authhero.mjs +10757 -9901
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/common.d.ts +8 -0
- package/dist/types/authentication-flows/passwordless.d.ts +1 -1
- package/dist/types/authentication-flows/token-exchange.d.ts +19 -0
- package/dist/types/emails/defaults/BlockedAccount.d.ts +1 -0
- package/dist/types/emails/defaults/ChangePassword.d.ts +6 -0
- package/dist/types/emails/defaults/EnrollmentEmail.d.ts +1 -0
- package/dist/types/emails/defaults/MfaOobCode.d.ts +1 -0
- package/dist/types/emails/defaults/PasswordReset.d.ts +5 -0
- package/dist/types/emails/defaults/StolenCredentials.d.ts +1 -0
- package/dist/types/emails/index.d.ts +21 -1
- package/dist/types/helpers/consent.d.ts +31 -0
- package/dist/types/helpers/control-plane-sync-events.d.ts +67 -0
- package/dist/types/helpers/default-destinations.d.ts +11 -0
- package/dist/types/helpers/outbox-destinations/control-plane-sync.d.ts +35 -0
- package/dist/types/helpers/outbox-destinations/logs.d.ts +2 -0
- package/dist/types/helpers/scopes-permissions.d.ts +1 -1
- package/dist/types/index.d.ts +471 -227
- package/dist/types/routes/auth-api/index.d.ts +117 -7
- package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
- package/dist/types/routes/auth-api/token.d.ts +110 -0
- package/dist/types/routes/auth-api/well-known.d.ts +1 -1
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/actions.d.ts +4 -4
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +2 -2
- package/dist/types/routes/management-api/connections.d.ts +6 -6
- package/dist/types/routes/management-api/custom-domains.d.ts +8 -8
- package/dist/types/routes/management-api/email-templates.d.ts +88 -31
- 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/grants.d.ts +80 -0
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +343 -212
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/proxy-routes.d.ts +1 -0
- 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/proxy-control-plane/index.d.ts +34 -1
- package/dist/types/routes/universal-login/common.d.ts +8 -8
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- package/dist/types/routes/universal-login/screens/consent.d.ts +9 -0
- package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/state-machines/login-session.d.ts +12 -1
- package/dist/types/types/AuthHeroConfig.d.ts +26 -0
- package/dist/types/types/GrantFlowResult.d.ts +8 -0
- package/dist/types/types/IdToken.d.ts +1 -1
- package/dist/types/utils/jwks.d.ts +2 -2
- package/dist/types/utils/jwt.d.ts +4 -0
- package/package.json +5 -5
|
@@ -725,14 +725,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
725
725
|
authParams: {
|
|
726
726
|
username?: string | undefined;
|
|
727
727
|
state?: string | undefined;
|
|
728
|
-
|
|
729
|
-
scope?: string | undefined;
|
|
728
|
+
act_as?: string | undefined;
|
|
730
729
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
731
730
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
732
|
-
act_as?: string | undefined;
|
|
733
731
|
redirect_uri?: string | undefined;
|
|
732
|
+
audience?: string | undefined;
|
|
734
733
|
organization?: string | undefined;
|
|
735
734
|
nonce?: string | undefined;
|
|
735
|
+
scope?: string | undefined;
|
|
736
736
|
prompt?: string | undefined;
|
|
737
737
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
738
738
|
code_challenge?: string | undefined;
|
|
@@ -761,14 +761,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
761
761
|
authParams: {
|
|
762
762
|
username?: string | undefined;
|
|
763
763
|
state?: string | undefined;
|
|
764
|
-
|
|
765
|
-
scope?: string | undefined;
|
|
764
|
+
act_as?: string | undefined;
|
|
766
765
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
767
766
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
768
|
-
act_as?: string | undefined;
|
|
769
767
|
redirect_uri?: string | undefined;
|
|
768
|
+
audience?: string | undefined;
|
|
770
769
|
organization?: string | undefined;
|
|
771
770
|
nonce?: string | undefined;
|
|
771
|
+
scope?: string | undefined;
|
|
772
772
|
prompt?: string | undefined;
|
|
773
773
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
774
774
|
code_challenge?: string | undefined;
|
|
@@ -1002,6 +1002,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1002
1002
|
username: string;
|
|
1003
1003
|
otp: string;
|
|
1004
1004
|
realm: "email" | "sms";
|
|
1005
|
+
} | {
|
|
1006
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1007
|
+
subject_token: string;
|
|
1008
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
1009
|
+
organization: string;
|
|
1010
|
+
audience?: string | undefined;
|
|
1011
|
+
scope?: string | undefined;
|
|
1012
|
+
client_id?: string | undefined;
|
|
1013
|
+
client_secret?: string | undefined;
|
|
1014
|
+
client_assertion?: string | undefined;
|
|
1015
|
+
client_assertion_type?: string | undefined;
|
|
1005
1016
|
};
|
|
1006
1017
|
} & {
|
|
1007
1018
|
json: {
|
|
@@ -1038,6 +1049,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1038
1049
|
username: string;
|
|
1039
1050
|
otp: string;
|
|
1040
1051
|
realm: "email" | "sms";
|
|
1052
|
+
} | {
|
|
1053
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1054
|
+
subject_token: string;
|
|
1055
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
1056
|
+
organization: string;
|
|
1057
|
+
audience?: string | undefined;
|
|
1058
|
+
scope?: string | undefined;
|
|
1059
|
+
client_id?: string | undefined;
|
|
1060
|
+
client_secret?: string | undefined;
|
|
1061
|
+
client_assertion?: string | undefined;
|
|
1062
|
+
client_assertion_type?: string | undefined;
|
|
1041
1063
|
};
|
|
1042
1064
|
};
|
|
1043
1065
|
output: {};
|
|
@@ -1079,6 +1101,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1079
1101
|
username: string;
|
|
1080
1102
|
otp: string;
|
|
1081
1103
|
realm: "email" | "sms";
|
|
1104
|
+
} | {
|
|
1105
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1106
|
+
subject_token: string;
|
|
1107
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
1108
|
+
organization: string;
|
|
1109
|
+
audience?: string | undefined;
|
|
1110
|
+
scope?: string | undefined;
|
|
1111
|
+
client_id?: string | undefined;
|
|
1112
|
+
client_secret?: string | undefined;
|
|
1113
|
+
client_assertion?: string | undefined;
|
|
1114
|
+
client_assertion_type?: string | undefined;
|
|
1082
1115
|
};
|
|
1083
1116
|
} & {
|
|
1084
1117
|
json: {
|
|
@@ -1115,6 +1148,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1115
1148
|
username: string;
|
|
1116
1149
|
otp: string;
|
|
1117
1150
|
realm: "email" | "sms";
|
|
1151
|
+
} | {
|
|
1152
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1153
|
+
subject_token: string;
|
|
1154
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
1155
|
+
organization: string;
|
|
1156
|
+
audience?: string | undefined;
|
|
1157
|
+
scope?: string | undefined;
|
|
1158
|
+
client_id?: string | undefined;
|
|
1159
|
+
client_secret?: string | undefined;
|
|
1160
|
+
client_assertion?: string | undefined;
|
|
1161
|
+
client_assertion_type?: string | undefined;
|
|
1118
1162
|
};
|
|
1119
1163
|
};
|
|
1120
1164
|
output: {
|
|
@@ -1164,6 +1208,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1164
1208
|
username: string;
|
|
1165
1209
|
otp: string;
|
|
1166
1210
|
realm: "email" | "sms";
|
|
1211
|
+
} | {
|
|
1212
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1213
|
+
subject_token: string;
|
|
1214
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
1215
|
+
organization: string;
|
|
1216
|
+
audience?: string | undefined;
|
|
1217
|
+
scope?: string | undefined;
|
|
1218
|
+
client_id?: string | undefined;
|
|
1219
|
+
client_secret?: string | undefined;
|
|
1220
|
+
client_assertion?: string | undefined;
|
|
1221
|
+
client_assertion_type?: string | undefined;
|
|
1167
1222
|
};
|
|
1168
1223
|
} & {
|
|
1169
1224
|
json: {
|
|
@@ -1200,6 +1255,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1200
1255
|
username: string;
|
|
1201
1256
|
otp: string;
|
|
1202
1257
|
realm: "email" | "sms";
|
|
1258
|
+
} | {
|
|
1259
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1260
|
+
subject_token: string;
|
|
1261
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
1262
|
+
organization: string;
|
|
1263
|
+
audience?: string | undefined;
|
|
1264
|
+
scope?: string | undefined;
|
|
1265
|
+
client_id?: string | undefined;
|
|
1266
|
+
client_secret?: string | undefined;
|
|
1267
|
+
client_assertion?: string | undefined;
|
|
1268
|
+
client_assertion_type?: string | undefined;
|
|
1203
1269
|
};
|
|
1204
1270
|
};
|
|
1205
1271
|
output: {
|
|
@@ -1244,6 +1310,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1244
1310
|
username: string;
|
|
1245
1311
|
otp: string;
|
|
1246
1312
|
realm: "email" | "sms";
|
|
1313
|
+
} | {
|
|
1314
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1315
|
+
subject_token: string;
|
|
1316
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
1317
|
+
organization: string;
|
|
1318
|
+
audience?: string | undefined;
|
|
1319
|
+
scope?: string | undefined;
|
|
1320
|
+
client_id?: string | undefined;
|
|
1321
|
+
client_secret?: string | undefined;
|
|
1322
|
+
client_assertion?: string | undefined;
|
|
1323
|
+
client_assertion_type?: string | undefined;
|
|
1247
1324
|
};
|
|
1248
1325
|
} & {
|
|
1249
1326
|
json: {
|
|
@@ -1280,6 +1357,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1280
1357
|
username: string;
|
|
1281
1358
|
otp: string;
|
|
1282
1359
|
realm: "email" | "sms";
|
|
1360
|
+
} | {
|
|
1361
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1362
|
+
subject_token: string;
|
|
1363
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
1364
|
+
organization: string;
|
|
1365
|
+
audience?: string | undefined;
|
|
1366
|
+
scope?: string | undefined;
|
|
1367
|
+
client_id?: string | undefined;
|
|
1368
|
+
client_secret?: string | undefined;
|
|
1369
|
+
client_assertion?: string | undefined;
|
|
1370
|
+
client_assertion_type?: string | undefined;
|
|
1283
1371
|
};
|
|
1284
1372
|
};
|
|
1285
1373
|
output: {
|
|
@@ -1324,6 +1412,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1324
1412
|
username: string;
|
|
1325
1413
|
otp: string;
|
|
1326
1414
|
realm: "email" | "sms";
|
|
1415
|
+
} | {
|
|
1416
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1417
|
+
subject_token: string;
|
|
1418
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
1419
|
+
organization: string;
|
|
1420
|
+
audience?: string | undefined;
|
|
1421
|
+
scope?: string | undefined;
|
|
1422
|
+
client_id?: string | undefined;
|
|
1423
|
+
client_secret?: string | undefined;
|
|
1424
|
+
client_assertion?: string | undefined;
|
|
1425
|
+
client_assertion_type?: string | undefined;
|
|
1327
1426
|
};
|
|
1328
1427
|
} & {
|
|
1329
1428
|
json: {
|
|
@@ -1360,6 +1459,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1360
1459
|
username: string;
|
|
1361
1460
|
otp: string;
|
|
1362
1461
|
realm: "email" | "sms";
|
|
1462
|
+
} | {
|
|
1463
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1464
|
+
subject_token: string;
|
|
1465
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
1466
|
+
organization: string;
|
|
1467
|
+
audience?: string | undefined;
|
|
1468
|
+
scope?: string | undefined;
|
|
1469
|
+
client_id?: string | undefined;
|
|
1470
|
+
client_secret?: string | undefined;
|
|
1471
|
+
client_assertion?: string | undefined;
|
|
1472
|
+
client_assertion_type?: string | undefined;
|
|
1363
1473
|
};
|
|
1364
1474
|
};
|
|
1365
1475
|
output: {
|
|
@@ -1378,7 +1488,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1378
1488
|
keys: {
|
|
1379
1489
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
1380
1490
|
kid: string;
|
|
1381
|
-
kty: "
|
|
1491
|
+
kty: "RSA" | "EC" | "oct";
|
|
1382
1492
|
use?: "sig" | "enc" | undefined;
|
|
1383
1493
|
n?: string | undefined;
|
|
1384
1494
|
e?: string | undefined;
|
|
@@ -16,14 +16,14 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
16
16
|
authParams: {
|
|
17
17
|
username?: string | undefined;
|
|
18
18
|
state?: string | undefined;
|
|
19
|
-
|
|
20
|
-
scope?: string | undefined;
|
|
19
|
+
act_as?: string | undefined;
|
|
21
20
|
response_type?: AuthorizationResponseType | undefined;
|
|
22
21
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
23
|
-
act_as?: string | undefined;
|
|
24
22
|
redirect_uri?: string | undefined;
|
|
23
|
+
audience?: string | undefined;
|
|
25
24
|
organization?: string | undefined;
|
|
26
25
|
nonce?: string | undefined;
|
|
26
|
+
scope?: string | undefined;
|
|
27
27
|
prompt?: string | undefined;
|
|
28
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
29
|
code_challenge?: string | undefined;
|
|
@@ -52,14 +52,14 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
52
52
|
authParams: {
|
|
53
53
|
username?: string | undefined;
|
|
54
54
|
state?: string | undefined;
|
|
55
|
-
|
|
56
|
-
scope?: string | undefined;
|
|
55
|
+
act_as?: string | undefined;
|
|
57
56
|
response_type?: AuthorizationResponseType | undefined;
|
|
58
57
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
59
|
-
act_as?: string | undefined;
|
|
60
58
|
redirect_uri?: string | undefined;
|
|
59
|
+
audience?: string | undefined;
|
|
61
60
|
organization?: string | undefined;
|
|
62
61
|
nonce?: string | undefined;
|
|
62
|
+
scope?: string | undefined;
|
|
63
63
|
prompt?: string | undefined;
|
|
64
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
65
|
code_challenge?: string | undefined;
|
|
@@ -41,6 +41,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
41
41
|
username: string;
|
|
42
42
|
otp: string;
|
|
43
43
|
realm: "email" | "sms";
|
|
44
|
+
} | {
|
|
45
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
46
|
+
subject_token: string;
|
|
47
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
48
|
+
organization: string;
|
|
49
|
+
audience?: string | undefined;
|
|
50
|
+
scope?: string | undefined;
|
|
51
|
+
client_id?: string | undefined;
|
|
52
|
+
client_secret?: string | undefined;
|
|
53
|
+
client_assertion?: string | undefined;
|
|
54
|
+
client_assertion_type?: string | undefined;
|
|
44
55
|
};
|
|
45
56
|
} & {
|
|
46
57
|
json: {
|
|
@@ -77,6 +88,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
77
88
|
username: string;
|
|
78
89
|
otp: string;
|
|
79
90
|
realm: "email" | "sms";
|
|
91
|
+
} | {
|
|
92
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
93
|
+
subject_token: string;
|
|
94
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
95
|
+
organization: string;
|
|
96
|
+
audience?: string | undefined;
|
|
97
|
+
scope?: string | undefined;
|
|
98
|
+
client_id?: string | undefined;
|
|
99
|
+
client_secret?: string | undefined;
|
|
100
|
+
client_assertion?: string | undefined;
|
|
101
|
+
client_assertion_type?: string | undefined;
|
|
80
102
|
};
|
|
81
103
|
};
|
|
82
104
|
output: {};
|
|
@@ -118,6 +140,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
118
140
|
username: string;
|
|
119
141
|
otp: string;
|
|
120
142
|
realm: "email" | "sms";
|
|
143
|
+
} | {
|
|
144
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
145
|
+
subject_token: string;
|
|
146
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
147
|
+
organization: string;
|
|
148
|
+
audience?: string | undefined;
|
|
149
|
+
scope?: string | undefined;
|
|
150
|
+
client_id?: string | undefined;
|
|
151
|
+
client_secret?: string | undefined;
|
|
152
|
+
client_assertion?: string | undefined;
|
|
153
|
+
client_assertion_type?: string | undefined;
|
|
121
154
|
};
|
|
122
155
|
} & {
|
|
123
156
|
json: {
|
|
@@ -154,6 +187,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
154
187
|
username: string;
|
|
155
188
|
otp: string;
|
|
156
189
|
realm: "email" | "sms";
|
|
190
|
+
} | {
|
|
191
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
192
|
+
subject_token: string;
|
|
193
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
194
|
+
organization: string;
|
|
195
|
+
audience?: string | undefined;
|
|
196
|
+
scope?: string | undefined;
|
|
197
|
+
client_id?: string | undefined;
|
|
198
|
+
client_secret?: string | undefined;
|
|
199
|
+
client_assertion?: string | undefined;
|
|
200
|
+
client_assertion_type?: string | undefined;
|
|
157
201
|
};
|
|
158
202
|
};
|
|
159
203
|
output: {
|
|
@@ -203,6 +247,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
203
247
|
username: string;
|
|
204
248
|
otp: string;
|
|
205
249
|
realm: "email" | "sms";
|
|
250
|
+
} | {
|
|
251
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
252
|
+
subject_token: string;
|
|
253
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
254
|
+
organization: string;
|
|
255
|
+
audience?: string | undefined;
|
|
256
|
+
scope?: string | undefined;
|
|
257
|
+
client_id?: string | undefined;
|
|
258
|
+
client_secret?: string | undefined;
|
|
259
|
+
client_assertion?: string | undefined;
|
|
260
|
+
client_assertion_type?: string | undefined;
|
|
206
261
|
};
|
|
207
262
|
} & {
|
|
208
263
|
json: {
|
|
@@ -239,6 +294,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
239
294
|
username: string;
|
|
240
295
|
otp: string;
|
|
241
296
|
realm: "email" | "sms";
|
|
297
|
+
} | {
|
|
298
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
299
|
+
subject_token: string;
|
|
300
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
301
|
+
organization: string;
|
|
302
|
+
audience?: string | undefined;
|
|
303
|
+
scope?: string | undefined;
|
|
304
|
+
client_id?: string | undefined;
|
|
305
|
+
client_secret?: string | undefined;
|
|
306
|
+
client_assertion?: string | undefined;
|
|
307
|
+
client_assertion_type?: string | undefined;
|
|
242
308
|
};
|
|
243
309
|
};
|
|
244
310
|
output: {
|
|
@@ -283,6 +349,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
283
349
|
username: string;
|
|
284
350
|
otp: string;
|
|
285
351
|
realm: "email" | "sms";
|
|
352
|
+
} | {
|
|
353
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
354
|
+
subject_token: string;
|
|
355
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
356
|
+
organization: string;
|
|
357
|
+
audience?: string | undefined;
|
|
358
|
+
scope?: string | undefined;
|
|
359
|
+
client_id?: string | undefined;
|
|
360
|
+
client_secret?: string | undefined;
|
|
361
|
+
client_assertion?: string | undefined;
|
|
362
|
+
client_assertion_type?: string | undefined;
|
|
286
363
|
};
|
|
287
364
|
} & {
|
|
288
365
|
json: {
|
|
@@ -319,6 +396,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
319
396
|
username: string;
|
|
320
397
|
otp: string;
|
|
321
398
|
realm: "email" | "sms";
|
|
399
|
+
} | {
|
|
400
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
401
|
+
subject_token: string;
|
|
402
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
403
|
+
organization: string;
|
|
404
|
+
audience?: string | undefined;
|
|
405
|
+
scope?: string | undefined;
|
|
406
|
+
client_id?: string | undefined;
|
|
407
|
+
client_secret?: string | undefined;
|
|
408
|
+
client_assertion?: string | undefined;
|
|
409
|
+
client_assertion_type?: string | undefined;
|
|
322
410
|
};
|
|
323
411
|
};
|
|
324
412
|
output: {
|
|
@@ -363,6 +451,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
363
451
|
username: string;
|
|
364
452
|
otp: string;
|
|
365
453
|
realm: "email" | "sms";
|
|
454
|
+
} | {
|
|
455
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
456
|
+
subject_token: string;
|
|
457
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
458
|
+
organization: string;
|
|
459
|
+
audience?: string | undefined;
|
|
460
|
+
scope?: string | undefined;
|
|
461
|
+
client_id?: string | undefined;
|
|
462
|
+
client_secret?: string | undefined;
|
|
463
|
+
client_assertion?: string | undefined;
|
|
464
|
+
client_assertion_type?: string | undefined;
|
|
366
465
|
};
|
|
367
466
|
} & {
|
|
368
467
|
json: {
|
|
@@ -399,6 +498,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
399
498
|
username: string;
|
|
400
499
|
otp: string;
|
|
401
500
|
realm: "email" | "sms";
|
|
501
|
+
} | {
|
|
502
|
+
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
503
|
+
subject_token: string;
|
|
504
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:access_token";
|
|
505
|
+
organization: string;
|
|
506
|
+
audience?: string | undefined;
|
|
507
|
+
scope?: string | undefined;
|
|
508
|
+
client_id?: string | undefined;
|
|
509
|
+
client_secret?: string | undefined;
|
|
510
|
+
client_assertion?: string | undefined;
|
|
511
|
+
client_assertion_type?: string | undefined;
|
|
402
512
|
};
|
|
403
513
|
};
|
|
404
514
|
output: {
|
|
@@ -10,7 +10,7 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
|
|
|
10
10
|
keys: {
|
|
11
11
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
12
12
|
kid: string;
|
|
13
|
-
kty: "
|
|
13
|
+
kty: "RSA" | "EC" | "oct";
|
|
14
14
|
use?: "sig" | "enc" | undefined;
|
|
15
15
|
n?: string | undefined;
|
|
16
16
|
e?: string | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
|
|
|
31
31
|
output: {
|
|
32
32
|
id: string;
|
|
33
33
|
trigger_id: string;
|
|
34
|
-
status: "
|
|
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
|
}[];
|
|
@@ -301,7 +301,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
301
301
|
};
|
|
302
302
|
output: {};
|
|
303
303
|
outputFormat: string;
|
|
304
|
-
status:
|
|
304
|
+
status: 409;
|
|
305
305
|
} | {
|
|
306
306
|
input: {
|
|
307
307
|
param: {
|
|
@@ -314,7 +314,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
314
314
|
};
|
|
315
315
|
output: {};
|
|
316
316
|
outputFormat: string;
|
|
317
|
-
status:
|
|
317
|
+
status: 200;
|
|
318
318
|
} | {
|
|
319
319
|
input: {
|
|
320
320
|
param: {
|
|
@@ -327,7 +327,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
327
327
|
};
|
|
328
328
|
output: {};
|
|
329
329
|
outputFormat: string;
|
|
330
|
-
status:
|
|
330
|
+
status: 404;
|
|
331
331
|
};
|
|
332
332
|
};
|
|
333
333
|
} & {
|
|
@@ -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" | "
|
|
40
|
+
type: "push" | "email" | "phone" | "passkey" | "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: "dark" | "light" | "auto";
|
|
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?: "
|
|
81
|
+
logo_placement?: "none" | "widget" | "chip" | 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: "dark" | "light" | "auto";
|
|
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?: "
|
|
171
|
+
logo_placement?: "none" | "widget" | "chip" | 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: "dark" | "light" | "auto";
|
|
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?: "
|
|
250
|
+
logo_placement?: "none" | "widget" | "chip" | 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?: "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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -129,7 +129,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
129
129
|
} | undefined;
|
|
130
130
|
} | undefined;
|
|
131
131
|
passkey_options?: {
|
|
132
|
-
challenge_ui?: "
|
|
132
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
133
133
|
local_enrollment_enabled?: boolean | undefined;
|
|
134
134
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
135
135
|
} | undefined;
|
|
@@ -263,7 +263,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
263
263
|
} | undefined;
|
|
264
264
|
} | undefined;
|
|
265
265
|
passkey_options?: {
|
|
266
|
-
challenge_ui?: "
|
|
266
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
267
267
|
local_enrollment_enabled?: boolean | undefined;
|
|
268
268
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
269
269
|
} | undefined;
|
|
@@ -412,7 +412,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
412
412
|
} | undefined;
|
|
413
413
|
} | undefined;
|
|
414
414
|
passkey_options?: {
|
|
415
|
-
challenge_ui?: "
|
|
415
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
416
416
|
local_enrollment_enabled?: boolean | undefined;
|
|
417
417
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
418
418
|
} | undefined;
|
|
@@ -591,7 +591,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
591
591
|
} | undefined;
|
|
592
592
|
} | undefined;
|
|
593
593
|
passkey_options?: {
|
|
594
|
-
challenge_ui?: "
|
|
594
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
595
595
|
local_enrollment_enabled?: boolean | undefined;
|
|
596
596
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
597
597
|
} | undefined;
|
|
@@ -749,7 +749,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
749
749
|
} | undefined;
|
|
750
750
|
} | undefined;
|
|
751
751
|
passkey_options?: {
|
|
752
|
-
challenge_ui?: "
|
|
752
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
753
753
|
local_enrollment_enabled?: boolean | undefined;
|
|
754
754
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
755
755
|
} | undefined;
|
|
@@ -852,7 +852,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
852
852
|
};
|
|
853
853
|
} | {
|
|
854
854
|
mode: "inline";
|
|
855
|
-
status: "
|
|
855
|
+
status: "success" | "error";
|
|
856
856
|
connection_id: string;
|
|
857
857
|
connection_name: string;
|
|
858
858
|
strategy: string;
|