authhero 8.22.0 → 8.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/index.esm.js +1 -1
- package/dist/authhero.cjs +142 -142
- package/dist/authhero.d.ts +242 -127
- package/dist/authhero.mjs +20674 -15903
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +12 -4
- package/dist/types/helpers/backchannel-logout.d.ts +19 -0
- package/dist/types/helpers/client.d.ts +10 -1
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/index.d.ts +232 -126
- package/dist/types/routes/auth-api/index.d.ts +24 -20
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/auth-api/well-known.d.ts +4 -0
- 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 +9 -9
- package/dist/types/routes/management-api/clients.d.ts +68 -16
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/hook-code.d.ts +2 -2
- package/dist/types/routes/management-api/index.d.ts +179 -77
- 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 +3 -3
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/roles.d.ts +50 -0
- package/dist/types/routes/management-api/tenants.d.ts +5 -5
- package/dist/types/routes/management-api/themes.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +24 -8
- 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/types/IdToken.d.ts +2 -2
- package/dist/types/utils/crypto.d.ts +3 -0
- package/dist/types/utils/jwt.d.ts +29 -0
- package/dist/types/utils/request-origin.d.ts +6 -0
- package/dist/types/utils/totp.d.ts +10 -0
- package/dist/types/variables.d.ts +8 -0
- package/package.json +6 -7
|
@@ -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?: "none" | "
|
|
304
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_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?: "none" | "
|
|
393
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
394
394
|
jwks_uri?: string | undefined;
|
|
395
395
|
jwks?: Record<string, unknown> | undefined;
|
|
396
396
|
software_id?: string | undefined;
|
|
@@ -736,17 +736,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
736
736
|
email: string;
|
|
737
737
|
send: "code" | "link";
|
|
738
738
|
authParams: {
|
|
739
|
-
audience?: string | undefined;
|
|
740
|
-
scope?: string | undefined;
|
|
741
739
|
username?: string | undefined;
|
|
740
|
+
state?: string | undefined;
|
|
741
|
+
audience?: string | undefined;
|
|
742
742
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
743
743
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
744
|
-
|
|
745
|
-
prompt?: string | undefined;
|
|
744
|
+
scope?: string | undefined;
|
|
746
745
|
organization?: string | undefined;
|
|
747
746
|
nonce?: string | undefined;
|
|
748
747
|
act_as?: string | undefined;
|
|
749
748
|
redirect_uri?: string | undefined;
|
|
749
|
+
prompt?: string | undefined;
|
|
750
750
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
751
751
|
code_challenge?: string | undefined;
|
|
752
752
|
ui_locales?: string | undefined;
|
|
@@ -772,17 +772,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
772
772
|
phone_number: string;
|
|
773
773
|
send: "code" | "link";
|
|
774
774
|
authParams: {
|
|
775
|
-
audience?: string | undefined;
|
|
776
|
-
scope?: string | undefined;
|
|
777
775
|
username?: string | undefined;
|
|
776
|
+
state?: string | undefined;
|
|
777
|
+
audience?: string | undefined;
|
|
778
778
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
779
779
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
780
|
-
|
|
781
|
-
prompt?: string | undefined;
|
|
780
|
+
scope?: string | undefined;
|
|
782
781
|
organization?: string | undefined;
|
|
783
782
|
nonce?: string | undefined;
|
|
784
783
|
act_as?: string | undefined;
|
|
785
784
|
redirect_uri?: string | undefined;
|
|
785
|
+
prompt?: string | undefined;
|
|
786
786
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
787
787
|
code_challenge?: string | undefined;
|
|
788
788
|
ui_locales?: string | undefined;
|
|
@@ -1014,7 +1014,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1014
1014
|
client_id: string;
|
|
1015
1015
|
username: string;
|
|
1016
1016
|
otp: string;
|
|
1017
|
-
realm: "
|
|
1017
|
+
realm: "email" | "sms";
|
|
1018
1018
|
} | {
|
|
1019
1019
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1020
1020
|
subject_token: string;
|
|
@@ -1061,7 +1061,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1061
1061
|
client_id: string;
|
|
1062
1062
|
username: string;
|
|
1063
1063
|
otp: string;
|
|
1064
|
-
realm: "
|
|
1064
|
+
realm: "email" | "sms";
|
|
1065
1065
|
} | {
|
|
1066
1066
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1067
1067
|
subject_token: string;
|
|
@@ -1113,7 +1113,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1113
1113
|
client_id: string;
|
|
1114
1114
|
username: string;
|
|
1115
1115
|
otp: string;
|
|
1116
|
-
realm: "
|
|
1116
|
+
realm: "email" | "sms";
|
|
1117
1117
|
} | {
|
|
1118
1118
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1119
1119
|
subject_token: string;
|
|
@@ -1160,7 +1160,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1160
1160
|
client_id: string;
|
|
1161
1161
|
username: string;
|
|
1162
1162
|
otp: string;
|
|
1163
|
-
realm: "
|
|
1163
|
+
realm: "email" | "sms";
|
|
1164
1164
|
} | {
|
|
1165
1165
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1166
1166
|
subject_token: string;
|
|
@@ -1220,7 +1220,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1220
1220
|
client_id: string;
|
|
1221
1221
|
username: string;
|
|
1222
1222
|
otp: string;
|
|
1223
|
-
realm: "
|
|
1223
|
+
realm: "email" | "sms";
|
|
1224
1224
|
} | {
|
|
1225
1225
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1226
1226
|
subject_token: string;
|
|
@@ -1267,7 +1267,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1267
1267
|
client_id: string;
|
|
1268
1268
|
username: string;
|
|
1269
1269
|
otp: string;
|
|
1270
|
-
realm: "
|
|
1270
|
+
realm: "email" | "sms";
|
|
1271
1271
|
} | {
|
|
1272
1272
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1273
1273
|
subject_token: string;
|
|
@@ -1322,7 +1322,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1322
1322
|
client_id: string;
|
|
1323
1323
|
username: string;
|
|
1324
1324
|
otp: string;
|
|
1325
|
-
realm: "
|
|
1325
|
+
realm: "email" | "sms";
|
|
1326
1326
|
} | {
|
|
1327
1327
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1328
1328
|
subject_token: string;
|
|
@@ -1369,7 +1369,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1369
1369
|
client_id: string;
|
|
1370
1370
|
username: string;
|
|
1371
1371
|
otp: string;
|
|
1372
|
-
realm: "
|
|
1372
|
+
realm: "email" | "sms";
|
|
1373
1373
|
} | {
|
|
1374
1374
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1375
1375
|
subject_token: string;
|
|
@@ -1424,7 +1424,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1424
1424
|
client_id: string;
|
|
1425
1425
|
username: string;
|
|
1426
1426
|
otp: string;
|
|
1427
|
-
realm: "
|
|
1427
|
+
realm: "email" | "sms";
|
|
1428
1428
|
} | {
|
|
1429
1429
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1430
1430
|
subject_token: string;
|
|
@@ -1471,7 +1471,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1471
1471
|
client_id: string;
|
|
1472
1472
|
username: string;
|
|
1473
1473
|
otp: string;
|
|
1474
|
-
realm: "
|
|
1474
|
+
realm: "email" | "sms";
|
|
1475
1475
|
} | {
|
|
1476
1476
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1477
1477
|
subject_token: string;
|
|
@@ -1544,6 +1544,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1544
1544
|
claims_parameter_supported?: boolean | undefined;
|
|
1545
1545
|
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
1546
1546
|
client_id_metadata_document_supported?: boolean | undefined;
|
|
1547
|
+
backchannel_logout_supported?: boolean | undefined;
|
|
1548
|
+
backchannel_logout_session_supported?: boolean | undefined;
|
|
1547
1549
|
};
|
|
1548
1550
|
outputFormat: "json";
|
|
1549
1551
|
status: 200;
|
|
@@ -1577,6 +1579,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1577
1579
|
claims_parameter_supported?: boolean | undefined;
|
|
1578
1580
|
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
1579
1581
|
client_id_metadata_document_supported?: boolean | undefined;
|
|
1582
|
+
backchannel_logout_supported?: boolean | undefined;
|
|
1583
|
+
backchannel_logout_session_supported?: boolean | undefined;
|
|
1580
1584
|
};
|
|
1581
1585
|
outputFormat: "json";
|
|
1582
1586
|
status: 200;
|
|
@@ -14,17 +14,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
audience?: string | undefined;
|
|
18
|
-
scope?: string | undefined;
|
|
19
17
|
username?: string | undefined;
|
|
18
|
+
state?: string | undefined;
|
|
19
|
+
audience?: string | undefined;
|
|
20
20
|
response_type?: AuthorizationResponseType | undefined;
|
|
21
21
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
22
|
-
|
|
23
|
-
prompt?: string | undefined;
|
|
22
|
+
scope?: string | undefined;
|
|
24
23
|
organization?: string | undefined;
|
|
25
24
|
nonce?: string | undefined;
|
|
26
25
|
act_as?: string | undefined;
|
|
27
26
|
redirect_uri?: string | undefined;
|
|
27
|
+
prompt?: string | undefined;
|
|
28
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
29
|
code_challenge?: string | undefined;
|
|
30
30
|
ui_locales?: string | undefined;
|
|
@@ -50,17 +50,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
-
audience?: string | undefined;
|
|
54
|
-
scope?: string | undefined;
|
|
55
53
|
username?: string | undefined;
|
|
54
|
+
state?: string | undefined;
|
|
55
|
+
audience?: string | undefined;
|
|
56
56
|
response_type?: AuthorizationResponseType | undefined;
|
|
57
57
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
58
|
-
|
|
59
|
-
prompt?: string | undefined;
|
|
58
|
+
scope?: string | undefined;
|
|
60
59
|
organization?: string | undefined;
|
|
61
60
|
nonce?: string | undefined;
|
|
62
61
|
act_as?: string | undefined;
|
|
63
62
|
redirect_uri?: string | undefined;
|
|
63
|
+
prompt?: string | undefined;
|
|
64
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
65
|
code_challenge?: string | undefined;
|
|
66
66
|
ui_locales?: 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?: "none" | "
|
|
21
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_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?: "none" | "
|
|
110
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
111
111
|
jwks_uri?: string | undefined;
|
|
112
112
|
jwks?: Record<string, unknown> | undefined;
|
|
113
113
|
software_id?: string | undefined;
|
|
@@ -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: "email" | "sms";
|
|
44
44
|
} | {
|
|
45
45
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
46
46
|
subject_token: string;
|
|
@@ -87,7 +87,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
87
87
|
client_id: string;
|
|
88
88
|
username: string;
|
|
89
89
|
otp: string;
|
|
90
|
-
realm: "
|
|
90
|
+
realm: "email" | "sms";
|
|
91
91
|
} | {
|
|
92
92
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
93
93
|
subject_token: string;
|
|
@@ -139,7 +139,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
139
139
|
client_id: string;
|
|
140
140
|
username: string;
|
|
141
141
|
otp: string;
|
|
142
|
-
realm: "
|
|
142
|
+
realm: "email" | "sms";
|
|
143
143
|
} | {
|
|
144
144
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
145
145
|
subject_token: string;
|
|
@@ -186,7 +186,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
186
186
|
client_id: string;
|
|
187
187
|
username: string;
|
|
188
188
|
otp: string;
|
|
189
|
-
realm: "
|
|
189
|
+
realm: "email" | "sms";
|
|
190
190
|
} | {
|
|
191
191
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
192
192
|
subject_token: string;
|
|
@@ -246,7 +246,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
246
246
|
client_id: string;
|
|
247
247
|
username: string;
|
|
248
248
|
otp: string;
|
|
249
|
-
realm: "
|
|
249
|
+
realm: "email" | "sms";
|
|
250
250
|
} | {
|
|
251
251
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
252
252
|
subject_token: string;
|
|
@@ -293,7 +293,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
293
293
|
client_id: string;
|
|
294
294
|
username: string;
|
|
295
295
|
otp: string;
|
|
296
|
-
realm: "
|
|
296
|
+
realm: "email" | "sms";
|
|
297
297
|
} | {
|
|
298
298
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
299
299
|
subject_token: string;
|
|
@@ -348,7 +348,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
348
348
|
client_id: string;
|
|
349
349
|
username: string;
|
|
350
350
|
otp: string;
|
|
351
|
-
realm: "
|
|
351
|
+
realm: "email" | "sms";
|
|
352
352
|
} | {
|
|
353
353
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
354
354
|
subject_token: string;
|
|
@@ -395,7 +395,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
395
395
|
client_id: string;
|
|
396
396
|
username: string;
|
|
397
397
|
otp: string;
|
|
398
|
-
realm: "
|
|
398
|
+
realm: "email" | "sms";
|
|
399
399
|
} | {
|
|
400
400
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
401
401
|
subject_token: string;
|
|
@@ -450,7 +450,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
450
450
|
client_id: string;
|
|
451
451
|
username: string;
|
|
452
452
|
otp: string;
|
|
453
|
-
realm: "
|
|
453
|
+
realm: "email" | "sms";
|
|
454
454
|
} | {
|
|
455
455
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
456
456
|
subject_token: string;
|
|
@@ -497,7 +497,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
497
497
|
client_id: string;
|
|
498
498
|
username: string;
|
|
499
499
|
otp: string;
|
|
500
|
-
realm: "
|
|
500
|
+
realm: "email" | "sms";
|
|
501
501
|
} | {
|
|
502
502
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
503
503
|
subject_token: string;
|
|
@@ -53,6 +53,8 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
|
|
|
53
53
|
claims_parameter_supported?: boolean | undefined;
|
|
54
54
|
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
55
55
|
client_id_metadata_document_supported?: boolean | undefined;
|
|
56
|
+
backchannel_logout_supported?: boolean | undefined;
|
|
57
|
+
backchannel_logout_session_supported?: boolean | undefined;
|
|
56
58
|
};
|
|
57
59
|
outputFormat: "json";
|
|
58
60
|
status: 200;
|
|
@@ -86,6 +88,8 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
|
|
|
86
88
|
claims_parameter_supported?: boolean | undefined;
|
|
87
89
|
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
88
90
|
client_id_metadata_document_supported?: boolean | undefined;
|
|
91
|
+
backchannel_logout_supported?: boolean | undefined;
|
|
92
|
+
backchannel_logout_session_supported?: boolean | undefined;
|
|
89
93
|
};
|
|
90
94
|
outputFormat: "json";
|
|
91
95
|
status: 200;
|
|
@@ -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: "pending" | "unspecified" | "final" | "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: "push" | "email" | "passkey" | "
|
|
40
|
+
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -78,12 +78,12 @@ 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?: "none" | "widget" | "chip" | undefined;
|
|
82
82
|
};
|
|
83
83
|
widget: {
|
|
84
84
|
header_text_alignment: "center" | "left" | "right";
|
|
85
85
|
logo_height: number;
|
|
86
|
-
logo_position: "
|
|
86
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
87
87
|
logo_url: string;
|
|
88
88
|
social_buttons_layout: "bottom" | "top";
|
|
89
89
|
};
|
|
@@ -168,12 +168,12 @@ 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?: "none" | "widget" | "chip" | undefined;
|
|
172
172
|
};
|
|
173
173
|
widget: {
|
|
174
174
|
header_text_alignment: "center" | "left" | "right";
|
|
175
175
|
logo_height: number;
|
|
176
|
-
logo_position: "
|
|
176
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
177
177
|
logo_url: string;
|
|
178
178
|
social_buttons_layout: "bottom" | "top";
|
|
179
179
|
};
|
|
@@ -247,12 +247,12 @@ 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?: "none" | "widget" | "chip" | undefined;
|
|
251
251
|
};
|
|
252
252
|
widget: {
|
|
253
253
|
header_text_alignment: "center" | "left" | "right";
|
|
254
254
|
logo_height: number;
|
|
255
|
-
logo_position: "
|
|
255
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
256
256
|
logo_url: string;
|
|
257
257
|
social_buttons_layout: "bottom" | "top";
|
|
258
258
|
};
|
|
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
409
409
|
} & {
|
|
410
410
|
json: {
|
|
411
411
|
body?: string | undefined;
|
|
412
|
-
screen?: "password" | "
|
|
412
|
+
screen?: "password" | "identifier" | "signup" | "login" | undefined;
|
|
413
413
|
branding?: {
|
|
414
414
|
colors?: {
|
|
415
415
|
primary: string;
|
|
@@ -495,12 +495,12 @@ 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?: "none" | "widget" | "chip" | undefined;
|
|
499
499
|
} | undefined;
|
|
500
500
|
widget?: {
|
|
501
501
|
header_text_alignment: "center" | "left" | "right";
|
|
502
502
|
logo_height: number;
|
|
503
|
-
logo_position: "
|
|
503
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
504
504
|
logo_url: string;
|
|
505
505
|
social_buttons_layout: "bottom" | "top";
|
|
506
506
|
} | undefined;
|
|
@@ -53,7 +53,13 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
53
53
|
[x: string]: any;
|
|
54
54
|
} | undefined;
|
|
55
55
|
oidc_logout?: {
|
|
56
|
-
[x: string]:
|
|
56
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
57
|
+
backchannel_logout_urls?: string[] | undefined;
|
|
58
|
+
backchannel_logout_initiators?: {
|
|
59
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
60
|
+
mode?: "custom" | "all" | undefined;
|
|
61
|
+
selected_initiators?: string[] | undefined;
|
|
62
|
+
} | undefined;
|
|
57
63
|
} | undefined;
|
|
58
64
|
grant_types?: string[] | undefined;
|
|
59
65
|
jwt_configuration?: {
|
|
@@ -72,7 +78,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
72
78
|
addons?: {
|
|
73
79
|
[x: string]: any;
|
|
74
80
|
} | undefined;
|
|
75
|
-
token_endpoint_auth_method?: "none" | "
|
|
81
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
76
82
|
client_metadata?: {
|
|
77
83
|
[x: string]: string;
|
|
78
84
|
} | undefined;
|
|
@@ -149,7 +155,13 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
149
155
|
[x: string]: any;
|
|
150
156
|
} | undefined;
|
|
151
157
|
oidc_logout?: {
|
|
152
|
-
[x: string]:
|
|
158
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
159
|
+
backchannel_logout_urls?: string[] | undefined;
|
|
160
|
+
backchannel_logout_initiators?: {
|
|
161
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
162
|
+
mode?: "custom" | "all" | undefined;
|
|
163
|
+
selected_initiators?: string[] | undefined;
|
|
164
|
+
} | undefined;
|
|
153
165
|
} | undefined;
|
|
154
166
|
grant_types?: string[] | undefined;
|
|
155
167
|
jwt_configuration?: {
|
|
@@ -168,7 +180,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
168
180
|
addons?: {
|
|
169
181
|
[x: string]: any;
|
|
170
182
|
} | undefined;
|
|
171
|
-
token_endpoint_auth_method?: "none" | "
|
|
183
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
172
184
|
client_metadata?: {
|
|
173
185
|
[x: string]: string;
|
|
174
186
|
} | undefined;
|
|
@@ -245,7 +257,13 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
245
257
|
[x: string]: any;
|
|
246
258
|
} | undefined;
|
|
247
259
|
oidc_logout?: {
|
|
248
|
-
[x: string]:
|
|
260
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
261
|
+
backchannel_logout_urls?: string[] | undefined;
|
|
262
|
+
backchannel_logout_initiators?: {
|
|
263
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
264
|
+
mode?: "custom" | "all" | undefined;
|
|
265
|
+
selected_initiators?: string[] | undefined;
|
|
266
|
+
} | undefined;
|
|
249
267
|
} | undefined;
|
|
250
268
|
grant_types?: string[] | undefined;
|
|
251
269
|
jwt_configuration?: {
|
|
@@ -264,7 +282,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
264
282
|
addons?: {
|
|
265
283
|
[x: string]: any;
|
|
266
284
|
} | undefined;
|
|
267
|
-
token_endpoint_auth_method?: "none" | "
|
|
285
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
268
286
|
client_metadata?: {
|
|
269
287
|
[x: string]: string;
|
|
270
288
|
} | undefined;
|
|
@@ -356,7 +374,13 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
356
374
|
[x: string]: any;
|
|
357
375
|
} | undefined;
|
|
358
376
|
oidc_logout?: {
|
|
359
|
-
[x: string]:
|
|
377
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
378
|
+
backchannel_logout_urls?: string[] | undefined;
|
|
379
|
+
backchannel_logout_initiators?: {
|
|
380
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
381
|
+
mode?: "custom" | "all" | undefined;
|
|
382
|
+
selected_initiators?: string[] | undefined;
|
|
383
|
+
} | undefined;
|
|
360
384
|
} | undefined;
|
|
361
385
|
grant_types?: string[] | undefined;
|
|
362
386
|
jwt_configuration?: {
|
|
@@ -375,7 +399,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
375
399
|
addons?: {
|
|
376
400
|
[x: string]: any;
|
|
377
401
|
} | undefined;
|
|
378
|
-
token_endpoint_auth_method?: "none" | "
|
|
402
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
379
403
|
client_metadata?: {
|
|
380
404
|
[x: string]: string;
|
|
381
405
|
} | undefined;
|
|
@@ -471,7 +495,15 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
471
495
|
connections?: string[] | undefined;
|
|
472
496
|
allowed_logout_urls?: string[] | undefined;
|
|
473
497
|
session_transfer?: Record<string, any> | undefined;
|
|
474
|
-
oidc_logout?:
|
|
498
|
+
oidc_logout?: {
|
|
499
|
+
[x: string]: unknown;
|
|
500
|
+
backchannel_logout_urls?: string[] | undefined;
|
|
501
|
+
backchannel_logout_initiators?: {
|
|
502
|
+
[x: string]: unknown;
|
|
503
|
+
mode?: "custom" | "all" | undefined;
|
|
504
|
+
selected_initiators?: string[] | undefined;
|
|
505
|
+
} | undefined;
|
|
506
|
+
} | undefined;
|
|
475
507
|
grant_types?: string[] | undefined;
|
|
476
508
|
jwt_configuration?: Record<string, any> | undefined;
|
|
477
509
|
signing_keys?: Record<string, any>[] | undefined;
|
|
@@ -485,7 +517,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
485
517
|
custom_login_page_preview?: string | undefined;
|
|
486
518
|
form_template?: string | undefined;
|
|
487
519
|
addons?: Record<string, any> | undefined;
|
|
488
|
-
token_endpoint_auth_method?: "none" | "
|
|
520
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
489
521
|
client_metadata?: Record<string, string> | undefined;
|
|
490
522
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
491
523
|
mobile?: Record<string, any> | undefined;
|
|
@@ -546,7 +578,13 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
546
578
|
[x: string]: any;
|
|
547
579
|
} | undefined;
|
|
548
580
|
oidc_logout?: {
|
|
549
|
-
[x: string]:
|
|
581
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
582
|
+
backchannel_logout_urls?: string[] | undefined;
|
|
583
|
+
backchannel_logout_initiators?: {
|
|
584
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
585
|
+
mode?: "custom" | "all" | undefined;
|
|
586
|
+
selected_initiators?: string[] | undefined;
|
|
587
|
+
} | undefined;
|
|
550
588
|
} | undefined;
|
|
551
589
|
grant_types?: string[] | undefined;
|
|
552
590
|
jwt_configuration?: {
|
|
@@ -565,7 +603,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
565
603
|
addons?: {
|
|
566
604
|
[x: string]: any;
|
|
567
605
|
} | undefined;
|
|
568
|
-
token_endpoint_auth_method?: "none" | "
|
|
606
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
569
607
|
client_metadata?: {
|
|
570
608
|
[x: string]: string;
|
|
571
609
|
} | undefined;
|
|
@@ -640,7 +678,15 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
640
678
|
connections?: string[] | undefined;
|
|
641
679
|
allowed_logout_urls?: string[] | undefined;
|
|
642
680
|
session_transfer?: Record<string, any> | undefined;
|
|
643
|
-
oidc_logout?:
|
|
681
|
+
oidc_logout?: {
|
|
682
|
+
[x: string]: unknown;
|
|
683
|
+
backchannel_logout_urls?: string[] | undefined;
|
|
684
|
+
backchannel_logout_initiators?: {
|
|
685
|
+
[x: string]: unknown;
|
|
686
|
+
mode?: "custom" | "all" | undefined;
|
|
687
|
+
selected_initiators?: string[] | undefined;
|
|
688
|
+
} | undefined;
|
|
689
|
+
} | undefined;
|
|
644
690
|
grant_types?: string[] | undefined;
|
|
645
691
|
jwt_configuration?: Record<string, any> | undefined;
|
|
646
692
|
signing_keys?: Record<string, any>[] | undefined;
|
|
@@ -654,7 +700,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
654
700
|
custom_login_page_preview?: string | undefined;
|
|
655
701
|
form_template?: string | undefined;
|
|
656
702
|
addons?: Record<string, any> | undefined;
|
|
657
|
-
token_endpoint_auth_method?: "none" | "
|
|
703
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
658
704
|
client_metadata?: Record<string, string> | undefined;
|
|
659
705
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
660
706
|
mobile?: Record<string, any> | undefined;
|
|
@@ -715,7 +761,13 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
715
761
|
[x: string]: any;
|
|
716
762
|
} | undefined;
|
|
717
763
|
oidc_logout?: {
|
|
718
|
-
[x: string]:
|
|
764
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
765
|
+
backchannel_logout_urls?: string[] | undefined;
|
|
766
|
+
backchannel_logout_initiators?: {
|
|
767
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
768
|
+
mode?: "custom" | "all" | undefined;
|
|
769
|
+
selected_initiators?: string[] | undefined;
|
|
770
|
+
} | undefined;
|
|
719
771
|
} | undefined;
|
|
720
772
|
grant_types?: string[] | undefined;
|
|
721
773
|
jwt_configuration?: {
|
|
@@ -734,7 +786,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
734
786
|
addons?: {
|
|
735
787
|
[x: string]: any;
|
|
736
788
|
} | undefined;
|
|
737
|
-
token_endpoint_auth_method?: "none" | "
|
|
789
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
738
790
|
client_metadata?: {
|
|
739
791
|
[x: string]: string;
|
|
740
792
|
} | undefined;
|