authhero 9.35.0 → 9.37.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 +144 -141
- package/dist/authhero.d.ts +562 -369
- package/dist/authhero.mjs +13530 -11568
- package/dist/{mfa-fD5vp7ql.mjs → mfa-BpHxTir1.mjs} +25 -25
- package/dist/{mfa-XAWdFO9R.js → mfa-DuNbh_YF.js} +1 -1
- package/dist/mfa-attempts-D5U1FCSY.js +275 -0
- package/dist/{mfa-attempts-CpIqAsQd.mjs → mfa-attempts-DDgCBTDW.mjs} +6022 -5686
- package/dist/{passkey-enrollment-BB99mHdQ.js → passkey-enrollment-D6ZZmelw.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/email-verification.d.ts +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +5 -2
- package/dist/types/errors/management-api-error.d.ts +3 -0
- package/dist/types/generated/locale-types.d.ts +87 -0
- package/dist/types/helpers/anchor-client.d.ts +16 -0
- package/dist/types/helpers/database-connection-scope.d.ts +97 -0
- package/dist/types/helpers/dcr/audience-policy.d.ts +13 -0
- package/dist/types/helpers/dcr/client-registration.d.ts +81 -0
- package/dist/types/helpers/dcr/constraint-enforcement.d.ts +1 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +17 -0
- package/dist/types/helpers/dcr/mint-iat.d.ts +4 -1
- package/dist/types/helpers/dcr/mint-token.d.ts +4 -0
- package/dist/types/helpers/dcr/presets.d.ts +34 -0
- package/dist/types/helpers/dcr/uri-policy.d.ts +34 -0
- package/dist/types/helpers/password-connection.d.ts +3 -1
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/self-service-tickets.d.ts +34 -0
- package/dist/types/helpers/sso-access-tickets.d.ts +18 -0
- package/dist/types/helpers/users.d.ts +29 -4
- package/dist/types/index.d.ts +502 -310
- package/dist/types/routes/auth-api/authenticate.d.ts +1 -1
- package/dist/types/routes/auth-api/dbconnections.d.ts +2 -2
- package/dist/types/routes/auth-api/device.d.ts +8 -8
- package/dist/types/routes/auth-api/index.d.ts +54 -37
- package/dist/types/routes/auth-api/passwordless.d.ts +18 -16
- package/dist/types/routes/auth-api/register/index.d.ts +15 -0
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +13 -13
- package/dist/types/routes/management-api/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/client-registration-tokens.d.ts +149 -0
- package/dist/types/routes/management-api/connections.d.ts +1 -1
- 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/failed-events.d.ts +2 -2
- 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/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/index.d.ts +411 -266
- package/dist/types/routes/management-api/keys.d.ts +16 -16
- 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/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +5 -5
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- 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/self-service-profiles.d.ts +345 -0
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +10 -10
- package/dist/types/routes/management-api/tenants.d.ts +17 -17
- package/dist/types/routes/management-api/themes.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +17 -17
- package/dist/types/routes/universal-login/common.d.ts +10 -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/connect-authz.d.ts +9 -0
- package/dist/types/routes/universal-login/screens/self-service-app.d.ts +46 -0
- package/dist/types/routes/universal-login/u2-index.d.ts +35 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +35 -5
- package/dist/types/state-machines/login-session.d.ts +19 -1
- package/dist/types/types/Bindings.d.ts +2 -0
- package/dist/types/utils/username-password-provider.d.ts +14 -3
- package/package.json +6 -6
- package/dist/mfa-attempts-C7toCIRn.js +0 -275
|
@@ -9,7 +9,7 @@ export declare const dbConnectionRoutes: OpenAPIHono<{
|
|
|
9
9
|
input: {
|
|
10
10
|
json: {
|
|
11
11
|
client_id: string;
|
|
12
|
-
connection:
|
|
12
|
+
connection: string;
|
|
13
13
|
email: string;
|
|
14
14
|
password: string;
|
|
15
15
|
};
|
|
@@ -31,7 +31,7 @@ export declare const dbConnectionRoutes: OpenAPIHono<{
|
|
|
31
31
|
input: {
|
|
32
32
|
json: {
|
|
33
33
|
client_id: string;
|
|
34
|
-
connection:
|
|
34
|
+
connection: string;
|
|
35
35
|
email: string;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
@@ -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 | "false" | "true" | 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 | "false" | "true" | 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 | "false" | "true" | 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 | "false" | "true" | 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 | "false" | "true" | 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 | "false" | "true" | 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 | "false" | "true" | 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 | "false" | "true" | undefined;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
output: {
|
|
@@ -309,6 +309,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
309
309
|
client_id?: string | undefined;
|
|
310
310
|
client_secret?: string | undefined;
|
|
311
311
|
audience?: string | undefined;
|
|
312
|
+
application_type?: "native" | "web" | undefined;
|
|
313
|
+
post_logout_redirect_uris?: string[] | undefined;
|
|
314
|
+
web_origins?: string[] | undefined;
|
|
312
315
|
};
|
|
313
316
|
};
|
|
314
317
|
output: {
|
|
@@ -332,6 +335,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
332
335
|
jwks_uri?: string | undefined;
|
|
333
336
|
software_id?: string | undefined;
|
|
334
337
|
software_version?: string | undefined;
|
|
338
|
+
application_type?: "native" | "web" | undefined;
|
|
339
|
+
post_logout_redirect_uris?: string[] | undefined;
|
|
340
|
+
web_origins?: string[] | undefined;
|
|
335
341
|
};
|
|
336
342
|
outputFormat: "json";
|
|
337
343
|
status: 201;
|
|
@@ -366,6 +372,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
366
372
|
jwks_uri?: string | undefined;
|
|
367
373
|
software_id?: string | undefined;
|
|
368
374
|
software_version?: string | undefined;
|
|
375
|
+
application_type?: "native" | "web" | undefined;
|
|
376
|
+
post_logout_redirect_uris?: string[] | undefined;
|
|
377
|
+
web_origins?: string[] | undefined;
|
|
369
378
|
};
|
|
370
379
|
outputFormat: "json";
|
|
371
380
|
status: 200;
|
|
@@ -398,6 +407,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
398
407
|
client_id?: string | undefined;
|
|
399
408
|
client_secret?: string | undefined;
|
|
400
409
|
audience?: string | undefined;
|
|
410
|
+
application_type?: "native" | "web" | undefined;
|
|
411
|
+
post_logout_redirect_uris?: string[] | undefined;
|
|
412
|
+
web_origins?: string[] | undefined;
|
|
401
413
|
};
|
|
402
414
|
};
|
|
403
415
|
output: {
|
|
@@ -421,6 +433,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
421
433
|
jwks_uri?: string | undefined;
|
|
422
434
|
software_id?: string | undefined;
|
|
423
435
|
software_version?: string | undefined;
|
|
436
|
+
application_type?: "native" | "web" | undefined;
|
|
437
|
+
post_logout_redirect_uris?: string[] | undefined;
|
|
438
|
+
web_origins?: string[] | undefined;
|
|
424
439
|
};
|
|
425
440
|
outputFormat: "json";
|
|
426
441
|
status: 200;
|
|
@@ -728,7 +743,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
728
743
|
client_id: string;
|
|
729
744
|
username: string;
|
|
730
745
|
password: string;
|
|
731
|
-
realm:
|
|
746
|
+
realm: string;
|
|
732
747
|
scope?: string | undefined;
|
|
733
748
|
};
|
|
734
749
|
};
|
|
@@ -748,21 +763,22 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
748
763
|
send: "code" | "link";
|
|
749
764
|
authParams: {
|
|
750
765
|
username?: string | undefined;
|
|
766
|
+
connection?: string | undefined;
|
|
751
767
|
scope?: string | undefined;
|
|
752
|
-
audience?: string | undefined;
|
|
753
|
-
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
754
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
755
768
|
state?: string | undefined;
|
|
756
|
-
|
|
769
|
+
audience?: string | undefined;
|
|
757
770
|
redirect_uri?: string | undefined;
|
|
758
771
|
organization?: string | undefined;
|
|
759
|
-
|
|
772
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
773
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
760
774
|
prompt?: string | undefined;
|
|
775
|
+
vendor_id?: string | undefined;
|
|
776
|
+
nonce?: string | undefined;
|
|
777
|
+
max_age?: number | undefined;
|
|
778
|
+
acr_values?: string | undefined;
|
|
761
779
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
762
780
|
code_challenge?: string | undefined;
|
|
763
781
|
ui_locales?: string | undefined;
|
|
764
|
-
max_age?: number | undefined;
|
|
765
|
-
acr_values?: string | undefined;
|
|
766
782
|
claims?: {
|
|
767
783
|
userinfo?: Record<string, {
|
|
768
784
|
essential?: boolean | undefined;
|
|
@@ -775,7 +791,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
775
791
|
values?: unknown[] | undefined;
|
|
776
792
|
} | null> | undefined;
|
|
777
793
|
} | undefined;
|
|
778
|
-
|
|
794
|
+
act_as?: string | undefined;
|
|
779
795
|
};
|
|
780
796
|
} | {
|
|
781
797
|
client_id: string;
|
|
@@ -784,21 +800,22 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
784
800
|
send: "code" | "link";
|
|
785
801
|
authParams: {
|
|
786
802
|
username?: string | undefined;
|
|
803
|
+
connection?: string | undefined;
|
|
787
804
|
scope?: string | undefined;
|
|
788
|
-
audience?: string | undefined;
|
|
789
|
-
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
790
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
791
805
|
state?: string | undefined;
|
|
792
|
-
|
|
806
|
+
audience?: string | undefined;
|
|
793
807
|
redirect_uri?: string | undefined;
|
|
794
808
|
organization?: string | undefined;
|
|
795
|
-
|
|
809
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
810
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
796
811
|
prompt?: string | undefined;
|
|
812
|
+
vendor_id?: string | undefined;
|
|
813
|
+
nonce?: string | undefined;
|
|
814
|
+
max_age?: number | undefined;
|
|
815
|
+
acr_values?: string | undefined;
|
|
797
816
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
798
817
|
code_challenge?: string | undefined;
|
|
799
818
|
ui_locales?: string | undefined;
|
|
800
|
-
max_age?: number | undefined;
|
|
801
|
-
acr_values?: string | undefined;
|
|
802
819
|
claims?: {
|
|
803
820
|
userinfo?: Record<string, {
|
|
804
821
|
essential?: boolean | undefined;
|
|
@@ -811,7 +828,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
811
828
|
values?: unknown[] | undefined;
|
|
812
829
|
} | null> | undefined;
|
|
813
830
|
} | undefined;
|
|
814
|
-
|
|
831
|
+
act_as?: string | undefined;
|
|
815
832
|
};
|
|
816
833
|
};
|
|
817
834
|
};
|
|
@@ -890,7 +907,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
890
907
|
input: {
|
|
891
908
|
json: {
|
|
892
909
|
client_id: string;
|
|
893
|
-
connection:
|
|
910
|
+
connection: string;
|
|
894
911
|
email: string;
|
|
895
912
|
password: string;
|
|
896
913
|
};
|
|
@@ -912,7 +929,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
912
929
|
input: {
|
|
913
930
|
json: {
|
|
914
931
|
client_id: string;
|
|
915
|
-
connection:
|
|
932
|
+
connection: string;
|
|
916
933
|
email: string;
|
|
917
934
|
};
|
|
918
935
|
};
|
|
@@ -1021,7 +1038,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1021
1038
|
client_secret?: string | undefined;
|
|
1022
1039
|
scope?: string | undefined;
|
|
1023
1040
|
audience?: string | undefined;
|
|
1024
|
-
include_qr_code?: boolean | "
|
|
1041
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
1025
1042
|
};
|
|
1026
1043
|
} & {
|
|
1027
1044
|
json: {
|
|
@@ -1029,7 +1046,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1029
1046
|
client_secret?: string | undefined;
|
|
1030
1047
|
scope?: string | undefined;
|
|
1031
1048
|
audience?: string | undefined;
|
|
1032
|
-
include_qr_code?: boolean | "
|
|
1049
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
1033
1050
|
};
|
|
1034
1051
|
};
|
|
1035
1052
|
output: {
|
|
@@ -1050,7 +1067,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1050
1067
|
client_secret?: string | undefined;
|
|
1051
1068
|
scope?: string | undefined;
|
|
1052
1069
|
audience?: string | undefined;
|
|
1053
|
-
include_qr_code?: boolean | "
|
|
1070
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
1054
1071
|
};
|
|
1055
1072
|
} & {
|
|
1056
1073
|
json: {
|
|
@@ -1058,7 +1075,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1058
1075
|
client_secret?: string | undefined;
|
|
1059
1076
|
scope?: string | undefined;
|
|
1060
1077
|
audience?: string | undefined;
|
|
1061
|
-
include_qr_code?: boolean | "
|
|
1078
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
1062
1079
|
};
|
|
1063
1080
|
};
|
|
1064
1081
|
output: {
|
|
@@ -1074,7 +1091,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1074
1091
|
client_secret?: string | undefined;
|
|
1075
1092
|
scope?: string | undefined;
|
|
1076
1093
|
audience?: string | undefined;
|
|
1077
|
-
include_qr_code?: boolean | "
|
|
1094
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
1078
1095
|
};
|
|
1079
1096
|
} & {
|
|
1080
1097
|
json: {
|
|
@@ -1082,7 +1099,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1082
1099
|
client_secret?: string | undefined;
|
|
1083
1100
|
scope?: string | undefined;
|
|
1084
1101
|
audience?: string | undefined;
|
|
1085
|
-
include_qr_code?: boolean | "
|
|
1102
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
1086
1103
|
};
|
|
1087
1104
|
};
|
|
1088
1105
|
output: {
|
|
@@ -1098,7 +1115,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1098
1115
|
client_secret?: string | undefined;
|
|
1099
1116
|
scope?: string | undefined;
|
|
1100
1117
|
audience?: string | undefined;
|
|
1101
|
-
include_qr_code?: boolean | "
|
|
1118
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
1102
1119
|
};
|
|
1103
1120
|
} & {
|
|
1104
1121
|
json: {
|
|
@@ -1106,7 +1123,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1106
1123
|
client_secret?: string | undefined;
|
|
1107
1124
|
scope?: string | undefined;
|
|
1108
1125
|
audience?: string | undefined;
|
|
1109
|
-
include_qr_code?: boolean | "
|
|
1126
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
1110
1127
|
};
|
|
1111
1128
|
};
|
|
1112
1129
|
output: {
|
|
@@ -1162,7 +1179,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1162
1179
|
client_id: string;
|
|
1163
1180
|
username: string;
|
|
1164
1181
|
otp: string;
|
|
1165
|
-
realm: "
|
|
1182
|
+
realm: "email" | "sms";
|
|
1166
1183
|
scope?: string | undefined;
|
|
1167
1184
|
audience?: string | undefined;
|
|
1168
1185
|
} | {
|
|
@@ -1230,7 +1247,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1230
1247
|
client_id: string;
|
|
1231
1248
|
username: string;
|
|
1232
1249
|
otp: string;
|
|
1233
|
-
realm: "
|
|
1250
|
+
realm: "email" | "sms";
|
|
1234
1251
|
scope?: string | undefined;
|
|
1235
1252
|
audience?: string | undefined;
|
|
1236
1253
|
} | {
|
|
@@ -1303,7 +1320,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1303
1320
|
client_id: string;
|
|
1304
1321
|
username: string;
|
|
1305
1322
|
otp: string;
|
|
1306
|
-
realm: "
|
|
1323
|
+
realm: "email" | "sms";
|
|
1307
1324
|
scope?: string | undefined;
|
|
1308
1325
|
audience?: string | undefined;
|
|
1309
1326
|
} | {
|
|
@@ -1371,7 +1388,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1371
1388
|
client_id: string;
|
|
1372
1389
|
username: string;
|
|
1373
1390
|
otp: string;
|
|
1374
|
-
realm: "
|
|
1391
|
+
realm: "email" | "sms";
|
|
1375
1392
|
scope?: string | undefined;
|
|
1376
1393
|
audience?: string | undefined;
|
|
1377
1394
|
} | {
|
|
@@ -1453,7 +1470,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1453
1470
|
client_id: string;
|
|
1454
1471
|
username: string;
|
|
1455
1472
|
otp: string;
|
|
1456
|
-
realm: "
|
|
1473
|
+
realm: "email" | "sms";
|
|
1457
1474
|
scope?: string | undefined;
|
|
1458
1475
|
audience?: string | undefined;
|
|
1459
1476
|
} | {
|
|
@@ -1521,7 +1538,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1521
1538
|
client_id: string;
|
|
1522
1539
|
username: string;
|
|
1523
1540
|
otp: string;
|
|
1524
|
-
realm: "
|
|
1541
|
+
realm: "email" | "sms";
|
|
1525
1542
|
scope?: string | undefined;
|
|
1526
1543
|
audience?: string | undefined;
|
|
1527
1544
|
} | {
|
|
@@ -1597,7 +1614,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1597
1614
|
client_id: string;
|
|
1598
1615
|
username: string;
|
|
1599
1616
|
otp: string;
|
|
1600
|
-
realm: "
|
|
1617
|
+
realm: "email" | "sms";
|
|
1601
1618
|
scope?: string | undefined;
|
|
1602
1619
|
audience?: string | undefined;
|
|
1603
1620
|
} | {
|
|
@@ -1665,7 +1682,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1665
1682
|
client_id: string;
|
|
1666
1683
|
username: string;
|
|
1667
1684
|
otp: string;
|
|
1668
|
-
realm: "
|
|
1685
|
+
realm: "email" | "sms";
|
|
1669
1686
|
scope?: string | undefined;
|
|
1670
1687
|
audience?: string | undefined;
|
|
1671
1688
|
} | {
|
|
@@ -1741,7 +1758,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1741
1758
|
client_id: string;
|
|
1742
1759
|
username: string;
|
|
1743
1760
|
otp: string;
|
|
1744
|
-
realm: "
|
|
1761
|
+
realm: "email" | "sms";
|
|
1745
1762
|
scope?: string | undefined;
|
|
1746
1763
|
audience?: string | undefined;
|
|
1747
1764
|
} | {
|
|
@@ -1809,7 +1826,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1809
1826
|
client_id: string;
|
|
1810
1827
|
username: string;
|
|
1811
1828
|
otp: string;
|
|
1812
|
-
realm: "
|
|
1829
|
+
realm: "email" | "sms";
|
|
1813
1830
|
scope?: string | undefined;
|
|
1814
1831
|
audience?: string | undefined;
|
|
1815
1832
|
} | {
|
|
@@ -15,21 +15,22 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
17
|
username?: string | undefined;
|
|
18
|
+
connection?: string | undefined;
|
|
18
19
|
scope?: string | undefined;
|
|
19
|
-
audience?: string | undefined;
|
|
20
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
21
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
22
20
|
state?: string | undefined;
|
|
23
|
-
|
|
21
|
+
audience?: string | undefined;
|
|
24
22
|
redirect_uri?: string | undefined;
|
|
25
23
|
organization?: string | undefined;
|
|
26
|
-
|
|
24
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
25
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
27
26
|
prompt?: string | undefined;
|
|
27
|
+
vendor_id?: string | undefined;
|
|
28
|
+
nonce?: string | undefined;
|
|
29
|
+
max_age?: number | undefined;
|
|
30
|
+
acr_values?: string | undefined;
|
|
28
31
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
32
|
code_challenge?: string | undefined;
|
|
30
33
|
ui_locales?: string | undefined;
|
|
31
|
-
max_age?: number | undefined;
|
|
32
|
-
acr_values?: string | undefined;
|
|
33
34
|
claims?: {
|
|
34
35
|
userinfo?: Record<string, {
|
|
35
36
|
essential?: boolean | undefined;
|
|
@@ -42,7 +43,7 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
42
43
|
values?: unknown[] | undefined;
|
|
43
44
|
} | null> | undefined;
|
|
44
45
|
} | undefined;
|
|
45
|
-
|
|
46
|
+
act_as?: string | undefined;
|
|
46
47
|
};
|
|
47
48
|
} | {
|
|
48
49
|
client_id: string;
|
|
@@ -51,21 +52,22 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
51
52
|
send: "code" | "link";
|
|
52
53
|
authParams: {
|
|
53
54
|
username?: string | undefined;
|
|
55
|
+
connection?: string | undefined;
|
|
54
56
|
scope?: string | undefined;
|
|
55
|
-
audience?: string | undefined;
|
|
56
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
57
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
58
57
|
state?: string | undefined;
|
|
59
|
-
|
|
58
|
+
audience?: string | undefined;
|
|
60
59
|
redirect_uri?: string | undefined;
|
|
61
60
|
organization?: string | undefined;
|
|
62
|
-
|
|
61
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
62
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
63
63
|
prompt?: string | undefined;
|
|
64
|
+
vendor_id?: string | undefined;
|
|
65
|
+
nonce?: string | undefined;
|
|
66
|
+
max_age?: number | undefined;
|
|
67
|
+
acr_values?: string | undefined;
|
|
64
68
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
69
|
code_challenge?: string | undefined;
|
|
66
70
|
ui_locales?: string | undefined;
|
|
67
|
-
max_age?: number | undefined;
|
|
68
|
-
acr_values?: string | undefined;
|
|
69
71
|
claims?: {
|
|
70
72
|
userinfo?: Record<string, {
|
|
71
73
|
essential?: boolean | undefined;
|
|
@@ -78,7 +80,7 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
78
80
|
values?: unknown[] | undefined;
|
|
79
81
|
} | null> | undefined;
|
|
80
82
|
} | undefined;
|
|
81
|
-
|
|
83
|
+
act_as?: string | undefined;
|
|
82
84
|
};
|
|
83
85
|
};
|
|
84
86
|
};
|
|
@@ -26,6 +26,9 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
26
26
|
client_id?: string | undefined;
|
|
27
27
|
client_secret?: string | undefined;
|
|
28
28
|
audience?: string | undefined;
|
|
29
|
+
application_type?: "native" | "web" | undefined;
|
|
30
|
+
post_logout_redirect_uris?: string[] | undefined;
|
|
31
|
+
web_origins?: string[] | undefined;
|
|
29
32
|
};
|
|
30
33
|
};
|
|
31
34
|
output: {
|
|
@@ -49,6 +52,9 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
49
52
|
jwks_uri?: string | undefined;
|
|
50
53
|
software_id?: string | undefined;
|
|
51
54
|
software_version?: string | undefined;
|
|
55
|
+
application_type?: "native" | "web" | undefined;
|
|
56
|
+
post_logout_redirect_uris?: string[] | undefined;
|
|
57
|
+
web_origins?: string[] | undefined;
|
|
52
58
|
};
|
|
53
59
|
outputFormat: "json";
|
|
54
60
|
status: 201;
|
|
@@ -83,6 +89,9 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
83
89
|
jwks_uri?: string | undefined;
|
|
84
90
|
software_id?: string | undefined;
|
|
85
91
|
software_version?: string | undefined;
|
|
92
|
+
application_type?: "native" | "web" | undefined;
|
|
93
|
+
post_logout_redirect_uris?: string[] | undefined;
|
|
94
|
+
web_origins?: string[] | undefined;
|
|
86
95
|
};
|
|
87
96
|
outputFormat: "json";
|
|
88
97
|
status: 200;
|
|
@@ -115,6 +124,9 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
115
124
|
client_id?: string | undefined;
|
|
116
125
|
client_secret?: string | undefined;
|
|
117
126
|
audience?: string | undefined;
|
|
127
|
+
application_type?: "native" | "web" | undefined;
|
|
128
|
+
post_logout_redirect_uris?: string[] | undefined;
|
|
129
|
+
web_origins?: string[] | undefined;
|
|
118
130
|
};
|
|
119
131
|
};
|
|
120
132
|
output: {
|
|
@@ -138,6 +150,9 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
138
150
|
jwks_uri?: string | undefined;
|
|
139
151
|
software_id?: string | undefined;
|
|
140
152
|
software_version?: string | undefined;
|
|
153
|
+
application_type?: "native" | "web" | undefined;
|
|
154
|
+
post_logout_redirect_uris?: string[] | undefined;
|
|
155
|
+
web_origins?: string[] | undefined;
|
|
141
156
|
};
|
|
142
157
|
outputFormat: "json";
|
|
143
158
|
status: 200;
|
|
@@ -48,7 +48,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
48
48
|
client_id: string;
|
|
49
49
|
username: string;
|
|
50
50
|
otp: string;
|
|
51
|
-
realm: "
|
|
51
|
+
realm: "email" | "sms";
|
|
52
52
|
scope?: string | undefined;
|
|
53
53
|
audience?: string | undefined;
|
|
54
54
|
} | {
|
|
@@ -116,7 +116,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
116
116
|
client_id: string;
|
|
117
117
|
username: string;
|
|
118
118
|
otp: string;
|
|
119
|
-
realm: "
|
|
119
|
+
realm: "email" | "sms";
|
|
120
120
|
scope?: string | undefined;
|
|
121
121
|
audience?: string | undefined;
|
|
122
122
|
} | {
|
|
@@ -189,7 +189,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
189
189
|
client_id: string;
|
|
190
190
|
username: string;
|
|
191
191
|
otp: string;
|
|
192
|
-
realm: "
|
|
192
|
+
realm: "email" | "sms";
|
|
193
193
|
scope?: string | undefined;
|
|
194
194
|
audience?: string | undefined;
|
|
195
195
|
} | {
|
|
@@ -257,7 +257,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
257
257
|
client_id: string;
|
|
258
258
|
username: string;
|
|
259
259
|
otp: string;
|
|
260
|
-
realm: "
|
|
260
|
+
realm: "email" | "sms";
|
|
261
261
|
scope?: string | undefined;
|
|
262
262
|
audience?: string | undefined;
|
|
263
263
|
} | {
|
|
@@ -339,7 +339,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
339
339
|
client_id: string;
|
|
340
340
|
username: string;
|
|
341
341
|
otp: string;
|
|
342
|
-
realm: "
|
|
342
|
+
realm: "email" | "sms";
|
|
343
343
|
scope?: string | undefined;
|
|
344
344
|
audience?: string | undefined;
|
|
345
345
|
} | {
|
|
@@ -407,7 +407,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
407
407
|
client_id: string;
|
|
408
408
|
username: string;
|
|
409
409
|
otp: string;
|
|
410
|
-
realm: "
|
|
410
|
+
realm: "email" | "sms";
|
|
411
411
|
scope?: string | undefined;
|
|
412
412
|
audience?: string | undefined;
|
|
413
413
|
} | {
|
|
@@ -483,7 +483,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
483
483
|
client_id: string;
|
|
484
484
|
username: string;
|
|
485
485
|
otp: string;
|
|
486
|
-
realm: "
|
|
486
|
+
realm: "email" | "sms";
|
|
487
487
|
scope?: string | undefined;
|
|
488
488
|
audience?: string | undefined;
|
|
489
489
|
} | {
|
|
@@ -551,7 +551,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
551
551
|
client_id: string;
|
|
552
552
|
username: string;
|
|
553
553
|
otp: string;
|
|
554
|
-
realm: "
|
|
554
|
+
realm: "email" | "sms";
|
|
555
555
|
scope?: string | undefined;
|
|
556
556
|
audience?: string | undefined;
|
|
557
557
|
} | {
|
|
@@ -627,7 +627,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
627
627
|
client_id: string;
|
|
628
628
|
username: string;
|
|
629
629
|
otp: string;
|
|
630
|
-
realm: "
|
|
630
|
+
realm: "email" | "sms";
|
|
631
631
|
scope?: string | undefined;
|
|
632
632
|
audience?: string | undefined;
|
|
633
633
|
} | {
|
|
@@ -695,7 +695,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
695
695
|
client_id: string;
|
|
696
696
|
username: string;
|
|
697
697
|
otp: string;
|
|
698
|
-
realm: "
|
|
698
|
+
realm: "email" | "sms";
|
|
699
699
|
scope?: string | undefined;
|
|
700
700
|
audience?: string | undefined;
|
|
701
701
|
} | {
|
|
@@ -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: "final" | "pending" | "unspecified" | "partial" | "canceled" | "suspended";
|
|
35
35
|
results: {
|
|
36
36
|
action_name: string;
|
|
37
37
|
error: {
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "email" | "
|
|
40
|
+
type: "email" | "push" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|