authhero 9.44.3 → 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 +5 -5
- package/dist/authhero.d.ts +132 -132
- package/dist/authhero.mjs +6 -6
- package/dist/{mfa-CzRZIlzU.mjs → mfa-D56D6aKD.mjs} +1 -1
- package/dist/{mfa-Bo75sbdf.js → mfa-Es8y5_jQ.js} +1 -1
- package/dist/{mfa-attempts-CkOmlAmq.mjs → mfa-attempts-4i0wth1x.mjs} +432 -412
- package/dist/{mfa-attempts-SqFc5Xcs.js → mfa-attempts-DxkUcou5.js} +14 -14
- package/dist/{passkey-enrollment-B0D65nrS.js → passkey-enrollment-BTMWec3j.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/hooks/pre-defined/ensure-username.d.ts +3 -0
- package/dist/types/index.d.ts +132 -132
- package/dist/types/routes/auth-api/index.d.ts +6 -6
- package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
- package/dist/types/routes/management-api/connections.d.ts +8 -8
- package/dist/types/routes/management-api/index.d.ts +124 -124
- package/dist/types/routes/management-api/users.d.ts +21 -21
- package/dist/types/routes/universal-login/common.d.ts +4 -4
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- package/package.json +3 -3
|
@@ -798,17 +798,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
798
798
|
email: string;
|
|
799
799
|
send: "code" | "link";
|
|
800
800
|
authParams: {
|
|
801
|
-
connection?: string | undefined;
|
|
802
801
|
username?: string | undefined;
|
|
802
|
+
connection?: string | undefined;
|
|
803
803
|
state?: string | undefined;
|
|
804
|
+
scope?: string | undefined;
|
|
805
|
+
audience?: string | undefined;
|
|
804
806
|
act_as?: string | undefined;
|
|
805
807
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
806
808
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
807
809
|
redirect_uri?: string | undefined;
|
|
808
|
-
audience?: string | undefined;
|
|
809
810
|
organization?: string | undefined;
|
|
810
811
|
nonce?: string | undefined;
|
|
811
|
-
scope?: string | undefined;
|
|
812
812
|
prompt?: string | undefined;
|
|
813
813
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
814
814
|
code_challenge?: string | undefined;
|
|
@@ -835,17 +835,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
835
835
|
phone_number: string;
|
|
836
836
|
send: "code" | "link";
|
|
837
837
|
authParams: {
|
|
838
|
-
connection?: string | undefined;
|
|
839
838
|
username?: string | undefined;
|
|
839
|
+
connection?: string | undefined;
|
|
840
840
|
state?: string | undefined;
|
|
841
|
+
scope?: string | undefined;
|
|
842
|
+
audience?: string | undefined;
|
|
841
843
|
act_as?: string | undefined;
|
|
842
844
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
843
845
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
844
846
|
redirect_uri?: string | undefined;
|
|
845
|
-
audience?: string | undefined;
|
|
846
847
|
organization?: string | undefined;
|
|
847
848
|
nonce?: string | undefined;
|
|
848
|
-
scope?: string | undefined;
|
|
849
849
|
prompt?: string | undefined;
|
|
850
850
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
851
851
|
code_challenge?: string | undefined;
|
|
@@ -14,17 +14,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
connection?: string | undefined;
|
|
18
17
|
username?: string | undefined;
|
|
18
|
+
connection?: string | undefined;
|
|
19
19
|
state?: string | undefined;
|
|
20
|
+
scope?: string | undefined;
|
|
21
|
+
audience?: string | undefined;
|
|
20
22
|
act_as?: string | undefined;
|
|
21
23
|
response_type?: AuthorizationResponseType | undefined;
|
|
22
24
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
23
25
|
redirect_uri?: string | undefined;
|
|
24
|
-
audience?: string | undefined;
|
|
25
26
|
organization?: string | undefined;
|
|
26
27
|
nonce?: string | undefined;
|
|
27
|
-
scope?: string | undefined;
|
|
28
28
|
prompt?: string | undefined;
|
|
29
29
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
30
30
|
code_challenge?: string | undefined;
|
|
@@ -51,17 +51,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
51
51
|
phone_number: string;
|
|
52
52
|
send: "code" | "link";
|
|
53
53
|
authParams: {
|
|
54
|
-
connection?: string | undefined;
|
|
55
54
|
username?: string | undefined;
|
|
55
|
+
connection?: string | undefined;
|
|
56
56
|
state?: string | undefined;
|
|
57
|
+
scope?: string | undefined;
|
|
58
|
+
audience?: string | undefined;
|
|
57
59
|
act_as?: string | undefined;
|
|
58
60
|
response_type?: AuthorizationResponseType | undefined;
|
|
59
61
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
60
62
|
redirect_uri?: string | undefined;
|
|
61
|
-
audience?: string | undefined;
|
|
62
63
|
organization?: string | undefined;
|
|
63
64
|
nonce?: string | undefined;
|
|
64
|
-
scope?: string | undefined;
|
|
65
65
|
prompt?: string | undefined;
|
|
66
66
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
67
67
|
code_challenge?: string | undefined;
|
|
@@ -162,7 +162,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
162
162
|
} | undefined;
|
|
163
163
|
entityId?: string | undefined;
|
|
164
164
|
};
|
|
165
|
-
scope?: "
|
|
165
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
166
166
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
167
167
|
enforce?: boolean | undefined;
|
|
168
168
|
id?: string | undefined;
|
|
@@ -319,7 +319,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
319
319
|
} | undefined;
|
|
320
320
|
entityId?: string | undefined;
|
|
321
321
|
};
|
|
322
|
-
scope?: "
|
|
322
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
323
323
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
324
324
|
enforce?: boolean | undefined;
|
|
325
325
|
id?: string | undefined;
|
|
@@ -476,7 +476,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
476
476
|
} | undefined;
|
|
477
477
|
entityId?: string | undefined;
|
|
478
478
|
};
|
|
479
|
-
scope?: "
|
|
479
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
480
480
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
481
481
|
enforce?: boolean | undefined;
|
|
482
482
|
id?: string | undefined;
|
|
@@ -648,7 +648,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
648
648
|
} | undefined;
|
|
649
649
|
entityId?: string | undefined;
|
|
650
650
|
};
|
|
651
|
-
scope?: "
|
|
651
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
652
652
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
653
653
|
enforce?: boolean | undefined;
|
|
654
654
|
id?: string | undefined;
|
|
@@ -710,7 +710,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
710
710
|
};
|
|
711
711
|
} & {
|
|
712
712
|
json: {
|
|
713
|
-
scope?: "
|
|
713
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
714
714
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
715
715
|
enforce?: boolean | undefined;
|
|
716
716
|
id?: string | undefined;
|
|
@@ -866,7 +866,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
866
866
|
} | undefined;
|
|
867
867
|
entityId?: string | undefined;
|
|
868
868
|
};
|
|
869
|
-
scope?: "
|
|
869
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
870
870
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
871
871
|
enforce?: boolean | undefined;
|
|
872
872
|
id?: string | undefined;
|
|
@@ -896,7 +896,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
896
896
|
json: {
|
|
897
897
|
name: string;
|
|
898
898
|
strategy: string;
|
|
899
|
-
scope?: "
|
|
899
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
900
900
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
901
901
|
enforce?: boolean | undefined;
|
|
902
902
|
id?: string | undefined;
|
|
@@ -1050,7 +1050,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
1050
1050
|
} | undefined;
|
|
1051
1051
|
entityId?: string | undefined;
|
|
1052
1052
|
};
|
|
1053
|
-
scope?: "
|
|
1053
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
1054
1054
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
1055
1055
|
enforce?: boolean | undefined;
|
|
1056
1056
|
id?: string | undefined;
|