authhero 9.22.1 → 9.23.1
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-91459994.entry.js +1 -0
- package/dist/authhero.cjs +142 -135
- package/dist/authhero.d.ts +220 -156
- package/dist/authhero.mjs +34371 -33668
- 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/generated/locale-types.d.ts +6 -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 +210 -156
- package/dist/types/routes/auth-api/index.d.ts +32 -32
- 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/branding.d.ts +5 -5
- 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 +173 -119
- 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/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-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-widget-page.d.ts +13 -1
- package/dist/types/types/Hooks.d.ts +4 -0
- package/dist/types/types/Variables.d.ts +6 -0
- package/package.json +6 -6
- 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;
|
|
@@ -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: {
|
|
@@ -741,20 +741,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
741
741
|
email: string;
|
|
742
742
|
send: "code" | "link";
|
|
743
743
|
authParams: {
|
|
744
|
+
state?: string | undefined;
|
|
745
|
+
prompt?: string | undefined;
|
|
746
|
+
audience?: string | undefined;
|
|
747
|
+
username?: string | undefined;
|
|
748
|
+
scope?: string | undefined;
|
|
749
|
+
organization?: string | undefined;
|
|
744
750
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
745
751
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
746
|
-
scope?: string | undefined;
|
|
747
|
-
username?: string | undefined;
|
|
748
|
-
nonce?: string | undefined;
|
|
749
|
-
audience?: string | undefined;
|
|
750
|
-
state?: string | undefined;
|
|
751
|
-
act_as?: string | undefined;
|
|
752
752
|
redirect_uri?: string | undefined;
|
|
753
|
-
|
|
754
|
-
|
|
753
|
+
ui_locales?: string | undefined;
|
|
754
|
+
act_as?: string | undefined;
|
|
755
|
+
nonce?: string | undefined;
|
|
755
756
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
756
757
|
code_challenge?: string | undefined;
|
|
757
|
-
ui_locales?: string | undefined;
|
|
758
758
|
max_age?: number | undefined;
|
|
759
759
|
acr_values?: string | undefined;
|
|
760
760
|
claims?: {
|
|
@@ -777,20 +777,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
777
777
|
phone_number: string;
|
|
778
778
|
send: "code" | "link";
|
|
779
779
|
authParams: {
|
|
780
|
+
state?: string | undefined;
|
|
781
|
+
prompt?: string | undefined;
|
|
782
|
+
audience?: string | undefined;
|
|
783
|
+
username?: string | undefined;
|
|
784
|
+
scope?: string | undefined;
|
|
785
|
+
organization?: string | undefined;
|
|
780
786
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
781
787
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
782
|
-
scope?: string | undefined;
|
|
783
|
-
username?: string | undefined;
|
|
784
|
-
nonce?: string | undefined;
|
|
785
|
-
audience?: string | undefined;
|
|
786
|
-
state?: string | undefined;
|
|
787
|
-
act_as?: string | undefined;
|
|
788
788
|
redirect_uri?: string | undefined;
|
|
789
|
-
|
|
790
|
-
|
|
789
|
+
ui_locales?: string | undefined;
|
|
790
|
+
act_as?: string | undefined;
|
|
791
|
+
nonce?: string | undefined;
|
|
791
792
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
792
793
|
code_challenge?: string | undefined;
|
|
793
|
-
ui_locales?: string | undefined;
|
|
794
794
|
max_age?: number | undefined;
|
|
795
795
|
acr_values?: string | undefined;
|
|
796
796
|
claims?: {
|
|
@@ -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;
|
|
@@ -78,7 +78,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
78
78
|
background_color: string;
|
|
79
79
|
background_image_url: string;
|
|
80
80
|
page_layout: "center" | "left" | "right";
|
|
81
|
-
logo_placement?: "
|
|
81
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
82
82
|
};
|
|
83
83
|
widget: {
|
|
84
84
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -168,7 +168,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
168
168
|
background_color: string;
|
|
169
169
|
background_image_url: string;
|
|
170
170
|
page_layout: "center" | "left" | "right";
|
|
171
|
-
logo_placement?: "
|
|
171
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
172
172
|
};
|
|
173
173
|
widget: {
|
|
174
174
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -247,7 +247,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
247
247
|
background_color: string;
|
|
248
248
|
background_image_url: string;
|
|
249
249
|
page_layout: "center" | "left" | "right";
|
|
250
|
-
logo_placement?: "
|
|
250
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
251
251
|
};
|
|
252
252
|
widget: {
|
|
253
253
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
409
409
|
} & {
|
|
410
410
|
json: {
|
|
411
411
|
body?: string | undefined;
|
|
412
|
-
screen?: "
|
|
412
|
+
screen?: "login" | "signup" | "password" | "identifier" | undefined;
|
|
413
413
|
branding?: {
|
|
414
414
|
colors?: {
|
|
415
415
|
primary: string;
|
|
@@ -495,7 +495,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
495
495
|
background_color: string;
|
|
496
496
|
background_image_url: string;
|
|
497
497
|
page_layout: "center" | "left" | "right";
|
|
498
|
-
logo_placement?: "
|
|
498
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
499
499
|
} | undefined;
|
|
500
500
|
widget?: {
|
|
501
501
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -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;
|