authhero 9.42.0 → 9.44.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 +197 -163
- package/dist/authhero.d.ts +219 -215
- package/dist/authhero.mjs +11094 -11018
- package/dist/{mfa-C8qBEQeH.js → mfa-B0J_xOxl.js} +1 -1
- package/dist/{mfa-CVF4Wbdz.mjs → mfa-CX1JyNyV.mjs} +1 -1
- package/dist/{mfa-attempts-sV0Xs59R.mjs → mfa-attempts-BNf9KSrR.mjs} +3 -1
- package/dist/{mfa-attempts-CzGjIGzD.js → mfa-attempts-suDM5Cv-.js} +3 -3
- package/dist/{passkey-enrollment-CAb2zWEF.js → passkey-enrollment-D180Gog3.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +2 -2
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/login-migration.d.ts +23 -2
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +219 -215
- package/dist/types/routes/auth-api/authorize.d.ts +13 -13
- package/dist/types/routes/auth-api/device.d.ts +21 -21
- package/dist/types/routes/auth-api/index.d.ts +69 -69
- package/dist/types/routes/auth-api/logout.d.ts +2 -2
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- 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/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/token.d.ts +12 -12
- 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 +7 -3
- package/dist/types/routes/management-api/client-registration-tokens.d.ts +8 -8
- package/dist/types/routes/management-api/clients.d.ts +16 -16
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/failed-events.d.ts +2 -2
- package/dist/types/routes/management-api/forms.d.ts +8 -8
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/index.d.ts +123 -119
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- 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/organizations.d.ts +4 -4
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/self-service-profiles.d.ts +8 -8
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +20 -20
- package/dist/types/routes/saml/index.d.ts +10 -10
- package/dist/types/routes/saml/samlp.d.ts +10 -10
- package/dist/types/routes/universal-login/common.d.ts +2 -0
- package/dist/types/routes/universal-login/continue.d.ts +4 -4
- package/dist/types/routes/universal-login/dark-theme.d.ts +14 -2
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
- package/dist/types/routes/universal-login/index.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +9 -9
- package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-widget-page.d.ts +20 -2
- package/dist/types/routes/universal-login/universal-login-template.d.ts +5 -0
- package/dist/types/state-machines/login-session.d.ts +1 -1
- package/dist/types/strategies/apple.d.ts +1 -1
- package/package.json +7 -7
|
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
9
9
|
input: {
|
|
10
10
|
form: {
|
|
11
11
|
token: string;
|
|
12
|
-
token_type_hint?: "
|
|
12
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
13
13
|
client_id?: string | undefined;
|
|
14
14
|
client_secret?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
} & {
|
|
17
17
|
json: {
|
|
18
18
|
token: string;
|
|
19
|
-
token_type_hint?: "
|
|
19
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
20
20
|
client_id?: string | undefined;
|
|
21
21
|
client_secret?: string | undefined;
|
|
22
22
|
};
|
|
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
28
28
|
input: {
|
|
29
29
|
form: {
|
|
30
30
|
token: string;
|
|
31
|
-
token_type_hint?: "
|
|
31
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
32
32
|
client_id?: string | undefined;
|
|
33
33
|
client_secret?: string | undefined;
|
|
34
34
|
};
|
|
35
35
|
} & {
|
|
36
36
|
json: {
|
|
37
37
|
token: string;
|
|
38
|
-
token_type_hint?: "
|
|
38
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
39
39
|
client_id?: string | undefined;
|
|
40
40
|
client_secret?: string | undefined;
|
|
41
41
|
};
|
|
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
50
50
|
input: {
|
|
51
51
|
form: {
|
|
52
52
|
token: string;
|
|
53
|
-
token_type_hint?: "
|
|
53
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
54
54
|
client_id?: string | undefined;
|
|
55
55
|
client_secret?: string | undefined;
|
|
56
56
|
};
|
|
57
57
|
} & {
|
|
58
58
|
json: {
|
|
59
59
|
token: string;
|
|
60
|
-
token_type_hint?: "
|
|
60
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
61
61
|
client_id?: string | undefined;
|
|
62
62
|
client_secret?: string | undefined;
|
|
63
63
|
};
|
|
@@ -285,11 +285,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
285
285
|
};
|
|
286
286
|
};
|
|
287
287
|
output: {
|
|
288
|
-
|
|
289
|
-
|
|
288
|
+
access_token: string;
|
|
289
|
+
token_type: string;
|
|
290
|
+
expires_in: number;
|
|
291
|
+
id_token?: string | undefined;
|
|
292
|
+
scope?: string | undefined;
|
|
293
|
+
state?: string | undefined;
|
|
294
|
+
refresh_token?: string | undefined;
|
|
295
|
+
issued_token_type?: string | undefined;
|
|
290
296
|
};
|
|
291
297
|
outputFormat: "json";
|
|
292
|
-
status:
|
|
298
|
+
status: 200;
|
|
293
299
|
} | {
|
|
294
300
|
input: {
|
|
295
301
|
form: {
|
|
@@ -429,17 +435,11 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
429
435
|
};
|
|
430
436
|
};
|
|
431
437
|
output: {
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
expires_in: number;
|
|
435
|
-
id_token?: string | undefined;
|
|
436
|
-
scope?: string | undefined;
|
|
437
|
-
state?: string | undefined;
|
|
438
|
-
refresh_token?: string | undefined;
|
|
439
|
-
issued_token_type?: string | undefined;
|
|
438
|
+
error: string;
|
|
439
|
+
error_description?: string | undefined;
|
|
440
440
|
};
|
|
441
441
|
outputFormat: "json";
|
|
442
|
-
status:
|
|
442
|
+
status: 400;
|
|
443
443
|
} | {
|
|
444
444
|
input: {
|
|
445
445
|
form: {
|
|
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
|
|
|
31
31
|
output: {
|
|
32
32
|
id: string;
|
|
33
33
|
trigger_id: string;
|
|
34
|
-
status: "pending" | "
|
|
34
|
+
status: "pending" | "final" | "unspecified" | "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: "
|
|
40
|
+
type: "email" | "push" | "passkey" | "phone" | "webauthn-roaming" | "webauthn-platform" | "totp";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -436,6 +436,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
436
436
|
url: string;
|
|
437
437
|
} | undefined;
|
|
438
438
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
439
|
+
dark_mode_toggle?: boolean | undefined;
|
|
439
440
|
terms_url?: string | undefined;
|
|
440
441
|
privacy_url?: string | undefined;
|
|
441
442
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -472,6 +473,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
472
473
|
url: string;
|
|
473
474
|
} | undefined;
|
|
474
475
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
476
|
+
dark_mode_toggle?: boolean | undefined;
|
|
475
477
|
terms_url?: string | undefined;
|
|
476
478
|
privacy_url?: string | undefined;
|
|
477
479
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -497,6 +499,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
497
499
|
url: string;
|
|
498
500
|
} | undefined;
|
|
499
501
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
502
|
+
dark_mode_toggle?: boolean | undefined;
|
|
500
503
|
terms_url?: string | undefined;
|
|
501
504
|
privacy_url?: string | undefined;
|
|
502
505
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -536,7 +539,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
536
539
|
};
|
|
537
540
|
output: {};
|
|
538
541
|
outputFormat: string;
|
|
539
|
-
status:
|
|
542
|
+
status: 204;
|
|
540
543
|
} | {
|
|
541
544
|
input: {
|
|
542
545
|
header: {
|
|
@@ -549,7 +552,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
549
552
|
};
|
|
550
553
|
output: {};
|
|
551
554
|
outputFormat: string;
|
|
552
|
-
status:
|
|
555
|
+
status: 400;
|
|
553
556
|
};
|
|
554
557
|
};
|
|
555
558
|
} & {
|
|
@@ -575,7 +578,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
575
578
|
} & {
|
|
576
579
|
json: {
|
|
577
580
|
body?: string | undefined;
|
|
578
|
-
screen?: "error" | "identifier" | "signup" | "password" | "mfa" | "otp" | "
|
|
581
|
+
screen?: "error" | "identifier" | "signup" | "password" | "mfa" | "otp" | "consent" | "login" | undefined;
|
|
579
582
|
branding?: {
|
|
580
583
|
colors?: {
|
|
581
584
|
primary: string;
|
|
@@ -594,6 +597,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
594
597
|
url: string;
|
|
595
598
|
} | undefined;
|
|
596
599
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
600
|
+
dark_mode_toggle?: boolean | undefined;
|
|
597
601
|
terms_url?: string | undefined;
|
|
598
602
|
privacy_url?: string | undefined;
|
|
599
603
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
|
|
|
32
32
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
33
33
|
} | undefined;
|
|
34
34
|
name?: string | undefined;
|
|
35
|
-
source?: "
|
|
35
|
+
source?: "invite" | "connect" | "edit_link" | "registration" | undefined;
|
|
36
36
|
ticket?: string | undefined;
|
|
37
37
|
};
|
|
38
38
|
outputFormat: "json";
|
|
@@ -45,7 +45,7 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
|
|
|
45
45
|
input: {
|
|
46
46
|
query: {
|
|
47
47
|
type?: "iat" | "rat" | undefined;
|
|
48
|
-
source?: "
|
|
48
|
+
source?: "invite" | "connect" | "edit_link" | "registration" | undefined;
|
|
49
49
|
client_id?: string | undefined;
|
|
50
50
|
page?: string | undefined;
|
|
51
51
|
per_page?: string | undefined;
|
|
@@ -59,10 +59,10 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
|
|
|
59
59
|
output: {
|
|
60
60
|
id: string;
|
|
61
61
|
type: "iat" | "rat";
|
|
62
|
-
status: "
|
|
62
|
+
status: "revoked" | "expired" | "active" | "used";
|
|
63
63
|
single_use: boolean;
|
|
64
64
|
created_at: string;
|
|
65
|
-
source?: "
|
|
65
|
+
source?: "invite" | "connect" | "edit_link" | "registration" | undefined;
|
|
66
66
|
name?: string | undefined;
|
|
67
67
|
client_id?: string | undefined;
|
|
68
68
|
sub?: string | undefined;
|
|
@@ -77,10 +77,10 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
|
|
|
77
77
|
client_registration_tokens: {
|
|
78
78
|
id: string;
|
|
79
79
|
type: "iat" | "rat";
|
|
80
|
-
status: "
|
|
80
|
+
status: "revoked" | "expired" | "active" | "used";
|
|
81
81
|
single_use: boolean;
|
|
82
82
|
created_at: string;
|
|
83
|
-
source?: "
|
|
83
|
+
source?: "invite" | "connect" | "edit_link" | "registration" | undefined;
|
|
84
84
|
name?: string | undefined;
|
|
85
85
|
client_id?: string | undefined;
|
|
86
86
|
sub?: string | undefined;
|
|
@@ -116,10 +116,10 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
|
|
|
116
116
|
output: {
|
|
117
117
|
id: string;
|
|
118
118
|
type: "iat" | "rat";
|
|
119
|
-
status: "
|
|
119
|
+
status: "revoked" | "expired" | "active" | "used";
|
|
120
120
|
single_use: boolean;
|
|
121
121
|
created_at: string;
|
|
122
|
-
source?: "
|
|
122
|
+
source?: "invite" | "connect" | "edit_link" | "registration" | undefined;
|
|
123
123
|
name?: string | undefined;
|
|
124
124
|
client_id?: string | undefined;
|
|
125
125
|
sub?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
53
53
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
54
54
|
can_create_session_transfer_token?: boolean | undefined;
|
|
55
55
|
enforce_cascade_revocation?: boolean | undefined;
|
|
56
|
-
allowed_authentication_methods?: ("
|
|
56
|
+
allowed_authentication_methods?: ("cookie" | "query")[] | undefined;
|
|
57
57
|
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
58
58
|
allow_refresh_token?: boolean | undefined;
|
|
59
59
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
@@ -86,7 +86,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
86
86
|
addons?: {
|
|
87
87
|
[x: string]: any;
|
|
88
88
|
} | undefined;
|
|
89
|
-
token_endpoint_auth_method?: "none" | "
|
|
89
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
90
90
|
client_metadata?: {
|
|
91
91
|
[x: string]: string;
|
|
92
92
|
} | undefined;
|
|
@@ -166,7 +166,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
166
166
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
167
167
|
can_create_session_transfer_token?: boolean | undefined;
|
|
168
168
|
enforce_cascade_revocation?: boolean | undefined;
|
|
169
|
-
allowed_authentication_methods?: ("
|
|
169
|
+
allowed_authentication_methods?: ("cookie" | "query")[] | undefined;
|
|
170
170
|
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
171
171
|
allow_refresh_token?: boolean | undefined;
|
|
172
172
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
@@ -199,7 +199,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
199
199
|
addons?: {
|
|
200
200
|
[x: string]: any;
|
|
201
201
|
} | undefined;
|
|
202
|
-
token_endpoint_auth_method?: "none" | "
|
|
202
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
203
203
|
client_metadata?: {
|
|
204
204
|
[x: string]: string;
|
|
205
205
|
} | undefined;
|
|
@@ -279,7 +279,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
279
279
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
280
280
|
can_create_session_transfer_token?: boolean | undefined;
|
|
281
281
|
enforce_cascade_revocation?: boolean | undefined;
|
|
282
|
-
allowed_authentication_methods?: ("
|
|
282
|
+
allowed_authentication_methods?: ("cookie" | "query")[] | undefined;
|
|
283
283
|
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
284
284
|
allow_refresh_token?: boolean | undefined;
|
|
285
285
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
@@ -312,7 +312,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
312
312
|
addons?: {
|
|
313
313
|
[x: string]: any;
|
|
314
314
|
} | undefined;
|
|
315
|
-
token_endpoint_auth_method?: "none" | "
|
|
315
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
316
316
|
client_metadata?: {
|
|
317
317
|
[x: string]: string;
|
|
318
318
|
} | undefined;
|
|
@@ -407,7 +407,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
407
407
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
408
408
|
can_create_session_transfer_token?: boolean | undefined;
|
|
409
409
|
enforce_cascade_revocation?: boolean | undefined;
|
|
410
|
-
allowed_authentication_methods?: ("
|
|
410
|
+
allowed_authentication_methods?: ("cookie" | "query")[] | undefined;
|
|
411
411
|
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
412
412
|
allow_refresh_token?: boolean | undefined;
|
|
413
413
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
@@ -440,7 +440,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
440
440
|
addons?: {
|
|
441
441
|
[x: string]: any;
|
|
442
442
|
} | undefined;
|
|
443
|
-
token_endpoint_auth_method?: "none" | "
|
|
443
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
444
444
|
client_metadata?: {
|
|
445
445
|
[x: string]: string;
|
|
446
446
|
} | undefined;
|
|
@@ -555,7 +555,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
555
555
|
[x: string]: unknown;
|
|
556
556
|
can_create_session_transfer_token?: boolean | undefined;
|
|
557
557
|
enforce_cascade_revocation?: boolean | undefined;
|
|
558
|
-
allowed_authentication_methods?: ("
|
|
558
|
+
allowed_authentication_methods?: ("cookie" | "query")[] | undefined;
|
|
559
559
|
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
560
560
|
allow_refresh_token?: boolean | undefined;
|
|
561
561
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
@@ -584,7 +584,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
584
584
|
custom_login_page_preview?: string | undefined;
|
|
585
585
|
form_template?: string | undefined;
|
|
586
586
|
addons?: Record<string, any> | undefined;
|
|
587
|
-
token_endpoint_auth_method?: "none" | "
|
|
587
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
588
588
|
client_metadata?: Record<string, string> | undefined;
|
|
589
589
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
590
590
|
mobile?: Record<string, any> | undefined;
|
|
@@ -648,7 +648,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
648
648
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
649
649
|
can_create_session_transfer_token?: boolean | undefined;
|
|
650
650
|
enforce_cascade_revocation?: boolean | undefined;
|
|
651
|
-
allowed_authentication_methods?: ("
|
|
651
|
+
allowed_authentication_methods?: ("cookie" | "query")[] | undefined;
|
|
652
652
|
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
653
653
|
allow_refresh_token?: boolean | undefined;
|
|
654
654
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
@@ -681,7 +681,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
681
681
|
addons?: {
|
|
682
682
|
[x: string]: any;
|
|
683
683
|
} | undefined;
|
|
684
|
-
token_endpoint_auth_method?: "none" | "
|
|
684
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
685
685
|
client_metadata?: {
|
|
686
686
|
[x: string]: string;
|
|
687
687
|
} | undefined;
|
|
@@ -762,7 +762,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
762
762
|
[x: string]: unknown;
|
|
763
763
|
can_create_session_transfer_token?: boolean | undefined;
|
|
764
764
|
enforce_cascade_revocation?: boolean | undefined;
|
|
765
|
-
allowed_authentication_methods?: ("
|
|
765
|
+
allowed_authentication_methods?: ("cookie" | "query")[] | undefined;
|
|
766
766
|
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
767
767
|
allow_refresh_token?: boolean | undefined;
|
|
768
768
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
@@ -791,7 +791,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
791
791
|
custom_login_page_preview?: string | undefined;
|
|
792
792
|
form_template?: string | undefined;
|
|
793
793
|
addons?: Record<string, any> | undefined;
|
|
794
|
-
token_endpoint_auth_method?: "none" | "
|
|
794
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
795
795
|
client_metadata?: Record<string, string> | undefined;
|
|
796
796
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
797
797
|
mobile?: Record<string, any> | undefined;
|
|
@@ -855,7 +855,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
855
855
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
856
856
|
can_create_session_transfer_token?: boolean | undefined;
|
|
857
857
|
enforce_cascade_revocation?: boolean | undefined;
|
|
858
|
-
allowed_authentication_methods?: ("
|
|
858
|
+
allowed_authentication_methods?: ("cookie" | "query")[] | undefined;
|
|
859
859
|
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
860
860
|
allow_refresh_token?: boolean | undefined;
|
|
861
861
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
@@ -888,7 +888,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
888
888
|
addons?: {
|
|
889
889
|
[x: string]: any;
|
|
890
890
|
} | undefined;
|
|
891
|
-
token_endpoint_auth_method?: "none" | "
|
|
891
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
892
892
|
client_metadata?: {
|
|
893
893
|
[x: string]: string;
|
|
894
894
|
} | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
json: {
|
|
15
|
-
template: "
|
|
15
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
16
16
|
body: string;
|
|
17
17
|
from: string;
|
|
18
18
|
subject: string;
|
|
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
33
33
|
};
|
|
34
34
|
} & {
|
|
35
35
|
json: {
|
|
36
|
-
template: "
|
|
36
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
37
37
|
body: string;
|
|
38
38
|
from: string;
|
|
39
39
|
subject: string;
|
|
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
output: {
|
|
48
|
-
template: "
|
|
48
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
49
49
|
body: string;
|
|
50
50
|
from: string;
|
|
51
51
|
subject: string;
|
|
@@ -68,7 +68,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
output: {
|
|
71
|
-
name: "
|
|
71
|
+
name: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
72
72
|
body: string;
|
|
73
73
|
subject: string;
|
|
74
74
|
}[];
|
|
@@ -81,7 +81,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
81
81
|
$get: {
|
|
82
82
|
input: {
|
|
83
83
|
param: {
|
|
84
|
-
templateName: "
|
|
84
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
85
85
|
};
|
|
86
86
|
} & {
|
|
87
87
|
header: {
|
|
@@ -94,7 +94,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
94
94
|
} | {
|
|
95
95
|
input: {
|
|
96
96
|
param: {
|
|
97
|
-
templateName: "
|
|
97
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
98
98
|
};
|
|
99
99
|
} & {
|
|
100
100
|
header: {
|
|
@@ -102,7 +102,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
output: {
|
|
105
|
-
template: "
|
|
105
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
106
106
|
body: string;
|
|
107
107
|
from: string;
|
|
108
108
|
subject: string;
|
|
@@ -121,7 +121,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
121
121
|
$put: {
|
|
122
122
|
input: {
|
|
123
123
|
param: {
|
|
124
|
-
templateName: "
|
|
124
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
125
125
|
};
|
|
126
126
|
} & {
|
|
127
127
|
header: {
|
|
@@ -129,7 +129,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
129
129
|
};
|
|
130
130
|
} & {
|
|
131
131
|
json: {
|
|
132
|
-
template: "
|
|
132
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
133
133
|
body: string;
|
|
134
134
|
subject: string;
|
|
135
135
|
syntax?: "liquid" | undefined;
|
|
@@ -141,7 +141,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
output: {
|
|
144
|
-
template: "
|
|
144
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
145
145
|
body: string;
|
|
146
146
|
from: string;
|
|
147
147
|
subject: string;
|
|
@@ -160,7 +160,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
160
160
|
$patch: {
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
|
-
templateName: "
|
|
163
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
164
164
|
};
|
|
165
165
|
} & {
|
|
166
166
|
header: {
|
|
@@ -168,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
168
168
|
};
|
|
169
169
|
} & {
|
|
170
170
|
json: {
|
|
171
|
-
template?: "
|
|
171
|
+
template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
172
172
|
body?: string | undefined;
|
|
173
173
|
from?: string | undefined;
|
|
174
174
|
subject?: string | undefined;
|
|
@@ -185,7 +185,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
185
185
|
} | {
|
|
186
186
|
input: {
|
|
187
187
|
param: {
|
|
188
|
-
templateName: "
|
|
188
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
189
189
|
};
|
|
190
190
|
} & {
|
|
191
191
|
header: {
|
|
@@ -193,7 +193,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
193
193
|
};
|
|
194
194
|
} & {
|
|
195
195
|
json: {
|
|
196
|
-
template?: "
|
|
196
|
+
template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
197
197
|
body?: string | undefined;
|
|
198
198
|
from?: string | undefined;
|
|
199
199
|
subject?: string | undefined;
|
|
@@ -205,7 +205,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
207
|
output: {
|
|
208
|
-
template: "
|
|
208
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
209
209
|
body: string;
|
|
210
210
|
from: string;
|
|
211
211
|
subject: string;
|
|
@@ -224,7 +224,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
224
224
|
$delete: {
|
|
225
225
|
input: {
|
|
226
226
|
param: {
|
|
227
|
-
templateName: "
|
|
227
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
228
228
|
};
|
|
229
229
|
} & {
|
|
230
230
|
header: {
|
|
@@ -237,7 +237,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
237
237
|
} | {
|
|
238
238
|
input: {
|
|
239
239
|
param: {
|
|
240
|
-
templateName: "
|
|
240
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
241
241
|
};
|
|
242
242
|
} & {
|
|
243
243
|
header: {
|
|
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
254
254
|
$post: {
|
|
255
255
|
input: {
|
|
256
256
|
param: {
|
|
257
|
-
templateName: "
|
|
257
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
258
258
|
};
|
|
259
259
|
} & {
|
|
260
260
|
header: {
|
|
@@ -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;
|
|
@@ -134,7 +134,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
134
134
|
log_type: string;
|
|
135
135
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
136
136
|
actor: {
|
|
137
|
-
type: "
|
|
137
|
+
type: "user" | "client_credentials" | "system" | "admin" | "api_key";
|
|
138
138
|
id?: string | undefined;
|
|
139
139
|
email?: string | undefined;
|
|
140
140
|
org_id?: string | undefined;
|