authhero 9.22.0 → 9.23.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/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/p-8b981cd0.entry.js +1 -0
- package/dist/authhero.cjs +135 -135
- package/dist/authhero.d.ts +337 -273
- package/dist/authhero.mjs +35139 -34485
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +3 -3
- package/dist/types/errors/signup-validation-error.d.ts +9 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/prompt-partials.d.ts +5 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/tenant-export-import/manifest.d.ts +1 -1
- package/dist/types/hooks/codehooks.d.ts +4 -3
- package/dist/types/hooks/pagehooks.d.ts +2 -1
- package/dist/types/index.d.ts +327 -273
- package/dist/types/routes/auth-api/index.d.ts +22 -22
- package/dist/types/routes/auth-api/passwordless.d.ts +4 -4
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- 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/actions.d.ts +3 -3
- package/dist/types/routes/management-api/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +8 -8
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/email-templates.d.ts +20 -20
- package/dist/types/routes/management-api/emails.d.ts +2 -2
- package/dist/types/routes/management-api/failed-events.d.ts +3 -3
- 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/hooks.d.ts +4 -4
- package/dist/types/routes/management-api/index.d.ts +200 -146
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +6 -6
- package/dist/types/routes/management-api/prompts.d.ts +58 -4
- package/dist/types/routes/management-api/proxy-routes.d.ts +1 -1
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +5 -5
- package/dist/types/routes/universal-login/common.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
- package/dist/types/routes/universal-login/form-node.d.ts +4 -4
- package/dist/types/routes/universal-login/index.d.ts +4 -4
- package/dist/types/routes/universal-login/screens/signup.d.ts +44 -1
- package/dist/types/routes/universal-login/screens/types.d.ts +1 -1
- package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/types/Hooks.d.ts +4 -0
- package/dist/types/types/Variables.d.ts +6 -0
- package/package.json +7 -7
- package/dist/assets/u/widget/p-dc0662ad.entry.js +0 -1
|
@@ -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?: "
|
|
304
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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?: "
|
|
393
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
394
394
|
jwks_uri?: string | undefined;
|
|
395
395
|
jwks?: Record<string, unknown> | undefined;
|
|
396
396
|
software_id?: string | undefined;
|
|
@@ -741,16 +741,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
741
741
|
email: string;
|
|
742
742
|
send: "code" | "link";
|
|
743
743
|
authParams: {
|
|
744
|
+
audience?: string | undefined;
|
|
744
745
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
745
746
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
746
747
|
scope?: string | undefined;
|
|
747
748
|
username?: string | undefined;
|
|
748
|
-
nonce?: string | undefined;
|
|
749
|
-
audience?: string | undefined;
|
|
750
749
|
state?: string | undefined;
|
|
751
750
|
act_as?: string | undefined;
|
|
752
751
|
redirect_uri?: string | undefined;
|
|
753
752
|
organization?: string | undefined;
|
|
753
|
+
nonce?: string | undefined;
|
|
754
754
|
prompt?: string | undefined;
|
|
755
755
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
756
756
|
code_challenge?: string | undefined;
|
|
@@ -777,16 +777,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
777
777
|
phone_number: string;
|
|
778
778
|
send: "code" | "link";
|
|
779
779
|
authParams: {
|
|
780
|
+
audience?: string | undefined;
|
|
780
781
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
781
782
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
782
783
|
scope?: string | undefined;
|
|
783
784
|
username?: string | undefined;
|
|
784
|
-
nonce?: string | undefined;
|
|
785
|
-
audience?: string | undefined;
|
|
786
785
|
state?: string | undefined;
|
|
787
786
|
act_as?: string | undefined;
|
|
788
787
|
redirect_uri?: string | undefined;
|
|
789
788
|
organization?: string | undefined;
|
|
789
|
+
nonce?: string | undefined;
|
|
790
790
|
prompt?: string | undefined;
|
|
791
791
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
792
792
|
code_challenge?: string | undefined;
|
|
@@ -921,14 +921,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
921
921
|
input: {
|
|
922
922
|
form: {
|
|
923
923
|
token: string;
|
|
924
|
-
token_type_hint?: "
|
|
924
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
925
925
|
client_id?: string | undefined;
|
|
926
926
|
client_secret?: string | undefined;
|
|
927
927
|
};
|
|
928
928
|
} & {
|
|
929
929
|
json: {
|
|
930
930
|
token: string;
|
|
931
|
-
token_type_hint?: "
|
|
931
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
932
932
|
client_id?: string | undefined;
|
|
933
933
|
client_secret?: string | undefined;
|
|
934
934
|
};
|
|
@@ -940,14 +940,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
940
940
|
input: {
|
|
941
941
|
form: {
|
|
942
942
|
token: string;
|
|
943
|
-
token_type_hint?: "
|
|
943
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
944
944
|
client_id?: string | undefined;
|
|
945
945
|
client_secret?: string | undefined;
|
|
946
946
|
};
|
|
947
947
|
} & {
|
|
948
948
|
json: {
|
|
949
949
|
token: string;
|
|
950
|
-
token_type_hint?: "
|
|
950
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
951
951
|
client_id?: string | undefined;
|
|
952
952
|
client_secret?: string | undefined;
|
|
953
953
|
};
|
|
@@ -962,14 +962,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
962
962
|
input: {
|
|
963
963
|
form: {
|
|
964
964
|
token: string;
|
|
965
|
-
token_type_hint?: "
|
|
965
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
966
966
|
client_id?: string | undefined;
|
|
967
967
|
client_secret?: string | undefined;
|
|
968
968
|
};
|
|
969
969
|
} & {
|
|
970
970
|
json: {
|
|
971
971
|
token: string;
|
|
972
|
-
token_type_hint?: "
|
|
972
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
973
973
|
client_id?: string | undefined;
|
|
974
974
|
client_secret?: string | undefined;
|
|
975
975
|
};
|
|
@@ -1019,7 +1019,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1019
1019
|
client_id: string;
|
|
1020
1020
|
username: string;
|
|
1021
1021
|
otp: string;
|
|
1022
|
-
realm: "
|
|
1022
|
+
realm: "sms" | "email";
|
|
1023
1023
|
scope?: string | undefined;
|
|
1024
1024
|
audience?: string | undefined;
|
|
1025
1025
|
} | {
|
|
@@ -1079,7 +1079,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1079
1079
|
client_id: string;
|
|
1080
1080
|
username: string;
|
|
1081
1081
|
otp: string;
|
|
1082
|
-
realm: "
|
|
1082
|
+
realm: "sms" | "email";
|
|
1083
1083
|
scope?: string | undefined;
|
|
1084
1084
|
audience?: string | undefined;
|
|
1085
1085
|
} | {
|
|
@@ -1144,7 +1144,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1144
1144
|
client_id: string;
|
|
1145
1145
|
username: string;
|
|
1146
1146
|
otp: string;
|
|
1147
|
-
realm: "
|
|
1147
|
+
realm: "sms" | "email";
|
|
1148
1148
|
scope?: string | undefined;
|
|
1149
1149
|
audience?: string | undefined;
|
|
1150
1150
|
} | {
|
|
@@ -1204,7 +1204,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1204
1204
|
client_id: string;
|
|
1205
1205
|
username: string;
|
|
1206
1206
|
otp: string;
|
|
1207
|
-
realm: "
|
|
1207
|
+
realm: "sms" | "email";
|
|
1208
1208
|
scope?: string | undefined;
|
|
1209
1209
|
audience?: string | undefined;
|
|
1210
1210
|
} | {
|
|
@@ -1277,7 +1277,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1277
1277
|
client_id: string;
|
|
1278
1278
|
username: string;
|
|
1279
1279
|
otp: string;
|
|
1280
|
-
realm: "
|
|
1280
|
+
realm: "sms" | "email";
|
|
1281
1281
|
scope?: string | undefined;
|
|
1282
1282
|
audience?: string | undefined;
|
|
1283
1283
|
} | {
|
|
@@ -1337,7 +1337,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1337
1337
|
client_id: string;
|
|
1338
1338
|
username: string;
|
|
1339
1339
|
otp: string;
|
|
1340
|
-
realm: "
|
|
1340
|
+
realm: "sms" | "email";
|
|
1341
1341
|
scope?: string | undefined;
|
|
1342
1342
|
audience?: string | undefined;
|
|
1343
1343
|
} | {
|
|
@@ -1405,7 +1405,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1405
1405
|
client_id: string;
|
|
1406
1406
|
username: string;
|
|
1407
1407
|
otp: string;
|
|
1408
|
-
realm: "
|
|
1408
|
+
realm: "sms" | "email";
|
|
1409
1409
|
scope?: string | undefined;
|
|
1410
1410
|
audience?: string | undefined;
|
|
1411
1411
|
} | {
|
|
@@ -1465,7 +1465,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1465
1465
|
client_id: string;
|
|
1466
1466
|
username: string;
|
|
1467
1467
|
otp: string;
|
|
1468
|
-
realm: "
|
|
1468
|
+
realm: "sms" | "email";
|
|
1469
1469
|
scope?: string | undefined;
|
|
1470
1470
|
audience?: string | undefined;
|
|
1471
1471
|
} | {
|
|
@@ -1533,7 +1533,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1533
1533
|
client_id: string;
|
|
1534
1534
|
username: string;
|
|
1535
1535
|
otp: string;
|
|
1536
|
-
realm: "
|
|
1536
|
+
realm: "sms" | "email";
|
|
1537
1537
|
scope?: string | undefined;
|
|
1538
1538
|
audience?: string | undefined;
|
|
1539
1539
|
} | {
|
|
@@ -1593,7 +1593,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1593
1593
|
client_id: string;
|
|
1594
1594
|
username: string;
|
|
1595
1595
|
otp: string;
|
|
1596
|
-
realm: "
|
|
1596
|
+
realm: "sms" | "email";
|
|
1597
1597
|
scope?: string | undefined;
|
|
1598
1598
|
audience?: string | undefined;
|
|
1599
1599
|
} | {
|
|
@@ -14,16 +14,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
audience?: string | undefined;
|
|
17
18
|
response_type?: AuthorizationResponseType | undefined;
|
|
18
19
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
19
20
|
scope?: string | undefined;
|
|
20
21
|
username?: string | undefined;
|
|
21
|
-
nonce?: string | undefined;
|
|
22
|
-
audience?: string | undefined;
|
|
23
22
|
state?: string | undefined;
|
|
24
23
|
act_as?: string | undefined;
|
|
25
24
|
redirect_uri?: string | undefined;
|
|
26
25
|
organization?: string | undefined;
|
|
26
|
+
nonce?: string | undefined;
|
|
27
27
|
prompt?: string | undefined;
|
|
28
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
29
|
code_challenge?: string | undefined;
|
|
@@ -50,16 +50,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
audience?: string | undefined;
|
|
53
54
|
response_type?: AuthorizationResponseType | undefined;
|
|
54
55
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
55
56
|
scope?: string | undefined;
|
|
56
57
|
username?: string | undefined;
|
|
57
|
-
nonce?: string | undefined;
|
|
58
|
-
audience?: string | undefined;
|
|
59
58
|
state?: string | undefined;
|
|
60
59
|
act_as?: string | undefined;
|
|
61
60
|
redirect_uri?: string | undefined;
|
|
62
61
|
organization?: string | undefined;
|
|
62
|
+
nonce?: string | undefined;
|
|
63
63
|
prompt?: string | undefined;
|
|
64
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
65
|
code_challenge?: string | 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?: "
|
|
21
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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?: "
|
|
110
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
111
111
|
jwks_uri?: string | undefined;
|
|
112
112
|
jwks?: Record<string, unknown> | undefined;
|
|
113
113
|
software_id?: string | undefined;
|
|
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
9
9
|
input: {
|
|
10
10
|
form: {
|
|
11
11
|
token: string;
|
|
12
|
-
token_type_hint?: "
|
|
12
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
13
13
|
client_id?: string | undefined;
|
|
14
14
|
client_secret?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
} & {
|
|
17
17
|
json: {
|
|
18
18
|
token: string;
|
|
19
|
-
token_type_hint?: "
|
|
19
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
20
20
|
client_id?: string | undefined;
|
|
21
21
|
client_secret?: string | undefined;
|
|
22
22
|
};
|
|
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
28
28
|
input: {
|
|
29
29
|
form: {
|
|
30
30
|
token: string;
|
|
31
|
-
token_type_hint?: "
|
|
31
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
32
32
|
client_id?: string | undefined;
|
|
33
33
|
client_secret?: string | undefined;
|
|
34
34
|
};
|
|
35
35
|
} & {
|
|
36
36
|
json: {
|
|
37
37
|
token: string;
|
|
38
|
-
token_type_hint?: "
|
|
38
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
39
39
|
client_id?: string | undefined;
|
|
40
40
|
client_secret?: string | undefined;
|
|
41
41
|
};
|
|
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
50
50
|
input: {
|
|
51
51
|
form: {
|
|
52
52
|
token: string;
|
|
53
|
-
token_type_hint?: "
|
|
53
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
54
54
|
client_id?: string | undefined;
|
|
55
55
|
client_secret?: string | undefined;
|
|
56
56
|
};
|
|
57
57
|
} & {
|
|
58
58
|
json: {
|
|
59
59
|
token: string;
|
|
60
|
-
token_type_hint?: "
|
|
60
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
61
61
|
client_id?: string | undefined;
|
|
62
62
|
client_secret?: string | undefined;
|
|
63
63
|
};
|
|
@@ -40,7 +40,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
40
40
|
client_id: string;
|
|
41
41
|
username: string;
|
|
42
42
|
otp: string;
|
|
43
|
-
realm: "
|
|
43
|
+
realm: "sms" | "email";
|
|
44
44
|
scope?: string | undefined;
|
|
45
45
|
audience?: string | undefined;
|
|
46
46
|
} | {
|
|
@@ -100,7 +100,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
100
100
|
client_id: string;
|
|
101
101
|
username: string;
|
|
102
102
|
otp: string;
|
|
103
|
-
realm: "
|
|
103
|
+
realm: "sms" | "email";
|
|
104
104
|
scope?: string | undefined;
|
|
105
105
|
audience?: string | undefined;
|
|
106
106
|
} | {
|
|
@@ -165,7 +165,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
165
165
|
client_id: string;
|
|
166
166
|
username: string;
|
|
167
167
|
otp: string;
|
|
168
|
-
realm: "
|
|
168
|
+
realm: "sms" | "email";
|
|
169
169
|
scope?: string | undefined;
|
|
170
170
|
audience?: string | undefined;
|
|
171
171
|
} | {
|
|
@@ -225,7 +225,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
225
225
|
client_id: string;
|
|
226
226
|
username: string;
|
|
227
227
|
otp: string;
|
|
228
|
-
realm: "
|
|
228
|
+
realm: "sms" | "email";
|
|
229
229
|
scope?: string | undefined;
|
|
230
230
|
audience?: string | undefined;
|
|
231
231
|
} | {
|
|
@@ -298,7 +298,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
298
298
|
client_id: string;
|
|
299
299
|
username: string;
|
|
300
300
|
otp: string;
|
|
301
|
-
realm: "
|
|
301
|
+
realm: "sms" | "email";
|
|
302
302
|
scope?: string | undefined;
|
|
303
303
|
audience?: string | undefined;
|
|
304
304
|
} | {
|
|
@@ -358,7 +358,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
358
358
|
client_id: string;
|
|
359
359
|
username: string;
|
|
360
360
|
otp: string;
|
|
361
|
-
realm: "
|
|
361
|
+
realm: "sms" | "email";
|
|
362
362
|
scope?: string | undefined;
|
|
363
363
|
audience?: string | undefined;
|
|
364
364
|
} | {
|
|
@@ -426,7 +426,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
426
426
|
client_id: string;
|
|
427
427
|
username: string;
|
|
428
428
|
otp: string;
|
|
429
|
-
realm: "
|
|
429
|
+
realm: "sms" | "email";
|
|
430
430
|
scope?: string | undefined;
|
|
431
431
|
audience?: string | undefined;
|
|
432
432
|
} | {
|
|
@@ -486,7 +486,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
486
486
|
client_id: string;
|
|
487
487
|
username: string;
|
|
488
488
|
otp: string;
|
|
489
|
-
realm: "
|
|
489
|
+
realm: "sms" | "email";
|
|
490
490
|
scope?: string | undefined;
|
|
491
491
|
audience?: string | undefined;
|
|
492
492
|
} | {
|
|
@@ -554,7 +554,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
554
554
|
client_id: string;
|
|
555
555
|
username: string;
|
|
556
556
|
otp: string;
|
|
557
|
-
realm: "
|
|
557
|
+
realm: "sms" | "email";
|
|
558
558
|
scope?: string | undefined;
|
|
559
559
|
audience?: string | undefined;
|
|
560
560
|
} | {
|
|
@@ -614,7 +614,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
614
614
|
client_id: string;
|
|
615
615
|
username: string;
|
|
616
616
|
otp: string;
|
|
617
|
-
realm: "
|
|
617
|
+
realm: "sms" | "email";
|
|
618
618
|
scope?: string | undefined;
|
|
619
619
|
audience?: string | undefined;
|
|
620
620
|
} | {
|
|
@@ -297,7 +297,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
297
297
|
};
|
|
298
298
|
output: {};
|
|
299
299
|
outputFormat: string;
|
|
300
|
-
status:
|
|
300
|
+
status: 404;
|
|
301
301
|
} | {
|
|
302
302
|
input: {
|
|
303
303
|
param: {
|
|
@@ -310,7 +310,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
310
310
|
};
|
|
311
311
|
output: {};
|
|
312
312
|
outputFormat: string;
|
|
313
|
-
status:
|
|
313
|
+
status: 200;
|
|
314
314
|
} | {
|
|
315
315
|
input: {
|
|
316
316
|
param: {
|
|
@@ -656,7 +656,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
656
656
|
args: import("hono/utils/types").JSONValue[];
|
|
657
657
|
}[];
|
|
658
658
|
logs: {
|
|
659
|
-
level: "
|
|
659
|
+
level: "error" | "info" | "log" | "warn" | "debug";
|
|
660
660
|
message: string;
|
|
661
661
|
}[];
|
|
662
662
|
error?: string | undefined;
|
|
@@ -16,7 +16,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
16
16
|
audience?: string | undefined;
|
|
17
17
|
client_id?: string | undefined;
|
|
18
18
|
allow_any_organization?: string | undefined;
|
|
19
|
-
subject_type?: "
|
|
19
|
+
subject_type?: "user" | "client" | undefined;
|
|
20
20
|
};
|
|
21
21
|
} & {
|
|
22
22
|
header: {
|
|
@@ -31,7 +31,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
31
31
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
32
32
|
allow_any_organization?: boolean | undefined;
|
|
33
33
|
is_system?: boolean | undefined;
|
|
34
|
-
subject_type?: "
|
|
34
|
+
subject_type?: "user" | "client" | undefined;
|
|
35
35
|
authorization_details_types?: string[] | undefined;
|
|
36
36
|
created_at?: string | undefined;
|
|
37
37
|
updated_at?: string | undefined;
|
|
@@ -47,7 +47,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
47
47
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
48
48
|
allow_any_organization?: boolean | undefined;
|
|
49
49
|
is_system?: boolean | undefined;
|
|
50
|
-
subject_type?: "
|
|
50
|
+
subject_type?: "user" | "client" | undefined;
|
|
51
51
|
authorization_details_types?: string[] | undefined;
|
|
52
52
|
created_at?: string | undefined;
|
|
53
53
|
updated_at?: string | undefined;
|
|
@@ -63,7 +63,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
63
63
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
64
64
|
allow_any_organization?: boolean | undefined;
|
|
65
65
|
is_system?: boolean | undefined;
|
|
66
|
-
subject_type?: "
|
|
66
|
+
subject_type?: "user" | "client" | undefined;
|
|
67
67
|
authorization_details_types?: string[] | undefined;
|
|
68
68
|
created_at?: string | undefined;
|
|
69
69
|
updated_at?: string | undefined;
|
|
@@ -94,7 +94,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
94
94
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
95
95
|
allow_any_organization?: boolean | undefined;
|
|
96
96
|
is_system?: boolean | undefined;
|
|
97
|
-
subject_type?: "
|
|
97
|
+
subject_type?: "user" | "client" | undefined;
|
|
98
98
|
authorization_details_types?: string[] | undefined;
|
|
99
99
|
created_at?: string | undefined;
|
|
100
100
|
updated_at?: string | undefined;
|
|
@@ -139,7 +139,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
139
139
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
140
140
|
allow_any_organization?: boolean | undefined;
|
|
141
141
|
is_system?: boolean | undefined;
|
|
142
|
-
subject_type?: "
|
|
142
|
+
subject_type?: "user" | "client" | undefined;
|
|
143
143
|
authorization_details_types?: string[] | undefined;
|
|
144
144
|
};
|
|
145
145
|
};
|
|
@@ -151,7 +151,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
151
151
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
152
152
|
allow_any_organization?: boolean | undefined;
|
|
153
153
|
is_system?: boolean | undefined;
|
|
154
|
-
subject_type?: "
|
|
154
|
+
subject_type?: "user" | "client" | undefined;
|
|
155
155
|
authorization_details_types?: string[] | undefined;
|
|
156
156
|
created_at?: string | undefined;
|
|
157
157
|
updated_at?: string | undefined;
|
|
@@ -175,7 +175,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
175
175
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
176
176
|
allow_any_organization?: boolean | undefined;
|
|
177
177
|
is_system?: boolean | undefined;
|
|
178
|
-
subject_type?: "
|
|
178
|
+
subject_type?: "user" | "client" | undefined;
|
|
179
179
|
authorization_details_types?: string[] | undefined;
|
|
180
180
|
};
|
|
181
181
|
};
|
|
@@ -187,7 +187,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
187
187
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
188
188
|
allow_any_organization?: boolean | undefined;
|
|
189
189
|
is_system?: boolean | undefined;
|
|
190
|
-
subject_type?: "
|
|
190
|
+
subject_type?: "user" | "client" | undefined;
|
|
191
191
|
authorization_details_types?: string[] | undefined;
|
|
192
192
|
created_at?: string | undefined;
|
|
193
193
|
updated_at?: string | undefined;
|
|
@@ -78,7 +78,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
78
78
|
addons?: {
|
|
79
79
|
[x: string]: any;
|
|
80
80
|
} | undefined;
|
|
81
|
-
token_endpoint_auth_method?: "
|
|
81
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
82
82
|
client_metadata?: {
|
|
83
83
|
[x: string]: string;
|
|
84
84
|
} | undefined;
|
|
@@ -183,7 +183,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
183
183
|
addons?: {
|
|
184
184
|
[x: string]: any;
|
|
185
185
|
} | undefined;
|
|
186
|
-
token_endpoint_auth_method?: "
|
|
186
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
187
187
|
client_metadata?: {
|
|
188
188
|
[x: string]: string;
|
|
189
189
|
} | undefined;
|
|
@@ -288,7 +288,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
288
288
|
addons?: {
|
|
289
289
|
[x: string]: any;
|
|
290
290
|
} | undefined;
|
|
291
|
-
token_endpoint_auth_method?: "
|
|
291
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
292
292
|
client_metadata?: {
|
|
293
293
|
[x: string]: string;
|
|
294
294
|
} | undefined;
|
|
@@ -408,7 +408,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
408
408
|
addons?: {
|
|
409
409
|
[x: string]: any;
|
|
410
410
|
} | undefined;
|
|
411
|
-
token_endpoint_auth_method?: "
|
|
411
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
412
412
|
client_metadata?: {
|
|
413
413
|
[x: string]: string;
|
|
414
414
|
} | undefined;
|
|
@@ -529,7 +529,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
529
529
|
custom_login_page_preview?: string | undefined;
|
|
530
530
|
form_template?: string | undefined;
|
|
531
531
|
addons?: Record<string, any> | undefined;
|
|
532
|
-
token_endpoint_auth_method?: "
|
|
532
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
533
533
|
client_metadata?: Record<string, string> | undefined;
|
|
534
534
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
535
535
|
mobile?: Record<string, any> | undefined;
|
|
@@ -618,7 +618,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
618
618
|
addons?: {
|
|
619
619
|
[x: string]: any;
|
|
620
620
|
} | undefined;
|
|
621
|
-
token_endpoint_auth_method?: "
|
|
621
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
622
622
|
client_metadata?: {
|
|
623
623
|
[x: string]: string;
|
|
624
624
|
} | undefined;
|
|
@@ -718,7 +718,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
718
718
|
custom_login_page_preview?: string | undefined;
|
|
719
719
|
form_template?: string | undefined;
|
|
720
720
|
addons?: Record<string, any> | undefined;
|
|
721
|
-
token_endpoint_auth_method?: "
|
|
721
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
722
722
|
client_metadata?: Record<string, string> | undefined;
|
|
723
723
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
724
724
|
mobile?: Record<string, any> | undefined;
|
|
@@ -807,7 +807,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
807
807
|
addons?: {
|
|
808
808
|
[x: string]: any;
|
|
809
809
|
} | undefined;
|
|
810
|
-
token_endpoint_auth_method?: "
|
|
810
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
811
811
|
client_metadata?: {
|
|
812
812
|
[x: string]: string;
|
|
813
813
|
} | undefined;
|
|
@@ -28,7 +28,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
28
28
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
29
29
|
custom_domain_id: string;
|
|
30
30
|
primary: boolean;
|
|
31
|
-
status: "
|
|
31
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
32
32
|
verification_method?: "txt" | undefined;
|
|
33
33
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
34
34
|
domain_metadata?: {
|
|
@@ -69,7 +69,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
69
69
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
70
70
|
custom_domain_id: string;
|
|
71
71
|
primary: boolean;
|
|
72
|
-
status: "
|
|
72
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
73
73
|
verification_method?: "txt" | undefined;
|
|
74
74
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
75
75
|
domain_metadata?: {
|
|
@@ -133,7 +133,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
133
133
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
134
134
|
custom_domain_id: string;
|
|
135
135
|
primary: boolean;
|
|
136
|
-
status: "
|
|
136
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
137
137
|
verification_method?: "txt" | undefined;
|
|
138
138
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
139
139
|
domain_metadata?: {
|
|
@@ -180,7 +180,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
180
180
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
181
181
|
custom_domain_id: string;
|
|
182
182
|
primary: boolean;
|
|
183
|
-
status: "
|
|
183
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
184
184
|
verification_method?: "txt" | undefined;
|
|
185
185
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
186
186
|
domain_metadata?: {
|
|
@@ -226,7 +226,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
226
226
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
227
227
|
custom_domain_id: string;
|
|
228
228
|
primary: boolean;
|
|
229
|
-
status: "
|
|
229
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
230
230
|
verification_method?: "txt" | undefined;
|
|
231
231
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
232
232
|
domain_metadata?: {
|
|
@@ -267,7 +267,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
267
267
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
268
268
|
custom_domain_id: string;
|
|
269
269
|
primary: boolean;
|
|
270
|
-
status: "
|
|
270
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
271
271
|
verification_method?: "txt" | undefined;
|
|
272
272
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
273
273
|
domain_metadata?: {
|