authhero 8.12.1 → 8.14.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/authhero.cjs +105 -117
- package/dist/authhero.d.ts +83 -83
- package/dist/authhero.mjs +8335 -8277
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/password.d.ts +7 -0
- package/dist/types/authentication-flows/passwordless.d.ts +4 -4
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +2 -2
- package/dist/types/index.d.ts +83 -83
- package/dist/types/routes/auth-api/index.d.ts +22 -22
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- 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/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/client-grants.d.ts +8 -8
- package/dist/types/routes/management-api/clients.d.ts +9 -9
- package/dist/types/routes/management-api/connections.d.ts +5 -5
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/email-templates.d.ts +2 -2
- package/dist/types/routes/management-api/emails.d.ts +2 -2
- package/dist/types/routes/management-api/failed-events.d.ts +1 -1
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/hooks.d.ts +2 -2
- package/dist/types/routes/management-api/index.d.ts +56 -56
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +4 -4
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -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 +1 -1
- package/package.json +2 -2
|
@@ -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" | "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?: "
|
|
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,16 +736,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
736
736
|
email: string;
|
|
737
737
|
send: "code" | "link";
|
|
738
738
|
authParams: {
|
|
739
|
-
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
740
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
741
|
-
scope?: string | undefined;
|
|
742
739
|
username?: string | undefined;
|
|
743
740
|
state?: string | undefined;
|
|
744
741
|
audience?: string | undefined;
|
|
745
|
-
|
|
746
|
-
|
|
742
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
743
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
744
|
+
scope?: string | undefined;
|
|
747
745
|
organization?: string | undefined;
|
|
748
746
|
nonce?: string | undefined;
|
|
747
|
+
redirect_uri?: string | undefined;
|
|
748
|
+
act_as?: string | undefined;
|
|
749
749
|
prompt?: string | undefined;
|
|
750
750
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
751
751
|
code_challenge?: string | undefined;
|
|
@@ -772,16 +772,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
772
772
|
phone_number: string;
|
|
773
773
|
send: "code" | "link";
|
|
774
774
|
authParams: {
|
|
775
|
-
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
776
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
777
|
-
scope?: string | undefined;
|
|
778
775
|
username?: string | undefined;
|
|
779
776
|
state?: string | undefined;
|
|
780
777
|
audience?: string | undefined;
|
|
781
|
-
|
|
782
|
-
|
|
778
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
779
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
780
|
+
scope?: string | undefined;
|
|
783
781
|
organization?: string | undefined;
|
|
784
782
|
nonce?: string | undefined;
|
|
783
|
+
redirect_uri?: string | undefined;
|
|
784
|
+
act_as?: string | undefined;
|
|
785
785
|
prompt?: string | undefined;
|
|
786
786
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
787
787
|
code_challenge?: 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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
1475
1475
|
} | {
|
|
1476
1476
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1477
1477
|
subject_token: string;
|
|
@@ -14,16 +14,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
18
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
19
|
-
scope?: string | undefined;
|
|
20
17
|
username?: string | undefined;
|
|
21
18
|
state?: string | undefined;
|
|
22
19
|
audience?: string | undefined;
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
21
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
22
|
+
scope?: string | undefined;
|
|
25
23
|
organization?: string | undefined;
|
|
26
24
|
nonce?: string | undefined;
|
|
25
|
+
redirect_uri?: string | undefined;
|
|
26
|
+
act_as?: 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
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
54
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
55
|
-
scope?: string | undefined;
|
|
56
53
|
username?: string | undefined;
|
|
57
54
|
state?: string | undefined;
|
|
58
55
|
audience?: string | undefined;
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
57
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
58
|
+
scope?: string | undefined;
|
|
61
59
|
organization?: string | undefined;
|
|
62
60
|
nonce?: string | undefined;
|
|
61
|
+
redirect_uri?: string | undefined;
|
|
62
|
+
act_as?: 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" | "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?: "
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
501
501
|
} | {
|
|
502
502
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
503
503
|
subject_token: string;
|
|
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
661
661
|
args: import("hono/utils/types").JSONValue[];
|
|
662
662
|
}[];
|
|
663
663
|
logs: {
|
|
664
|
-
level: "
|
|
664
|
+
level: "log" | "error" | "info" | "warn" | "debug";
|
|
665
665
|
message: string;
|
|
666
666
|
}[];
|
|
667
667
|
error?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
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;
|
|
@@ -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;
|
|
@@ -78,7 +78,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
78
78
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
79
79
|
allow_any_organization?: boolean | undefined;
|
|
80
80
|
is_system?: boolean | undefined;
|
|
81
|
-
subject_type?: "
|
|
81
|
+
subject_type?: "user" | "client" | undefined;
|
|
82
82
|
authorization_details_types?: string[] | undefined;
|
|
83
83
|
created_at?: string | undefined;
|
|
84
84
|
updated_at?: string | undefined;
|
|
@@ -123,7 +123,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
123
123
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
124
124
|
allow_any_organization?: boolean | undefined;
|
|
125
125
|
is_system?: boolean | undefined;
|
|
126
|
-
subject_type?: "
|
|
126
|
+
subject_type?: "user" | "client" | undefined;
|
|
127
127
|
authorization_details_types?: string[] | undefined;
|
|
128
128
|
};
|
|
129
129
|
};
|
|
@@ -135,7 +135,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
135
135
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
136
136
|
allow_any_organization?: boolean | undefined;
|
|
137
137
|
is_system?: boolean | undefined;
|
|
138
|
-
subject_type?: "
|
|
138
|
+
subject_type?: "user" | "client" | undefined;
|
|
139
139
|
authorization_details_types?: string[] | undefined;
|
|
140
140
|
created_at?: string | undefined;
|
|
141
141
|
updated_at?: string | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
159
159
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
160
160
|
allow_any_organization?: boolean | undefined;
|
|
161
161
|
is_system?: boolean | undefined;
|
|
162
|
-
subject_type?: "
|
|
162
|
+
subject_type?: "user" | "client" | undefined;
|
|
163
163
|
authorization_details_types?: string[] | undefined;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
@@ -171,7 +171,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
171
171
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
172
172
|
allow_any_organization?: boolean | undefined;
|
|
173
173
|
is_system?: boolean | undefined;
|
|
174
|
-
subject_type?: "
|
|
174
|
+
subject_type?: "user" | "client" | undefined;
|
|
175
175
|
authorization_details_types?: string[] | undefined;
|
|
176
176
|
created_at?: string | undefined;
|
|
177
177
|
updated_at?: string | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
72
72
|
addons?: {
|
|
73
73
|
[x: string]: any;
|
|
74
74
|
} | undefined;
|
|
75
|
-
token_endpoint_auth_method?: "
|
|
75
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
76
76
|
client_metadata?: {
|
|
77
77
|
[x: string]: string;
|
|
78
78
|
} | undefined;
|
|
@@ -168,7 +168,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
168
168
|
addons?: {
|
|
169
169
|
[x: string]: any;
|
|
170
170
|
} | undefined;
|
|
171
|
-
token_endpoint_auth_method?: "
|
|
171
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
172
172
|
client_metadata?: {
|
|
173
173
|
[x: string]: string;
|
|
174
174
|
} | undefined;
|
|
@@ -279,7 +279,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
279
279
|
addons?: {
|
|
280
280
|
[x: string]: any;
|
|
281
281
|
} | undefined;
|
|
282
|
-
token_endpoint_auth_method?: "
|
|
282
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
283
283
|
client_metadata?: {
|
|
284
284
|
[x: string]: string;
|
|
285
285
|
} | undefined;
|
|
@@ -389,7 +389,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
389
389
|
custom_login_page_preview?: string | undefined;
|
|
390
390
|
form_template?: string | undefined;
|
|
391
391
|
addons?: Record<string, any> | undefined;
|
|
392
|
-
token_endpoint_auth_method?: "
|
|
392
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
393
393
|
client_metadata?: Record<string, string> | undefined;
|
|
394
394
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
395
395
|
mobile?: Record<string, any> | undefined;
|
|
@@ -469,7 +469,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
469
469
|
addons?: {
|
|
470
470
|
[x: string]: any;
|
|
471
471
|
} | undefined;
|
|
472
|
-
token_endpoint_auth_method?: "
|
|
472
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
473
473
|
client_metadata?: {
|
|
474
474
|
[x: string]: string;
|
|
475
475
|
} | undefined;
|
|
@@ -558,7 +558,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
558
558
|
custom_login_page_preview?: string | undefined;
|
|
559
559
|
form_template?: string | undefined;
|
|
560
560
|
addons?: Record<string, any> | undefined;
|
|
561
|
-
token_endpoint_auth_method?: "
|
|
561
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
562
562
|
client_metadata?: Record<string, string> | undefined;
|
|
563
563
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
564
564
|
mobile?: Record<string, any> | undefined;
|
|
@@ -638,7 +638,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
638
638
|
addons?: {
|
|
639
639
|
[x: string]: any;
|
|
640
640
|
} | undefined;
|
|
641
|
-
token_endpoint_auth_method?: "
|
|
641
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
642
642
|
client_metadata?: {
|
|
643
643
|
[x: string]: string;
|
|
644
644
|
} | undefined;
|
|
@@ -807,7 +807,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
807
807
|
} | undefined;
|
|
808
808
|
} | undefined;
|
|
809
809
|
passkey_options?: {
|
|
810
|
-
challenge_ui?: "
|
|
810
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
811
811
|
local_enrollment_enabled?: boolean | undefined;
|
|
812
812
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
813
813
|
} | undefined;
|
|
@@ -961,7 +961,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
961
961
|
} | undefined;
|
|
962
962
|
} | undefined;
|
|
963
963
|
passkey_options?: {
|
|
964
|
-
challenge_ui?: "
|
|
964
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
965
965
|
local_enrollment_enabled?: boolean | undefined;
|
|
966
966
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
967
967
|
} | undefined;
|
|
@@ -129,7 +129,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
129
129
|
} | undefined;
|
|
130
130
|
} | undefined;
|
|
131
131
|
passkey_options?: {
|
|
132
|
-
challenge_ui?: "
|
|
132
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
133
133
|
local_enrollment_enabled?: boolean | undefined;
|
|
134
134
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
135
135
|
} | undefined;
|
|
@@ -263,7 +263,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
263
263
|
} | undefined;
|
|
264
264
|
} | undefined;
|
|
265
265
|
passkey_options?: {
|
|
266
|
-
challenge_ui?: "
|
|
266
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
267
267
|
local_enrollment_enabled?: boolean | undefined;
|
|
268
268
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
269
269
|
} | undefined;
|
|
@@ -412,7 +412,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
412
412
|
} | undefined;
|
|
413
413
|
} | undefined;
|
|
414
414
|
passkey_options?: {
|
|
415
|
-
challenge_ui?: "
|
|
415
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
416
416
|
local_enrollment_enabled?: boolean | undefined;
|
|
417
417
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
418
418
|
} | undefined;
|
|
@@ -591,7 +591,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
591
591
|
} | undefined;
|
|
592
592
|
} | undefined;
|
|
593
593
|
passkey_options?: {
|
|
594
|
-
challenge_ui?: "
|
|
594
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
595
595
|
local_enrollment_enabled?: boolean | undefined;
|
|
596
596
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
597
597
|
} | undefined;
|
|
@@ -749,7 +749,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
749
749
|
} | undefined;
|
|
750
750
|
} | undefined;
|
|
751
751
|
passkey_options?: {
|
|
752
|
-
challenge_ui?: "
|
|
752
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
753
753
|
local_enrollment_enabled?: boolean | undefined;
|
|
754
754
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
755
755
|
} | 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?: {
|
|
@@ -233,7 +233,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
233
233
|
};
|
|
234
234
|
output: {};
|
|
235
235
|
outputFormat: string;
|
|
236
|
-
status:
|
|
236
|
+
status: 204;
|
|
237
237
|
} | {
|
|
238
238
|
input: {
|
|
239
239
|
param: {
|
|
@@ -246,7 +246,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
246
246
|
};
|
|
247
247
|
output: {};
|
|
248
248
|
outputFormat: string;
|
|
249
|
-
status:
|
|
249
|
+
status: 404;
|
|
250
250
|
};
|
|
251
251
|
};
|
|
252
252
|
} & {
|
|
@@ -109,7 +109,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
109
109
|
};
|
|
110
110
|
output: {};
|
|
111
111
|
outputFormat: string;
|
|
112
|
-
status:
|
|
112
|
+
status: 204;
|
|
113
113
|
} | {
|
|
114
114
|
input: {
|
|
115
115
|
header: {
|
|
@@ -118,7 +118,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
118
118
|
};
|
|
119
119
|
output: {};
|
|
120
120
|
outputFormat: string;
|
|
121
|
-
status:
|
|
121
|
+
status: 404;
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
124
|
}, "/">;
|
|
@@ -30,7 +30,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
30
30
|
log_type: string;
|
|
31
31
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
32
32
|
actor: {
|
|
33
|
-
type: "
|
|
33
|
+
type: "user" | "client_credentials" | "system" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|