authhero 5.14.0 → 5.14.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/authhero.cjs +132 -132
- package/dist/authhero.d.ts +113 -97
- package/dist/authhero.mjs +6358 -6282
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/password.d.ts +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +3 -3
- package/dist/types/emails/index.d.ts +1 -1
- package/dist/types/index.d.ts +113 -97
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/index.d.ts +22 -22
- package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
- package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
- 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/clients.d.ts +7 -7
- package/dist/types/routes/management-api/custom-domains.d.ts +7 -7
- package/dist/types/routes/management-api/failed-events.d.ts +1 -1
- package/dist/types/routes/management-api/flows.d.ts +7 -7
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/hooks.d.ts +24 -24
- package/dist/types/routes/management-api/index.d.ts +69 -69
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- 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 +2 -2
- package/dist/types/routes/universal-login/error-page.d.ts +2 -1
- package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
- package/dist/types/routes/universal-login/u2-index.d.ts +22 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +22 -6
- package/dist/types/variables.d.ts +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
11
11
|
client_id: string;
|
|
12
12
|
redirect_url?: string | undefined;
|
|
13
13
|
login_hint?: string | undefined;
|
|
14
|
-
screen_hint?: "
|
|
14
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
output: {};
|
|
@@ -23,7 +23,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
23
23
|
client_id: string;
|
|
24
24
|
redirect_url?: string | undefined;
|
|
25
25
|
login_hint?: string | undefined;
|
|
26
|
-
screen_hint?: "
|
|
26
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
output: {
|
|
@@ -288,7 +288,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
288
288
|
scope?: string | undefined;
|
|
289
289
|
grant_types?: string[] | undefined;
|
|
290
290
|
response_types?: string[] | undefined;
|
|
291
|
-
token_endpoint_auth_method?: "none" | "
|
|
291
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
292
292
|
jwks_uri?: string | undefined;
|
|
293
293
|
jwks?: Record<string, unknown> | undefined;
|
|
294
294
|
software_id?: string | undefined;
|
|
@@ -377,7 +377,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
377
377
|
scope?: string | undefined;
|
|
378
378
|
grant_types?: string[] | undefined;
|
|
379
379
|
response_types?: string[] | undefined;
|
|
380
|
-
token_endpoint_auth_method?: "none" | "
|
|
380
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
381
381
|
jwks_uri?: string | undefined;
|
|
382
382
|
jwks?: Record<string, unknown> | undefined;
|
|
383
383
|
software_id?: string | undefined;
|
|
@@ -434,7 +434,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
434
434
|
client_id: string;
|
|
435
435
|
redirect_url?: string | undefined;
|
|
436
436
|
login_hint?: string | undefined;
|
|
437
|
-
screen_hint?: "
|
|
437
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
438
438
|
};
|
|
439
439
|
};
|
|
440
440
|
output: {};
|
|
@@ -446,7 +446,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
446
446
|
client_id: string;
|
|
447
447
|
redirect_url?: string | undefined;
|
|
448
448
|
login_hint?: string | undefined;
|
|
449
|
-
screen_hint?: "
|
|
449
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
450
450
|
};
|
|
451
451
|
};
|
|
452
452
|
output: {
|
|
@@ -723,12 +723,12 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
723
|
email: string;
|
|
724
724
|
send: "code" | "link";
|
|
725
725
|
authParams: {
|
|
726
|
-
|
|
726
|
+
state?: string | undefined;
|
|
727
|
+
username?: string | undefined;
|
|
727
728
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
728
729
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
729
730
|
scope?: string | undefined;
|
|
730
|
-
|
|
731
|
-
state?: string | undefined;
|
|
731
|
+
audience?: string | undefined;
|
|
732
732
|
act_as?: string | undefined;
|
|
733
733
|
redirect_uri?: string | undefined;
|
|
734
734
|
organization?: string | undefined;
|
|
@@ -759,12 +759,12 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
759
759
|
phone_number: string;
|
|
760
760
|
send: "code" | "link";
|
|
761
761
|
authParams: {
|
|
762
|
-
|
|
762
|
+
state?: string | undefined;
|
|
763
|
+
username?: string | undefined;
|
|
763
764
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
764
765
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
765
766
|
scope?: string | undefined;
|
|
766
|
-
|
|
767
|
-
state?: string | undefined;
|
|
767
|
+
audience?: string | undefined;
|
|
768
768
|
act_as?: string | undefined;
|
|
769
769
|
redirect_uri?: string | undefined;
|
|
770
770
|
organization?: string | undefined;
|
|
@@ -1001,7 +1001,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1001
1001
|
client_id: string;
|
|
1002
1002
|
username: string;
|
|
1003
1003
|
otp: string;
|
|
1004
|
-
realm: "
|
|
1004
|
+
realm: "email" | "sms";
|
|
1005
1005
|
};
|
|
1006
1006
|
} & {
|
|
1007
1007
|
json: {
|
|
@@ -1037,7 +1037,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1037
1037
|
client_id: string;
|
|
1038
1038
|
username: string;
|
|
1039
1039
|
otp: string;
|
|
1040
|
-
realm: "
|
|
1040
|
+
realm: "email" | "sms";
|
|
1041
1041
|
};
|
|
1042
1042
|
};
|
|
1043
1043
|
output: {};
|
|
@@ -1078,7 +1078,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1078
1078
|
client_id: string;
|
|
1079
1079
|
username: string;
|
|
1080
1080
|
otp: string;
|
|
1081
|
-
realm: "
|
|
1081
|
+
realm: "email" | "sms";
|
|
1082
1082
|
};
|
|
1083
1083
|
} & {
|
|
1084
1084
|
json: {
|
|
@@ -1114,7 +1114,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1114
1114
|
client_id: string;
|
|
1115
1115
|
username: string;
|
|
1116
1116
|
otp: string;
|
|
1117
|
-
realm: "
|
|
1117
|
+
realm: "email" | "sms";
|
|
1118
1118
|
};
|
|
1119
1119
|
};
|
|
1120
1120
|
output: {
|
|
@@ -1163,7 +1163,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1163
1163
|
client_id: string;
|
|
1164
1164
|
username: string;
|
|
1165
1165
|
otp: string;
|
|
1166
|
-
realm: "
|
|
1166
|
+
realm: "email" | "sms";
|
|
1167
1167
|
};
|
|
1168
1168
|
} & {
|
|
1169
1169
|
json: {
|
|
@@ -1199,7 +1199,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1199
1199
|
client_id: string;
|
|
1200
1200
|
username: string;
|
|
1201
1201
|
otp: string;
|
|
1202
|
-
realm: "
|
|
1202
|
+
realm: "email" | "sms";
|
|
1203
1203
|
};
|
|
1204
1204
|
};
|
|
1205
1205
|
output: {
|
|
@@ -1243,7 +1243,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1243
1243
|
client_id: string;
|
|
1244
1244
|
username: string;
|
|
1245
1245
|
otp: string;
|
|
1246
|
-
realm: "
|
|
1246
|
+
realm: "email" | "sms";
|
|
1247
1247
|
};
|
|
1248
1248
|
} & {
|
|
1249
1249
|
json: {
|
|
@@ -1279,7 +1279,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1279
1279
|
client_id: string;
|
|
1280
1280
|
username: string;
|
|
1281
1281
|
otp: string;
|
|
1282
|
-
realm: "
|
|
1282
|
+
realm: "email" | "sms";
|
|
1283
1283
|
};
|
|
1284
1284
|
};
|
|
1285
1285
|
output: {
|
|
@@ -1323,7 +1323,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1323
1323
|
client_id: string;
|
|
1324
1324
|
username: string;
|
|
1325
1325
|
otp: string;
|
|
1326
|
-
realm: "
|
|
1326
|
+
realm: "email" | "sms";
|
|
1327
1327
|
};
|
|
1328
1328
|
} & {
|
|
1329
1329
|
json: {
|
|
@@ -1359,7 +1359,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1359
1359
|
client_id: string;
|
|
1360
1360
|
username: string;
|
|
1361
1361
|
otp: string;
|
|
1362
|
-
realm: "
|
|
1362
|
+
realm: "email" | "sms";
|
|
1363
1363
|
};
|
|
1364
1364
|
};
|
|
1365
1365
|
output: {
|
|
@@ -1566,7 +1566,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1566
1566
|
};
|
|
1567
1567
|
output: {};
|
|
1568
1568
|
outputFormat: string;
|
|
1569
|
-
status:
|
|
1569
|
+
status: 302;
|
|
1570
1570
|
} | {
|
|
1571
1571
|
input: {
|
|
1572
1572
|
query: {
|
|
@@ -1580,7 +1580,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1580
1580
|
};
|
|
1581
1581
|
output: {};
|
|
1582
1582
|
outputFormat: string;
|
|
1583
|
-
status:
|
|
1583
|
+
status: 200;
|
|
1584
1584
|
} | {
|
|
1585
1585
|
input: {
|
|
1586
1586
|
query: {
|
|
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
18
18
|
};
|
|
19
19
|
output: {};
|
|
20
20
|
outputFormat: string;
|
|
21
|
-
status:
|
|
21
|
+
status: 302;
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
query: {
|
|
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
32
32
|
};
|
|
33
33
|
output: {};
|
|
34
34
|
outputFormat: string;
|
|
35
|
-
status:
|
|
35
|
+
status: 200;
|
|
36
36
|
} | {
|
|
37
37
|
input: {
|
|
38
38
|
query: {
|
|
@@ -14,12 +14,12 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
|
|
17
|
+
state?: string | undefined;
|
|
18
|
+
username?: string | undefined;
|
|
18
19
|
response_type?: AuthorizationResponseType | undefined;
|
|
19
20
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
20
21
|
scope?: string | undefined;
|
|
21
|
-
|
|
22
|
-
state?: string | undefined;
|
|
22
|
+
audience?: string | undefined;
|
|
23
23
|
act_as?: string | undefined;
|
|
24
24
|
redirect_uri?: string | undefined;
|
|
25
25
|
organization?: string | undefined;
|
|
@@ -50,12 +50,12 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
-
|
|
53
|
+
state?: string | undefined;
|
|
54
|
+
username?: string | undefined;
|
|
54
55
|
response_type?: AuthorizationResponseType | undefined;
|
|
55
56
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
56
57
|
scope?: string | undefined;
|
|
57
|
-
|
|
58
|
-
state?: string | undefined;
|
|
58
|
+
audience?: string | undefined;
|
|
59
59
|
act_as?: string | undefined;
|
|
60
60
|
redirect_uri?: string | undefined;
|
|
61
61
|
organization?: 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" | "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?: "none" | "
|
|
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;
|
|
@@ -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
|
} & {
|
|
46
46
|
json: {
|
|
@@ -76,7 +76,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
76
76
|
client_id: string;
|
|
77
77
|
username: string;
|
|
78
78
|
otp: string;
|
|
79
|
-
realm: "
|
|
79
|
+
realm: "email" | "sms";
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
82
|
output: {};
|
|
@@ -117,7 +117,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
117
117
|
client_id: string;
|
|
118
118
|
username: string;
|
|
119
119
|
otp: string;
|
|
120
|
-
realm: "
|
|
120
|
+
realm: "email" | "sms";
|
|
121
121
|
};
|
|
122
122
|
} & {
|
|
123
123
|
json: {
|
|
@@ -153,7 +153,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
153
153
|
client_id: string;
|
|
154
154
|
username: string;
|
|
155
155
|
otp: string;
|
|
156
|
-
realm: "
|
|
156
|
+
realm: "email" | "sms";
|
|
157
157
|
};
|
|
158
158
|
};
|
|
159
159
|
output: {
|
|
@@ -202,7 +202,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
202
202
|
client_id: string;
|
|
203
203
|
username: string;
|
|
204
204
|
otp: string;
|
|
205
|
-
realm: "
|
|
205
|
+
realm: "email" | "sms";
|
|
206
206
|
};
|
|
207
207
|
} & {
|
|
208
208
|
json: {
|
|
@@ -238,7 +238,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
238
238
|
client_id: string;
|
|
239
239
|
username: string;
|
|
240
240
|
otp: string;
|
|
241
|
-
realm: "
|
|
241
|
+
realm: "email" | "sms";
|
|
242
242
|
};
|
|
243
243
|
};
|
|
244
244
|
output: {
|
|
@@ -282,7 +282,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
282
282
|
client_id: string;
|
|
283
283
|
username: string;
|
|
284
284
|
otp: string;
|
|
285
|
-
realm: "
|
|
285
|
+
realm: "email" | "sms";
|
|
286
286
|
};
|
|
287
287
|
} & {
|
|
288
288
|
json: {
|
|
@@ -318,7 +318,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
318
318
|
client_id: string;
|
|
319
319
|
username: string;
|
|
320
320
|
otp: string;
|
|
321
|
-
realm: "
|
|
321
|
+
realm: "email" | "sms";
|
|
322
322
|
};
|
|
323
323
|
};
|
|
324
324
|
output: {
|
|
@@ -362,7 +362,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
362
362
|
client_id: string;
|
|
363
363
|
username: string;
|
|
364
364
|
otp: string;
|
|
365
|
-
realm: "
|
|
365
|
+
realm: "email" | "sms";
|
|
366
366
|
};
|
|
367
367
|
} & {
|
|
368
368
|
json: {
|
|
@@ -398,7 +398,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
398
398
|
client_id: string;
|
|
399
399
|
username: string;
|
|
400
400
|
otp: string;
|
|
401
|
-
realm: "
|
|
401
|
+
realm: "email" | "sms";
|
|
402
402
|
};
|
|
403
403
|
};
|
|
404
404
|
output: {
|
|
@@ -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: "email" | "passkey" | "push" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: 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?: "none" | "
|
|
75
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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?: "none" | "
|
|
171
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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?: "none" | "
|
|
282
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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?: "none" | "
|
|
392
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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?: "none" | "
|
|
472
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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?: "none" | "
|
|
561
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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?: "none" | "
|
|
641
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
642
642
|
client_metadata?: {
|
|
643
643
|
[x: string]: string;
|
|
644
644
|
} | undefined;
|
|
@@ -30,7 +30,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
30
30
|
primary: boolean;
|
|
31
31
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
32
32
|
verification_method?: "txt" | undefined;
|
|
33
|
-
custom_client_ip_header?: "null" | "
|
|
33
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
34
34
|
domain_metadata?: {
|
|
35
35
|
[x: string]: string;
|
|
36
36
|
} | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
71
71
|
primary: boolean;
|
|
72
72
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
73
73
|
verification_method?: "txt" | undefined;
|
|
74
|
-
custom_client_ip_header?: "null" | "
|
|
74
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
75
75
|
domain_metadata?: {
|
|
76
76
|
[x: string]: string;
|
|
77
77
|
} | undefined;
|
|
@@ -126,7 +126,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
126
126
|
domain?: string | undefined;
|
|
127
127
|
type?: "auth0_managed_certs" | "self_managed_certs" | undefined;
|
|
128
128
|
verification_method?: "txt" | undefined;
|
|
129
|
-
custom_client_ip_header?: "null" | "
|
|
129
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
130
130
|
domain_metadata?: Record<string, string> | undefined;
|
|
131
131
|
custom_domain_id?: string | undefined;
|
|
132
132
|
primary?: boolean | undefined;
|
|
@@ -153,7 +153,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
153
153
|
primary: boolean;
|
|
154
154
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
155
155
|
verification_method?: "txt" | undefined;
|
|
156
|
-
custom_client_ip_header?: "null" | "
|
|
156
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
157
157
|
domain_metadata?: {
|
|
158
158
|
[x: string]: string;
|
|
159
159
|
} | undefined;
|
|
@@ -189,7 +189,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
189
189
|
custom_domain_id?: string | undefined;
|
|
190
190
|
verification_method?: "txt" | undefined;
|
|
191
191
|
tls_policy?: "recommended" | undefined;
|
|
192
|
-
custom_client_ip_header?: "null" | "
|
|
192
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
193
193
|
domain_metadata?: Record<string, string> | undefined;
|
|
194
194
|
};
|
|
195
195
|
};
|
|
@@ -200,7 +200,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
200
200
|
primary: boolean;
|
|
201
201
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
202
202
|
verification_method?: "txt" | undefined;
|
|
203
|
-
custom_client_ip_header?: "null" | "
|
|
203
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
204
204
|
domain_metadata?: {
|
|
205
205
|
[x: string]: string;
|
|
206
206
|
} | undefined;
|
|
@@ -241,7 +241,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
241
241
|
primary: boolean;
|
|
242
242
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
243
243
|
verification_method?: "txt" | undefined;
|
|
244
|
-
custom_client_ip_header?: "null" | "
|
|
244
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
245
245
|
domain_metadata?: {
|
|
246
246
|
[x: string]: string;
|
|
247
247
|
} | undefined;
|
|
@@ -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" | "api_key" | "system" | "admin";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -62,7 +62,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
62
62
|
type: "REDIRECT";
|
|
63
63
|
action: "REDIRECT_USER";
|
|
64
64
|
params: {
|
|
65
|
-
target: "custom" | "
|
|
65
|
+
target: "custom" | "account" | "change-email";
|
|
66
66
|
custom_url?: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
alias?: string | undefined;
|
|
@@ -115,7 +115,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
115
115
|
type: "REDIRECT";
|
|
116
116
|
action: "REDIRECT_USER";
|
|
117
117
|
params: {
|
|
118
|
-
target: "custom" | "
|
|
118
|
+
target: "custom" | "account" | "change-email";
|
|
119
119
|
custom_url?: string | undefined;
|
|
120
120
|
};
|
|
121
121
|
alias?: string | undefined;
|
|
@@ -183,7 +183,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
183
183
|
type: "REDIRECT";
|
|
184
184
|
action: "REDIRECT_USER";
|
|
185
185
|
params: {
|
|
186
|
-
target: "custom" | "
|
|
186
|
+
target: "custom" | "account" | "change-email";
|
|
187
187
|
custom_url?: string | undefined;
|
|
188
188
|
};
|
|
189
189
|
alias?: string | undefined;
|
|
@@ -264,7 +264,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
264
264
|
type: "REDIRECT";
|
|
265
265
|
action: "REDIRECT_USER";
|
|
266
266
|
params: {
|
|
267
|
-
target: "custom" | "
|
|
267
|
+
target: "custom" | "account" | "change-email";
|
|
268
268
|
custom_url?: string | undefined;
|
|
269
269
|
};
|
|
270
270
|
alias?: string | undefined;
|
|
@@ -312,7 +312,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
312
312
|
type: "REDIRECT";
|
|
313
313
|
action: "REDIRECT_USER";
|
|
314
314
|
params: {
|
|
315
|
-
target: "custom" | "
|
|
315
|
+
target: "custom" | "account" | "change-email";
|
|
316
316
|
custom_url?: string | undefined;
|
|
317
317
|
};
|
|
318
318
|
alias?: string | undefined;
|
|
@@ -372,7 +372,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
372
372
|
type: "REDIRECT";
|
|
373
373
|
action: "REDIRECT_USER";
|
|
374
374
|
params: {
|
|
375
|
-
target: "custom" | "
|
|
375
|
+
target: "custom" | "account" | "change-email";
|
|
376
376
|
custom_url?: string | undefined;
|
|
377
377
|
};
|
|
378
378
|
alias?: string | undefined;
|
|
@@ -420,7 +420,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
420
420
|
type: "REDIRECT";
|
|
421
421
|
action: "REDIRECT_USER";
|
|
422
422
|
params: {
|
|
423
|
-
target: "custom" | "
|
|
423
|
+
target: "custom" | "account" | "change-email";
|
|
424
424
|
custom_url?: string | undefined;
|
|
425
425
|
};
|
|
426
426
|
alias?: string | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
output: {
|
|
15
|
-
name: "
|
|
15
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
16
16
|
enabled: boolean;
|
|
17
17
|
trial_expired?: boolean | undefined;
|
|
18
18
|
}[];
|
|
@@ -167,7 +167,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
167
167
|
$get: {
|
|
168
168
|
input: {
|
|
169
169
|
param: {
|
|
170
|
-
factor_name: "
|
|
170
|
+
factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
171
171
|
};
|
|
172
172
|
} & {
|
|
173
173
|
header: {
|
|
@@ -175,7 +175,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
177
|
output: {
|
|
178
|
-
name: "
|
|
178
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
179
179
|
enabled: boolean;
|
|
180
180
|
trial_expired?: boolean | undefined;
|
|
181
181
|
};
|
|
@@ -188,7 +188,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
188
188
|
$put: {
|
|
189
189
|
input: {
|
|
190
190
|
param: {
|
|
191
|
-
factor_name: "
|
|
191
|
+
factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
192
192
|
};
|
|
193
193
|
} & {
|
|
194
194
|
header: {
|
|
@@ -200,7 +200,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
200
200
|
};
|
|
201
201
|
};
|
|
202
202
|
output: {
|
|
203
|
-
name: "
|
|
203
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
204
204
|
enabled: boolean;
|
|
205
205
|
trial_expired?: boolean | undefined;
|
|
206
206
|
};
|