authhero 9.44.2 → 9.44.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authhero.cjs +128 -128
- package/dist/authhero.d.ts +464 -464
- package/dist/authhero.mjs +13324 -13310
- package/dist/{mfa-CX1JyNyV.mjs → mfa-D56D6aKD.mjs} +108 -108
- package/dist/{mfa-B0J_xOxl.js → mfa-Es8y5_jQ.js} +2 -2
- package/dist/{mfa-attempts-BNf9KSrR.mjs → mfa-attempts-4i0wth1x.mjs} +2311 -2245
- package/dist/{mfa-attempts-suDM5Cv-.js → mfa-attempts-DxkUcou5.js} +4 -4
- package/dist/{passkey-enrollment-D180Gog3.js → passkey-enrollment-BTMWec3j.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/hooks/index.d.ts +1 -1
- package/dist/types/hooks/post-user-login.d.ts +51 -16
- package/dist/types/hooks/pre-defined/ensure-username.d.ts +3 -0
- package/dist/types/index.d.ts +464 -464
- package/dist/types/routes/auth-api/index.d.ts +26 -26
- package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
- package/dist/types/routes/management-api/connections.d.ts +1 -1
- package/dist/types/routes/management-api/index.d.ts +433 -433
- package/dist/types/routes/management-api/users.d.ts +6 -6
- 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/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/package.json +5 -5
|
@@ -796,23 +796,23 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
796
796
|
connection: "email";
|
|
797
797
|
client_id: string;
|
|
798
798
|
email: string;
|
|
799
|
-
send: "
|
|
799
|
+
send: "code" | "link";
|
|
800
800
|
authParams: {
|
|
801
|
-
scope?: string | undefined;
|
|
802
|
-
state?: string | undefined;
|
|
803
|
-
audience?: string | undefined;
|
|
804
801
|
username?: string | undefined;
|
|
805
802
|
connection?: string | undefined;
|
|
806
|
-
|
|
807
|
-
|
|
803
|
+
state?: string | undefined;
|
|
804
|
+
scope?: string | undefined;
|
|
805
|
+
audience?: string | undefined;
|
|
806
|
+
act_as?: string | undefined;
|
|
808
807
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
809
808
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
810
809
|
redirect_uri?: string | undefined;
|
|
811
|
-
|
|
812
|
-
act_as?: string | undefined;
|
|
810
|
+
organization?: string | undefined;
|
|
813
811
|
nonce?: string | undefined;
|
|
812
|
+
prompt?: string | undefined;
|
|
814
813
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
815
814
|
code_challenge?: string | undefined;
|
|
815
|
+
ui_locales?: string | undefined;
|
|
816
816
|
max_age?: number | undefined;
|
|
817
817
|
acr_values?: string | undefined;
|
|
818
818
|
claims?: {
|
|
@@ -833,23 +833,23 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
833
833
|
client_id: string;
|
|
834
834
|
connection: "sms";
|
|
835
835
|
phone_number: string;
|
|
836
|
-
send: "
|
|
836
|
+
send: "code" | "link";
|
|
837
837
|
authParams: {
|
|
838
|
-
scope?: string | undefined;
|
|
839
|
-
state?: string | undefined;
|
|
840
|
-
audience?: string | undefined;
|
|
841
838
|
username?: string | undefined;
|
|
842
839
|
connection?: string | undefined;
|
|
843
|
-
|
|
844
|
-
|
|
840
|
+
state?: string | undefined;
|
|
841
|
+
scope?: string | undefined;
|
|
842
|
+
audience?: string | undefined;
|
|
843
|
+
act_as?: string | undefined;
|
|
845
844
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
846
845
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
847
846
|
redirect_uri?: string | undefined;
|
|
848
|
-
|
|
849
|
-
act_as?: string | undefined;
|
|
847
|
+
organization?: string | undefined;
|
|
850
848
|
nonce?: string | undefined;
|
|
849
|
+
prompt?: string | undefined;
|
|
851
850
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
852
851
|
code_challenge?: string | undefined;
|
|
852
|
+
ui_locales?: string | undefined;
|
|
853
853
|
max_age?: number | undefined;
|
|
854
854
|
acr_values?: string | undefined;
|
|
855
855
|
claims?: {
|
|
@@ -1215,7 +1215,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1215
1215
|
client_id: string;
|
|
1216
1216
|
username: string;
|
|
1217
1217
|
otp: string;
|
|
1218
|
-
realm: "
|
|
1218
|
+
realm: "email" | "sms";
|
|
1219
1219
|
scope?: string | undefined;
|
|
1220
1220
|
audience?: string | undefined;
|
|
1221
1221
|
} | {
|
|
@@ -1283,7 +1283,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1283
1283
|
client_id: string;
|
|
1284
1284
|
username: string;
|
|
1285
1285
|
otp: string;
|
|
1286
|
-
realm: "
|
|
1286
|
+
realm: "email" | "sms";
|
|
1287
1287
|
scope?: string | undefined;
|
|
1288
1288
|
audience?: string | undefined;
|
|
1289
1289
|
} | {
|
|
@@ -1356,7 +1356,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1356
1356
|
client_id: string;
|
|
1357
1357
|
username: string;
|
|
1358
1358
|
otp: string;
|
|
1359
|
-
realm: "
|
|
1359
|
+
realm: "email" | "sms";
|
|
1360
1360
|
scope?: string | undefined;
|
|
1361
1361
|
audience?: string | undefined;
|
|
1362
1362
|
} | {
|
|
@@ -1424,7 +1424,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1424
1424
|
client_id: string;
|
|
1425
1425
|
username: string;
|
|
1426
1426
|
otp: string;
|
|
1427
|
-
realm: "
|
|
1427
|
+
realm: "email" | "sms";
|
|
1428
1428
|
scope?: string | undefined;
|
|
1429
1429
|
audience?: string | undefined;
|
|
1430
1430
|
} | {
|
|
@@ -1506,7 +1506,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1506
1506
|
client_id: string;
|
|
1507
1507
|
username: string;
|
|
1508
1508
|
otp: string;
|
|
1509
|
-
realm: "
|
|
1509
|
+
realm: "email" | "sms";
|
|
1510
1510
|
scope?: string | undefined;
|
|
1511
1511
|
audience?: string | undefined;
|
|
1512
1512
|
} | {
|
|
@@ -1574,7 +1574,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1574
1574
|
client_id: string;
|
|
1575
1575
|
username: string;
|
|
1576
1576
|
otp: string;
|
|
1577
|
-
realm: "
|
|
1577
|
+
realm: "email" | "sms";
|
|
1578
1578
|
scope?: string | undefined;
|
|
1579
1579
|
audience?: string | undefined;
|
|
1580
1580
|
} | {
|
|
@@ -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: "email" | "sms";
|
|
1654
1654
|
scope?: string | undefined;
|
|
1655
1655
|
audience?: string | undefined;
|
|
1656
1656
|
} | {
|
|
@@ -1718,7 +1718,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1718
1718
|
client_id: string;
|
|
1719
1719
|
username: string;
|
|
1720
1720
|
otp: string;
|
|
1721
|
-
realm: "
|
|
1721
|
+
realm: "email" | "sms";
|
|
1722
1722
|
scope?: string | undefined;
|
|
1723
1723
|
audience?: string | undefined;
|
|
1724
1724
|
} | {
|
|
@@ -1794,7 +1794,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1794
1794
|
client_id: string;
|
|
1795
1795
|
username: string;
|
|
1796
1796
|
otp: string;
|
|
1797
|
-
realm: "
|
|
1797
|
+
realm: "email" | "sms";
|
|
1798
1798
|
scope?: string | undefined;
|
|
1799
1799
|
audience?: string | undefined;
|
|
1800
1800
|
} | {
|
|
@@ -1862,7 +1862,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1862
1862
|
client_id: string;
|
|
1863
1863
|
username: string;
|
|
1864
1864
|
otp: string;
|
|
1865
|
-
realm: "
|
|
1865
|
+
realm: "email" | "sms";
|
|
1866
1866
|
scope?: string | undefined;
|
|
1867
1867
|
audience?: string | undefined;
|
|
1868
1868
|
} | {
|
|
@@ -14,15 +14,15 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
scope?: string | undefined;
|
|
18
|
-
state?: string | undefined;
|
|
19
17
|
username?: string | undefined;
|
|
20
18
|
connection?: string | undefined;
|
|
19
|
+
state?: string | undefined;
|
|
20
|
+
scope?: string | undefined;
|
|
21
|
+
audience?: string | undefined;
|
|
21
22
|
act_as?: string | undefined;
|
|
22
23
|
response_type?: AuthorizationResponseType | undefined;
|
|
23
24
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
24
25
|
redirect_uri?: string | undefined;
|
|
25
|
-
audience?: string | undefined;
|
|
26
26
|
organization?: string | undefined;
|
|
27
27
|
nonce?: string | undefined;
|
|
28
28
|
prompt?: string | undefined;
|
|
@@ -51,15 +51,15 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
51
51
|
phone_number: string;
|
|
52
52
|
send: "code" | "link";
|
|
53
53
|
authParams: {
|
|
54
|
-
scope?: string | undefined;
|
|
55
|
-
state?: string | undefined;
|
|
56
54
|
username?: string | undefined;
|
|
57
55
|
connection?: string | undefined;
|
|
56
|
+
state?: string | undefined;
|
|
57
|
+
scope?: string | undefined;
|
|
58
|
+
audience?: string | undefined;
|
|
58
59
|
act_as?: string | undefined;
|
|
59
60
|
response_type?: AuthorizationResponseType | undefined;
|
|
60
61
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
61
62
|
redirect_uri?: string | undefined;
|
|
62
|
-
audience?: string | undefined;
|
|
63
63
|
organization?: string | undefined;
|
|
64
64
|
nonce?: string | undefined;
|
|
65
65
|
prompt?: string | undefined;
|