authhero 9.31.0 → 9.33.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 +73 -73
- package/dist/authhero.d.ts +613 -432
- package/dist/authhero.mjs +10990 -10763
- package/dist/mfa-attempts-DNgUKmta.js +275 -0
- package/dist/{mfa-attempts-Dl3I8pop.mjs → mfa-attempts-dhkGMzI5.mjs} +6263 -5839
- package/dist/{passkey-enrollment-2Toeaevy.js → passkey-enrollment-B_o8pQ1z.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/common.d.ts +12 -1
- package/dist/types/authentication-flows/passwordless.d.ts +17 -6
- package/dist/types/authentication-flows/refresh-token.d.ts +1 -0
- package/dist/types/helpers/cimd.d.ts +8 -0
- package/dist/types/helpers/client.d.ts +17 -1
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/login-session-tenant.d.ts +22 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/session-transfer.d.ts +158 -0
- package/dist/types/hooks/lifecycle-codehooks.d.ts +2 -2
- package/dist/types/index.d.ts +552 -422
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/authorize.d.ts +6 -0
- package/dist/types/routes/auth-api/index.d.ts +42 -25
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/token.d.ts +21 -10
- package/dist/types/routes/management-api/action-triggers.d.ts +27 -27
- package/dist/types/routes/management-api/actions.d.ts +13 -13
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +19 -19
- package/dist/types/routes/management-api/clients.d.ts +86 -18
- package/dist/types/routes/management-api/connections.d.ts +9 -9
- 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/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/forms.d.ts +144 -144
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/hooks.d.ts +56 -56
- package/dist/types/routes/management-api/index.d.ts +512 -399
- package/dist/types/routes/management-api/jobs.d.ts +2 -2
- package/dist/types/routes/management-api/keys.d.ts +4 -4
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +1 -1
- package/dist/types/routes/management-api/prompts.d.ts +8 -8
- package/dist/types/routes/management-api/refresh_tokens.d.ts +5 -0
- package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/sessions.d.ts +5 -0
- package/dist/types/routes/management-api/tenant-members.d.ts +8 -8
- package/dist/types/routes/management-api/tenant-operations.d.ts +9 -9
- 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 +45 -15
- 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 +45 -18
- package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
- package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- 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 +3 -1
- package/dist/types/types/GrantFlowResult.d.ts +13 -0
- package/dist/types/types/Hooks.d.ts +24 -0
- package/dist/types/types/Variables.d.ts +12 -1
- package/dist/types/utils/cookies.d.ts +15 -0
- package/dist/types/utils/session-transfer-token.d.ts +56 -0
- package/package.json +6 -6
- package/dist/mfa-attempts-DXiY4U74.js +0 -275
|
@@ -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: {
|
|
@@ -36,6 +36,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
36
36
|
screen_hint?: string | undefined;
|
|
37
37
|
request?: string | undefined;
|
|
38
38
|
request_uri?: string | undefined;
|
|
39
|
+
session_transfer_token?: string | undefined;
|
|
39
40
|
};
|
|
40
41
|
};
|
|
41
42
|
output: Response;
|
|
@@ -71,6 +72,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
71
72
|
screen_hint?: string | undefined;
|
|
72
73
|
request?: string | undefined;
|
|
73
74
|
request_uri?: string | undefined;
|
|
75
|
+
session_transfer_token?: string | undefined;
|
|
74
76
|
};
|
|
75
77
|
};
|
|
76
78
|
output: {};
|
|
@@ -106,6 +108,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
106
108
|
screen_hint?: string | undefined;
|
|
107
109
|
request?: string | undefined;
|
|
108
110
|
request_uri?: string | undefined;
|
|
111
|
+
session_transfer_token?: string | undefined;
|
|
109
112
|
};
|
|
110
113
|
};
|
|
111
114
|
output: string | {
|
|
@@ -116,6 +119,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
116
119
|
scope?: string | undefined;
|
|
117
120
|
state?: string | undefined;
|
|
118
121
|
refresh_token?: string | undefined;
|
|
122
|
+
issued_token_type?: string | undefined;
|
|
119
123
|
};
|
|
120
124
|
outputFormat: "json";
|
|
121
125
|
status: 200;
|
|
@@ -149,6 +153,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
149
153
|
screen_hint?: string | undefined;
|
|
150
154
|
request?: string | undefined;
|
|
151
155
|
request_uri?: string | undefined;
|
|
156
|
+
session_transfer_token?: string | undefined;
|
|
152
157
|
};
|
|
153
158
|
};
|
|
154
159
|
output: {
|
|
@@ -186,6 +191,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
186
191
|
screen_hint?: string | undefined;
|
|
187
192
|
request?: string | undefined;
|
|
188
193
|
request_uri?: string | undefined;
|
|
194
|
+
session_transfer_token?: string | undefined;
|
|
189
195
|
};
|
|
190
196
|
};
|
|
191
197
|
output: {
|
|
@@ -301,7 +301,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
301
301
|
scope?: string | undefined;
|
|
302
302
|
grant_types?: string[] | undefined;
|
|
303
303
|
response_types?: string[] | undefined;
|
|
304
|
-
token_endpoint_auth_method?: "none" | "
|
|
304
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
305
305
|
jwks_uri?: string | undefined;
|
|
306
306
|
jwks?: Record<string, unknown> | undefined;
|
|
307
307
|
software_id?: string | undefined;
|
|
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
390
390
|
scope?: string | undefined;
|
|
391
391
|
grant_types?: string[] | undefined;
|
|
392
392
|
response_types?: string[] | undefined;
|
|
393
|
-
token_endpoint_auth_method?: "none" | "
|
|
393
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
394
394
|
jwks_uri?: string | undefined;
|
|
395
395
|
jwks?: Record<string, unknown> | undefined;
|
|
396
396
|
software_id?: string | undefined;
|
|
@@ -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: {
|
|
@@ -501,6 +501,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
501
501
|
screen_hint?: string | undefined;
|
|
502
502
|
request?: string | undefined;
|
|
503
503
|
request_uri?: string | undefined;
|
|
504
|
+
session_transfer_token?: string | undefined;
|
|
504
505
|
};
|
|
505
506
|
};
|
|
506
507
|
output: Response;
|
|
@@ -536,6 +537,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
536
537
|
screen_hint?: string | undefined;
|
|
537
538
|
request?: string | undefined;
|
|
538
539
|
request_uri?: string | undefined;
|
|
540
|
+
session_transfer_token?: string | undefined;
|
|
539
541
|
};
|
|
540
542
|
};
|
|
541
543
|
output: {};
|
|
@@ -571,6 +573,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
571
573
|
screen_hint?: string | undefined;
|
|
572
574
|
request?: string | undefined;
|
|
573
575
|
request_uri?: string | undefined;
|
|
576
|
+
session_transfer_token?: string | undefined;
|
|
574
577
|
};
|
|
575
578
|
};
|
|
576
579
|
output: string | {
|
|
@@ -581,6 +584,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
581
584
|
scope?: string | undefined;
|
|
582
585
|
state?: string | undefined;
|
|
583
586
|
refresh_token?: string | undefined;
|
|
587
|
+
issued_token_type?: string | undefined;
|
|
584
588
|
};
|
|
585
589
|
outputFormat: "json";
|
|
586
590
|
status: 200;
|
|
@@ -614,6 +618,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
614
618
|
screen_hint?: string | undefined;
|
|
615
619
|
request?: string | undefined;
|
|
616
620
|
request_uri?: string | undefined;
|
|
621
|
+
session_transfer_token?: string | undefined;
|
|
617
622
|
};
|
|
618
623
|
};
|
|
619
624
|
output: {
|
|
@@ -651,6 +656,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
651
656
|
screen_hint?: string | undefined;
|
|
652
657
|
request?: string | undefined;
|
|
653
658
|
request_uri?: string | undefined;
|
|
659
|
+
session_transfer_token?: string | undefined;
|
|
654
660
|
};
|
|
655
661
|
};
|
|
656
662
|
output: {
|
|
@@ -741,15 +747,15 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
741
747
|
email: string;
|
|
742
748
|
send: "code" | "link";
|
|
743
749
|
authParams: {
|
|
744
|
-
username?: string | undefined;
|
|
745
|
-
scope?: string | undefined;
|
|
746
750
|
audience?: string | undefined;
|
|
747
|
-
|
|
748
|
-
state?: string | undefined;
|
|
751
|
+
scope?: string | undefined;
|
|
749
752
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
750
753
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
754
|
+
username?: string | undefined;
|
|
755
|
+
state?: string | undefined;
|
|
751
756
|
act_as?: string | undefined;
|
|
752
757
|
redirect_uri?: string | undefined;
|
|
758
|
+
organization?: string | undefined;
|
|
753
759
|
nonce?: string | undefined;
|
|
754
760
|
prompt?: string | undefined;
|
|
755
761
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
@@ -777,15 +783,15 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
777
783
|
phone_number: string;
|
|
778
784
|
send: "code" | "link";
|
|
779
785
|
authParams: {
|
|
780
|
-
username?: string | undefined;
|
|
781
|
-
scope?: string | undefined;
|
|
782
786
|
audience?: string | undefined;
|
|
783
|
-
|
|
784
|
-
state?: string | undefined;
|
|
787
|
+
scope?: string | undefined;
|
|
785
788
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
786
789
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
790
|
+
username?: string | undefined;
|
|
791
|
+
state?: string | undefined;
|
|
787
792
|
act_as?: string | undefined;
|
|
788
793
|
redirect_uri?: string | undefined;
|
|
794
|
+
organization?: string | undefined;
|
|
789
795
|
nonce?: string | undefined;
|
|
790
796
|
prompt?: string | undefined;
|
|
791
797
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
@@ -1150,12 +1156,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1150
1156
|
client_assertion_type?: string | undefined;
|
|
1151
1157
|
redirect_uri?: string | undefined;
|
|
1152
1158
|
organization?: string | undefined;
|
|
1159
|
+
audience?: string | undefined;
|
|
1153
1160
|
} | {
|
|
1154
1161
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
1155
1162
|
client_id: string;
|
|
1156
1163
|
username: string;
|
|
1157
1164
|
otp: string;
|
|
1158
|
-
realm: "
|
|
1165
|
+
realm: "sms" | "email";
|
|
1159
1166
|
scope?: string | undefined;
|
|
1160
1167
|
audience?: string | undefined;
|
|
1161
1168
|
} | {
|
|
@@ -1217,12 +1224,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1217
1224
|
client_assertion_type?: string | undefined;
|
|
1218
1225
|
redirect_uri?: string | undefined;
|
|
1219
1226
|
organization?: string | undefined;
|
|
1227
|
+
audience?: string | undefined;
|
|
1220
1228
|
} | {
|
|
1221
1229
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
1222
1230
|
client_id: string;
|
|
1223
1231
|
username: string;
|
|
1224
1232
|
otp: string;
|
|
1225
|
-
realm: "
|
|
1233
|
+
realm: "sms" | "email";
|
|
1226
1234
|
scope?: string | undefined;
|
|
1227
1235
|
audience?: string | undefined;
|
|
1228
1236
|
} | {
|
|
@@ -1289,12 +1297,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1289
1297
|
client_assertion_type?: string | undefined;
|
|
1290
1298
|
redirect_uri?: string | undefined;
|
|
1291
1299
|
organization?: string | undefined;
|
|
1300
|
+
audience?: string | undefined;
|
|
1292
1301
|
} | {
|
|
1293
1302
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
1294
1303
|
client_id: string;
|
|
1295
1304
|
username: string;
|
|
1296
1305
|
otp: string;
|
|
1297
|
-
realm: "
|
|
1306
|
+
realm: "sms" | "email";
|
|
1298
1307
|
scope?: string | undefined;
|
|
1299
1308
|
audience?: string | undefined;
|
|
1300
1309
|
} | {
|
|
@@ -1356,12 +1365,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1356
1365
|
client_assertion_type?: string | undefined;
|
|
1357
1366
|
redirect_uri?: string | undefined;
|
|
1358
1367
|
organization?: string | undefined;
|
|
1368
|
+
audience?: string | undefined;
|
|
1359
1369
|
} | {
|
|
1360
1370
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
1361
1371
|
client_id: string;
|
|
1362
1372
|
username: string;
|
|
1363
1373
|
otp: string;
|
|
1364
|
-
realm: "
|
|
1374
|
+
realm: "sms" | "email";
|
|
1365
1375
|
scope?: string | undefined;
|
|
1366
1376
|
audience?: string | undefined;
|
|
1367
1377
|
} | {
|
|
@@ -1396,6 +1406,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1396
1406
|
scope?: string | undefined;
|
|
1397
1407
|
state?: string | undefined;
|
|
1398
1408
|
refresh_token?: string | undefined;
|
|
1409
|
+
issued_token_type?: string | undefined;
|
|
1399
1410
|
};
|
|
1400
1411
|
outputFormat: "json";
|
|
1401
1412
|
status: 200;
|
|
@@ -1436,12 +1447,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1436
1447
|
client_assertion_type?: string | undefined;
|
|
1437
1448
|
redirect_uri?: string | undefined;
|
|
1438
1449
|
organization?: string | undefined;
|
|
1450
|
+
audience?: string | undefined;
|
|
1439
1451
|
} | {
|
|
1440
1452
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
1441
1453
|
client_id: string;
|
|
1442
1454
|
username: string;
|
|
1443
1455
|
otp: string;
|
|
1444
|
-
realm: "
|
|
1456
|
+
realm: "sms" | "email";
|
|
1445
1457
|
scope?: string | undefined;
|
|
1446
1458
|
audience?: string | undefined;
|
|
1447
1459
|
} | {
|
|
@@ -1503,12 +1515,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1503
1515
|
client_assertion_type?: string | undefined;
|
|
1504
1516
|
redirect_uri?: string | undefined;
|
|
1505
1517
|
organization?: string | undefined;
|
|
1518
|
+
audience?: string | undefined;
|
|
1506
1519
|
} | {
|
|
1507
1520
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
1508
1521
|
client_id: string;
|
|
1509
1522
|
username: string;
|
|
1510
1523
|
otp: string;
|
|
1511
|
-
realm: "
|
|
1524
|
+
realm: "sms" | "email";
|
|
1512
1525
|
scope?: string | undefined;
|
|
1513
1526
|
audience?: string | undefined;
|
|
1514
1527
|
} | {
|
|
@@ -1578,12 +1591,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1578
1591
|
client_assertion_type?: string | undefined;
|
|
1579
1592
|
redirect_uri?: string | undefined;
|
|
1580
1593
|
organization?: string | undefined;
|
|
1594
|
+
audience?: string | undefined;
|
|
1581
1595
|
} | {
|
|
1582
1596
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
1583
1597
|
client_id: string;
|
|
1584
1598
|
username: string;
|
|
1585
1599
|
otp: string;
|
|
1586
|
-
realm: "
|
|
1600
|
+
realm: "sms" | "email";
|
|
1587
1601
|
scope?: string | undefined;
|
|
1588
1602
|
audience?: string | undefined;
|
|
1589
1603
|
} | {
|
|
@@ -1645,12 +1659,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1645
1659
|
client_assertion_type?: string | undefined;
|
|
1646
1660
|
redirect_uri?: string | undefined;
|
|
1647
1661
|
organization?: string | undefined;
|
|
1662
|
+
audience?: string | undefined;
|
|
1648
1663
|
} | {
|
|
1649
1664
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
1650
1665
|
client_id: string;
|
|
1651
1666
|
username: string;
|
|
1652
1667
|
otp: string;
|
|
1653
|
-
realm: "
|
|
1668
|
+
realm: "sms" | "email";
|
|
1654
1669
|
scope?: string | undefined;
|
|
1655
1670
|
audience?: string | undefined;
|
|
1656
1671
|
} | {
|
|
@@ -1720,12 +1735,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1720
1735
|
client_assertion_type?: string | undefined;
|
|
1721
1736
|
redirect_uri?: string | undefined;
|
|
1722
1737
|
organization?: string | undefined;
|
|
1738
|
+
audience?: string | undefined;
|
|
1723
1739
|
} | {
|
|
1724
1740
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
1725
1741
|
client_id: string;
|
|
1726
1742
|
username: string;
|
|
1727
1743
|
otp: string;
|
|
1728
|
-
realm: "
|
|
1744
|
+
realm: "sms" | "email";
|
|
1729
1745
|
scope?: string | undefined;
|
|
1730
1746
|
audience?: string | undefined;
|
|
1731
1747
|
} | {
|
|
@@ -1787,12 +1803,13 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1787
1803
|
client_assertion_type?: string | undefined;
|
|
1788
1804
|
redirect_uri?: string | undefined;
|
|
1789
1805
|
organization?: string | undefined;
|
|
1806
|
+
audience?: string | undefined;
|
|
1790
1807
|
} | {
|
|
1791
1808
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
1792
1809
|
client_id: string;
|
|
1793
1810
|
username: string;
|
|
1794
1811
|
otp: string;
|
|
1795
|
-
realm: "
|
|
1812
|
+
realm: "sms" | "email";
|
|
1796
1813
|
scope?: string | undefined;
|
|
1797
1814
|
audience?: string | undefined;
|
|
1798
1815
|
} | {
|
|
@@ -2030,7 +2047,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2030
2047
|
};
|
|
2031
2048
|
output: {};
|
|
2032
2049
|
outputFormat: string;
|
|
2033
|
-
status:
|
|
2050
|
+
status: 302;
|
|
2034
2051
|
} | {
|
|
2035
2052
|
input: {
|
|
2036
2053
|
query: {
|
|
@@ -2044,7 +2061,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2044
2061
|
};
|
|
2045
2062
|
output: {};
|
|
2046
2063
|
outputFormat: string;
|
|
2047
|
-
status:
|
|
2064
|
+
status: 400;
|
|
2048
2065
|
} | {
|
|
2049
2066
|
input: {
|
|
2050
2067
|
query: {
|
|
@@ -2058,7 +2075,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
2058
2075
|
};
|
|
2059
2076
|
output: {};
|
|
2060
2077
|
outputFormat: string;
|
|
2061
|
-
status:
|
|
2078
|
+
status: 200;
|
|
2062
2079
|
};
|
|
2063
2080
|
};
|
|
2064
2081
|
}, "/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: 302;
|
|
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: 400;
|
|
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: 200;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
}, "/">;
|
|
@@ -14,15 +14,15 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
username?: string | undefined;
|
|
18
|
-
scope?: string | undefined;
|
|
19
17
|
audience?: string | undefined;
|
|
20
|
-
|
|
21
|
-
state?: string | undefined;
|
|
18
|
+
scope?: string | undefined;
|
|
22
19
|
response_type?: AuthorizationResponseType | undefined;
|
|
23
20
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
21
|
+
username?: string | undefined;
|
|
22
|
+
state?: string | undefined;
|
|
24
23
|
act_as?: string | undefined;
|
|
25
24
|
redirect_uri?: string | undefined;
|
|
25
|
+
organization?: string | undefined;
|
|
26
26
|
nonce?: string | undefined;
|
|
27
27
|
prompt?: string | undefined;
|
|
28
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
@@ -50,15 +50,15 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
-
username?: string | undefined;
|
|
54
|
-
scope?: string | undefined;
|
|
55
53
|
audience?: string | undefined;
|
|
56
|
-
|
|
57
|
-
state?: string | undefined;
|
|
54
|
+
scope?: string | undefined;
|
|
58
55
|
response_type?: AuthorizationResponseType | undefined;
|
|
59
56
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
57
|
+
username?: string | undefined;
|
|
58
|
+
state?: string | undefined;
|
|
60
59
|
act_as?: string | undefined;
|
|
61
60
|
redirect_uri?: string | undefined;
|
|
61
|
+
organization?: string | undefined;
|
|
62
62
|
nonce?: string | undefined;
|
|
63
63
|
prompt?: string | undefined;
|
|
64
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
@@ -18,7 +18,7 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
18
18
|
scope?: string | undefined;
|
|
19
19
|
grant_types?: string[] | undefined;
|
|
20
20
|
response_types?: string[] | undefined;
|
|
21
|
-
token_endpoint_auth_method?: "none" | "
|
|
21
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
22
22
|
jwks_uri?: string | undefined;
|
|
23
23
|
jwks?: Record<string, unknown> | undefined;
|
|
24
24
|
software_id?: string | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
107
107
|
scope?: string | undefined;
|
|
108
108
|
grant_types?: string[] | undefined;
|
|
109
109
|
response_types?: string[] | undefined;
|
|
110
|
-
token_endpoint_auth_method?: "none" | "
|
|
110
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
111
111
|
jwks_uri?: string | undefined;
|
|
112
112
|
jwks?: Record<string, unknown> | undefined;
|
|
113
113
|
software_id?: string | undefined;
|
|
@@ -42,12 +42,13 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
42
42
|
client_assertion_type?: string | undefined;
|
|
43
43
|
redirect_uri?: string | undefined;
|
|
44
44
|
organization?: string | undefined;
|
|
45
|
+
audience?: string | undefined;
|
|
45
46
|
} | {
|
|
46
47
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
47
48
|
client_id: string;
|
|
48
49
|
username: string;
|
|
49
50
|
otp: string;
|
|
50
|
-
realm: "
|
|
51
|
+
realm: "sms" | "email";
|
|
51
52
|
scope?: string | undefined;
|
|
52
53
|
audience?: string | undefined;
|
|
53
54
|
} | {
|
|
@@ -109,12 +110,13 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
109
110
|
client_assertion_type?: string | undefined;
|
|
110
111
|
redirect_uri?: string | undefined;
|
|
111
112
|
organization?: string | undefined;
|
|
113
|
+
audience?: string | undefined;
|
|
112
114
|
} | {
|
|
113
115
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
114
116
|
client_id: string;
|
|
115
117
|
username: string;
|
|
116
118
|
otp: string;
|
|
117
|
-
realm: "
|
|
119
|
+
realm: "sms" | "email";
|
|
118
120
|
scope?: string | undefined;
|
|
119
121
|
audience?: string | undefined;
|
|
120
122
|
} | {
|
|
@@ -181,12 +183,13 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
181
183
|
client_assertion_type?: string | undefined;
|
|
182
184
|
redirect_uri?: string | undefined;
|
|
183
185
|
organization?: string | undefined;
|
|
186
|
+
audience?: string | undefined;
|
|
184
187
|
} | {
|
|
185
188
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
186
189
|
client_id: string;
|
|
187
190
|
username: string;
|
|
188
191
|
otp: string;
|
|
189
|
-
realm: "
|
|
192
|
+
realm: "sms" | "email";
|
|
190
193
|
scope?: string | undefined;
|
|
191
194
|
audience?: string | undefined;
|
|
192
195
|
} | {
|
|
@@ -248,12 +251,13 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
248
251
|
client_assertion_type?: string | undefined;
|
|
249
252
|
redirect_uri?: string | undefined;
|
|
250
253
|
organization?: string | undefined;
|
|
254
|
+
audience?: string | undefined;
|
|
251
255
|
} | {
|
|
252
256
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
253
257
|
client_id: string;
|
|
254
258
|
username: string;
|
|
255
259
|
otp: string;
|
|
256
|
-
realm: "
|
|
260
|
+
realm: "sms" | "email";
|
|
257
261
|
scope?: string | undefined;
|
|
258
262
|
audience?: string | undefined;
|
|
259
263
|
} | {
|
|
@@ -288,6 +292,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
288
292
|
scope?: string | undefined;
|
|
289
293
|
state?: string | undefined;
|
|
290
294
|
refresh_token?: string | undefined;
|
|
295
|
+
issued_token_type?: string | undefined;
|
|
291
296
|
};
|
|
292
297
|
outputFormat: "json";
|
|
293
298
|
status: 200;
|
|
@@ -328,12 +333,13 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
328
333
|
client_assertion_type?: string | undefined;
|
|
329
334
|
redirect_uri?: string | undefined;
|
|
330
335
|
organization?: string | undefined;
|
|
336
|
+
audience?: string | undefined;
|
|
331
337
|
} | {
|
|
332
338
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
333
339
|
client_id: string;
|
|
334
340
|
username: string;
|
|
335
341
|
otp: string;
|
|
336
|
-
realm: "
|
|
342
|
+
realm: "sms" | "email";
|
|
337
343
|
scope?: string | undefined;
|
|
338
344
|
audience?: string | undefined;
|
|
339
345
|
} | {
|
|
@@ -395,12 +401,13 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
395
401
|
client_assertion_type?: string | undefined;
|
|
396
402
|
redirect_uri?: string | undefined;
|
|
397
403
|
organization?: string | undefined;
|
|
404
|
+
audience?: string | undefined;
|
|
398
405
|
} | {
|
|
399
406
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
400
407
|
client_id: string;
|
|
401
408
|
username: string;
|
|
402
409
|
otp: string;
|
|
403
|
-
realm: "
|
|
410
|
+
realm: "sms" | "email";
|
|
404
411
|
scope?: string | undefined;
|
|
405
412
|
audience?: string | undefined;
|
|
406
413
|
} | {
|
|
@@ -470,12 +477,13 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
470
477
|
client_assertion_type?: string | undefined;
|
|
471
478
|
redirect_uri?: string | undefined;
|
|
472
479
|
organization?: string | undefined;
|
|
480
|
+
audience?: string | undefined;
|
|
473
481
|
} | {
|
|
474
482
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
475
483
|
client_id: string;
|
|
476
484
|
username: string;
|
|
477
485
|
otp: string;
|
|
478
|
-
realm: "
|
|
486
|
+
realm: "sms" | "email";
|
|
479
487
|
scope?: string | undefined;
|
|
480
488
|
audience?: string | undefined;
|
|
481
489
|
} | {
|
|
@@ -537,12 +545,13 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
537
545
|
client_assertion_type?: string | undefined;
|
|
538
546
|
redirect_uri?: string | undefined;
|
|
539
547
|
organization?: string | undefined;
|
|
548
|
+
audience?: string | undefined;
|
|
540
549
|
} | {
|
|
541
550
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
542
551
|
client_id: string;
|
|
543
552
|
username: string;
|
|
544
553
|
otp: string;
|
|
545
|
-
realm: "
|
|
554
|
+
realm: "sms" | "email";
|
|
546
555
|
scope?: string | undefined;
|
|
547
556
|
audience?: string | undefined;
|
|
548
557
|
} | {
|
|
@@ -612,12 +621,13 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
612
621
|
client_assertion_type?: string | undefined;
|
|
613
622
|
redirect_uri?: string | undefined;
|
|
614
623
|
organization?: string | undefined;
|
|
624
|
+
audience?: string | undefined;
|
|
615
625
|
} | {
|
|
616
626
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
617
627
|
client_id: string;
|
|
618
628
|
username: string;
|
|
619
629
|
otp: string;
|
|
620
|
-
realm: "
|
|
630
|
+
realm: "sms" | "email";
|
|
621
631
|
scope?: string | undefined;
|
|
622
632
|
audience?: string | undefined;
|
|
623
633
|
} | {
|
|
@@ -679,12 +689,13 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
679
689
|
client_assertion_type?: string | undefined;
|
|
680
690
|
redirect_uri?: string | undefined;
|
|
681
691
|
organization?: string | undefined;
|
|
692
|
+
audience?: string | undefined;
|
|
682
693
|
} | {
|
|
683
694
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
684
695
|
client_id: string;
|
|
685
696
|
username: string;
|
|
686
697
|
otp: string;
|
|
687
|
-
realm: "
|
|
698
|
+
realm: "sms" | "email";
|
|
688
699
|
scope?: string | undefined;
|
|
689
700
|
audience?: string | undefined;
|
|
690
701
|
} | {
|