authhero 9.17.0 → 9.19.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 +144 -144
- package/dist/authhero.d.ts +362 -233
- package/dist/authhero.mjs +13301 -13145
- 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/http-certificate-issuer.d.ts +55 -0
- package/dist/types/helpers/logging.d.ts +5 -0
- package/dist/types/helpers/outbox-destinations/log-streams.d.ts +3 -0
- package/dist/types/helpers/renew-signing-certificates.d.ts +61 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +250 -231
- package/dist/types/routes/auth-api/index.d.ts +14 -14
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/action-triggers.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/branding.d.ts +1 -1
- package/dist/types/routes/management-api/connections.d.ts +1 -1
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/failed-events.d.ts +3 -1
- package/dist/types/routes/management-api/forms.d.ts +126 -126
- 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 +225 -210
- package/dist/types/routes/management-api/keys.d.ts +8 -8
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +6 -6
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/roles.d.ts +13 -0
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +4 -4
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +24 -24
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- 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/state-machines/login-session.d.ts +1 -1
- package/package.json +6 -6
|
@@ -16,20 +16,20 @@ export declare const keyRoutes: OpenAPIHono<{
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
output: {
|
|
19
|
+
type: "jwt_signing" | "saml_encryption";
|
|
19
20
|
kid: string;
|
|
20
21
|
cert: string;
|
|
21
22
|
fingerprint: string;
|
|
22
23
|
thumbprint: string;
|
|
23
|
-
type: "jwt_signing" | "saml_encryption";
|
|
24
24
|
tenant_id?: string | undefined;
|
|
25
25
|
connection?: string | undefined;
|
|
26
|
-
revoked_at?: string | undefined;
|
|
27
26
|
current?: boolean | undefined;
|
|
28
27
|
next?: boolean | undefined;
|
|
29
28
|
previous?: boolean | undefined;
|
|
30
29
|
current_since?: string | undefined;
|
|
31
30
|
current_until?: string | undefined;
|
|
32
31
|
revoked?: boolean | undefined;
|
|
32
|
+
revoked_at?: string | undefined;
|
|
33
33
|
expires_at?: string | undefined;
|
|
34
34
|
expired?: boolean | undefined;
|
|
35
35
|
inherited?: boolean | undefined;
|
|
@@ -55,20 +55,20 @@ export declare const keyRoutes: OpenAPIHono<{
|
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
output: {
|
|
58
|
+
type: "jwt_signing" | "saml_encryption";
|
|
58
59
|
kid: string;
|
|
59
60
|
cert: string;
|
|
60
61
|
fingerprint: string;
|
|
61
62
|
thumbprint: string;
|
|
62
|
-
type: "jwt_signing" | "saml_encryption";
|
|
63
63
|
tenant_id?: string | undefined;
|
|
64
64
|
connection?: string | undefined;
|
|
65
|
-
revoked_at?: string | undefined;
|
|
66
65
|
current?: boolean | undefined;
|
|
67
66
|
next?: boolean | undefined;
|
|
68
67
|
previous?: boolean | undefined;
|
|
69
68
|
current_since?: string | undefined;
|
|
70
69
|
current_until?: string | undefined;
|
|
71
70
|
revoked?: boolean | undefined;
|
|
71
|
+
revoked_at?: string | undefined;
|
|
72
72
|
expires_at?: string | undefined;
|
|
73
73
|
expired?: boolean | undefined;
|
|
74
74
|
inherited?: boolean | undefined;
|
|
@@ -93,20 +93,20 @@ export declare const keyRoutes: OpenAPIHono<{
|
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
output: {
|
|
96
|
+
type: "jwt_signing" | "saml_encryption";
|
|
96
97
|
kid: string;
|
|
97
98
|
cert: string;
|
|
98
99
|
fingerprint: string;
|
|
99
100
|
thumbprint: string;
|
|
100
|
-
type: "jwt_signing" | "saml_encryption";
|
|
101
101
|
tenant_id?: string | undefined;
|
|
102
102
|
connection?: string | undefined;
|
|
103
|
-
revoked_at?: string | undefined;
|
|
104
103
|
current?: boolean | undefined;
|
|
105
104
|
next?: boolean | undefined;
|
|
106
105
|
previous?: boolean | undefined;
|
|
107
106
|
current_since?: string | undefined;
|
|
108
107
|
current_until?: string | undefined;
|
|
109
108
|
revoked?: boolean | undefined;
|
|
109
|
+
revoked_at?: string | undefined;
|
|
110
110
|
expires_at?: string | undefined;
|
|
111
111
|
expired?: boolean | undefined;
|
|
112
112
|
inherited?: boolean | undefined;
|
|
@@ -133,20 +133,20 @@ export declare const keyRoutes: OpenAPIHono<{
|
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
135
|
output: {
|
|
136
|
+
type: "jwt_signing" | "saml_encryption";
|
|
136
137
|
kid: string;
|
|
137
138
|
cert: string;
|
|
138
139
|
fingerprint: string;
|
|
139
140
|
thumbprint: string;
|
|
140
|
-
type: "jwt_signing" | "saml_encryption";
|
|
141
141
|
tenant_id?: string | undefined;
|
|
142
142
|
connection?: string | undefined;
|
|
143
|
-
revoked_at?: string | undefined;
|
|
144
143
|
current?: boolean | undefined;
|
|
145
144
|
next?: boolean | undefined;
|
|
146
145
|
previous?: boolean | undefined;
|
|
147
146
|
current_since?: string | undefined;
|
|
148
147
|
current_until?: string | undefined;
|
|
149
148
|
revoked?: boolean | undefined;
|
|
149
|
+
revoked_at?: string | undefined;
|
|
150
150
|
expires_at?: string | undefined;
|
|
151
151
|
expired?: boolean | undefined;
|
|
152
152
|
inherited?: boolean | undefined;
|
|
@@ -18,7 +18,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
|
|
|
18
18
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
19
19
|
};
|
|
20
20
|
id: string;
|
|
21
|
-
status: "
|
|
21
|
+
status: "suspended" | "active" | "paused";
|
|
22
22
|
filters?: {
|
|
23
23
|
type: string;
|
|
24
24
|
name: string;
|
|
@@ -50,7 +50,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
|
|
|
50
50
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
51
51
|
};
|
|
52
52
|
id: string;
|
|
53
|
-
status: "
|
|
53
|
+
status: "suspended" | "active" | "paused";
|
|
54
54
|
filters?: {
|
|
55
55
|
type: string;
|
|
56
56
|
name: string;
|
|
@@ -75,7 +75,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
|
|
|
75
75
|
name: string;
|
|
76
76
|
type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
|
|
77
77
|
sink: Record<string, unknown>;
|
|
78
|
-
status?: "
|
|
78
|
+
status?: "suspended" | "active" | "paused" | undefined;
|
|
79
79
|
filters?: {
|
|
80
80
|
type: string;
|
|
81
81
|
name: string;
|
|
@@ -90,7 +90,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
|
|
|
90
90
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
91
91
|
};
|
|
92
92
|
id: string;
|
|
93
|
-
status: "
|
|
93
|
+
status: "suspended" | "active" | "paused";
|
|
94
94
|
filters?: {
|
|
95
95
|
type: string;
|
|
96
96
|
name: string;
|
|
@@ -125,7 +125,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
|
|
|
125
125
|
}[] | undefined;
|
|
126
126
|
isPriority?: boolean | undefined;
|
|
127
127
|
id?: string | undefined;
|
|
128
|
-
status?: "
|
|
128
|
+
status?: "suspended" | "active" | "paused" | undefined;
|
|
129
129
|
created_at?: string | undefined;
|
|
130
130
|
updated_at?: string | undefined;
|
|
131
131
|
};
|
|
@@ -137,7 +137,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
|
|
|
137
137
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
138
138
|
};
|
|
139
139
|
id: string;
|
|
140
|
-
status: "
|
|
140
|
+
status: "suspended" | "active" | "paused";
|
|
141
141
|
filters?: {
|
|
142
142
|
type: string;
|
|
143
143
|
name: string;
|
|
@@ -729,19 +729,19 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
729
729
|
} & {
|
|
730
730
|
json: {
|
|
731
731
|
client_id: string;
|
|
732
|
-
inviter: {
|
|
733
|
-
name?: string | undefined;
|
|
734
|
-
};
|
|
735
732
|
invitee: {
|
|
736
733
|
email?: string | undefined;
|
|
737
734
|
};
|
|
738
|
-
|
|
739
|
-
|
|
735
|
+
inviter: {
|
|
736
|
+
name?: string | undefined;
|
|
737
|
+
};
|
|
740
738
|
app_metadata?: Record<string, any> | undefined;
|
|
741
739
|
user_metadata?: Record<string, any> | undefined;
|
|
740
|
+
connection_id?: string | undefined;
|
|
741
|
+
id?: string | undefined;
|
|
742
742
|
roles?: string[] | undefined;
|
|
743
|
-
ttl_sec?: number | undefined;
|
|
744
743
|
send_invitation_email?: boolean | undefined;
|
|
744
|
+
ttl_sec?: number | undefined;
|
|
745
745
|
};
|
|
746
746
|
};
|
|
747
747
|
output: {
|
|
@@ -52,7 +52,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
output: {
|
|
55
|
-
prompt: "
|
|
55
|
+
prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
56
56
|
language: string;
|
|
57
57
|
}[];
|
|
58
58
|
outputFormat: "json";
|
|
@@ -90,7 +90,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
90
90
|
$get: {
|
|
91
91
|
input: {
|
|
92
92
|
param: {
|
|
93
|
-
prompt: "
|
|
93
|
+
prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
94
94
|
language: string;
|
|
95
95
|
};
|
|
96
96
|
} & {
|
|
@@ -112,7 +112,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
112
112
|
$put: {
|
|
113
113
|
input: {
|
|
114
114
|
param: {
|
|
115
|
-
prompt: "
|
|
115
|
+
prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
116
116
|
language: string;
|
|
117
117
|
};
|
|
118
118
|
} & {
|
|
@@ -136,7 +136,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
136
136
|
$delete: {
|
|
137
137
|
input: {
|
|
138
138
|
param: {
|
|
139
|
-
prompt: "
|
|
139
|
+
prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
140
140
|
language: string;
|
|
141
141
|
};
|
|
142
142
|
} & {
|
|
@@ -50,6 +50,19 @@ export declare const roleRoutes: OpenAPIHono<{
|
|
|
50
50
|
}[];
|
|
51
51
|
total?: number | undefined;
|
|
52
52
|
next?: string | undefined;
|
|
53
|
+
} | {
|
|
54
|
+
roles: {
|
|
55
|
+
name: string;
|
|
56
|
+
id: string;
|
|
57
|
+
description?: string | undefined;
|
|
58
|
+
is_system?: boolean | undefined;
|
|
59
|
+
metadata?: {
|
|
60
|
+
[x: string]: any;
|
|
61
|
+
} | undefined;
|
|
62
|
+
created_at?: string | undefined;
|
|
63
|
+
updated_at?: string | undefined;
|
|
64
|
+
}[];
|
|
65
|
+
next?: string | undefined;
|
|
53
66
|
};
|
|
54
67
|
outputFormat: "json";
|
|
55
68
|
status: 200;
|
|
@@ -8,8 +8,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
8
8
|
$get: {
|
|
9
9
|
input: {
|
|
10
10
|
query: {
|
|
11
|
-
include_password_hashes?: "
|
|
12
|
-
gzip?: "
|
|
11
|
+
include_password_hashes?: "true" | "false" | undefined;
|
|
12
|
+
gzip?: "true" | "false" | undefined;
|
|
13
13
|
};
|
|
14
14
|
} & {
|
|
15
15
|
header: {
|
|
@@ -22,8 +22,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
query: {
|
|
25
|
-
include_password_hashes?: "
|
|
26
|
-
gzip?: "
|
|
25
|
+
include_password_hashes?: "true" | "false" | undefined;
|
|
26
|
+
gzip?: "true" | "false" | undefined;
|
|
27
27
|
};
|
|
28
28
|
} & {
|
|
29
29
|
header: {
|
|
@@ -42,7 +42,7 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
42
42
|
$post: {
|
|
43
43
|
input: {
|
|
44
44
|
query: {
|
|
45
|
-
include_password_hashes?: "
|
|
45
|
+
include_password_hashes?: "true" | "false" | undefined;
|
|
46
46
|
};
|
|
47
47
|
} & {
|
|
48
48
|
header: {
|
|
@@ -20,7 +20,7 @@ export declare const operationRoutes: OpenAPIHono<{
|
|
|
20
20
|
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
|
|
21
21
|
engine: string;
|
|
22
22
|
id: string;
|
|
23
|
-
status: "pending" | "failed" | "
|
|
23
|
+
status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
|
|
24
24
|
created_at: string;
|
|
25
25
|
updated_at: string;
|
|
26
26
|
events: {
|
|
@@ -67,7 +67,7 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
|
|
|
67
67
|
page?: unknown;
|
|
68
68
|
per_page?: unknown;
|
|
69
69
|
kind?: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | undefined;
|
|
70
|
-
status?: "pending" | "failed" | "
|
|
70
|
+
status?: "pending" | "failed" | "running" | "succeeded" | "cancelled" | undefined;
|
|
71
71
|
};
|
|
72
72
|
} & {
|
|
73
73
|
header: {
|
|
@@ -80,7 +80,7 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
|
|
|
80
80
|
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
|
|
81
81
|
engine: string;
|
|
82
82
|
id: string;
|
|
83
|
-
status: "pending" | "failed" | "
|
|
83
|
+
status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
|
|
84
84
|
created_at: string;
|
|
85
85
|
updated_at: string;
|
|
86
86
|
rollout_id?: string | null | undefined;
|
|
@@ -125,7 +125,7 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
|
|
|
125
125
|
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
|
|
126
126
|
engine: string;
|
|
127
127
|
id: string;
|
|
128
|
-
status: "pending" | "failed" | "
|
|
128
|
+
status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
|
|
129
129
|
created_at: string;
|
|
130
130
|
updated_at: string;
|
|
131
131
|
rollout_id?: string | null | undefined;
|
|
@@ -210,7 +210,13 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
210
210
|
};
|
|
211
211
|
} & {
|
|
212
212
|
json: {
|
|
213
|
+
allowed_logout_urls?: string[] | undefined;
|
|
214
|
+
oidc_logout?: {
|
|
215
|
+
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
216
|
+
} | undefined;
|
|
217
|
+
default_organization?: string | undefined;
|
|
213
218
|
audience?: string | undefined;
|
|
219
|
+
id?: string | undefined;
|
|
214
220
|
friendly_name?: string | undefined;
|
|
215
221
|
picture_url?: string | undefined;
|
|
216
222
|
support_email?: string | undefined;
|
|
@@ -224,7 +230,6 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
224
230
|
session_cookie?: {
|
|
225
231
|
mode?: "persistent" | "non-persistent" | undefined;
|
|
226
232
|
} | undefined;
|
|
227
|
-
allowed_logout_urls?: string[] | undefined;
|
|
228
233
|
default_redirection_uri?: string | undefined;
|
|
229
234
|
default_client_id?: string | undefined;
|
|
230
235
|
enabled_locales?: string[] | undefined;
|
|
@@ -298,13 +303,9 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
298
303
|
} | undefined;
|
|
299
304
|
} | null | undefined;
|
|
300
305
|
default_audience?: string | undefined;
|
|
301
|
-
default_organization?: string | undefined;
|
|
302
306
|
sessions?: {
|
|
303
307
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
304
308
|
} | undefined;
|
|
305
|
-
oidc_logout?: {
|
|
306
|
-
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
307
|
-
} | undefined;
|
|
308
309
|
allow_organization_name_in_authentication_api?: boolean | undefined;
|
|
309
310
|
customize_mfa_in_postlogin_action?: boolean | undefined;
|
|
310
311
|
acr_values_supported?: string[] | undefined;
|
|
@@ -385,7 +386,6 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
385
386
|
message?: string | undefined;
|
|
386
387
|
} | undefined;
|
|
387
388
|
} | undefined;
|
|
388
|
-
id?: string | undefined;
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
391
|
output: {
|
|
@@ -817,15 +817,11 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
817
817
|
};
|
|
818
818
|
};
|
|
819
819
|
output: {
|
|
820
|
-
user_id: string;
|
|
821
820
|
client_id: string;
|
|
821
|
+
user_id: string;
|
|
822
822
|
created_at: string;
|
|
823
|
+
rotating: boolean;
|
|
823
824
|
id: string;
|
|
824
|
-
resource_servers: {
|
|
825
|
-
audience: string;
|
|
826
|
-
scopes: string;
|
|
827
|
-
}[];
|
|
828
|
-
login_id: string;
|
|
829
825
|
device: {
|
|
830
826
|
initial_user_agent: string;
|
|
831
827
|
initial_ip: string;
|
|
@@ -834,15 +830,19 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
834
830
|
last_ip: string;
|
|
835
831
|
last_asn: string;
|
|
836
832
|
};
|
|
837
|
-
|
|
833
|
+
login_id: string;
|
|
834
|
+
resource_servers: {
|
|
835
|
+
audience: string;
|
|
836
|
+
scopes: string;
|
|
837
|
+
}[];
|
|
838
838
|
expires_at?: string | undefined;
|
|
839
|
-
organization?: string | undefined;
|
|
840
839
|
session_id?: string | undefined;
|
|
841
840
|
auth_connection?: string | undefined;
|
|
842
841
|
auth_strategy?: {
|
|
843
842
|
strategy: string;
|
|
844
843
|
strategy_type: string;
|
|
845
844
|
} | undefined;
|
|
845
|
+
organization?: string | undefined;
|
|
846
846
|
revoked_at?: string | undefined;
|
|
847
847
|
idle_expires_at?: string | undefined;
|
|
848
848
|
last_exchanged_at?: string | undefined;
|
|
@@ -851,15 +851,11 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
851
851
|
limit: number;
|
|
852
852
|
length: number;
|
|
853
853
|
tokens: {
|
|
854
|
-
user_id: string;
|
|
855
854
|
client_id: string;
|
|
855
|
+
user_id: string;
|
|
856
856
|
created_at: string;
|
|
857
|
+
rotating: boolean;
|
|
857
858
|
id: string;
|
|
858
|
-
resource_servers: {
|
|
859
|
-
audience: string;
|
|
860
|
-
scopes: string;
|
|
861
|
-
}[];
|
|
862
|
-
login_id: string;
|
|
863
859
|
device: {
|
|
864
860
|
initial_user_agent: string;
|
|
865
861
|
initial_ip: string;
|
|
@@ -868,15 +864,19 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
868
864
|
last_ip: string;
|
|
869
865
|
last_asn: string;
|
|
870
866
|
};
|
|
871
|
-
|
|
867
|
+
login_id: string;
|
|
868
|
+
resource_servers: {
|
|
869
|
+
audience: string;
|
|
870
|
+
scopes: string;
|
|
871
|
+
}[];
|
|
872
872
|
expires_at?: string | undefined;
|
|
873
|
-
organization?: string | undefined;
|
|
874
873
|
session_id?: string | undefined;
|
|
875
874
|
auth_connection?: string | undefined;
|
|
876
875
|
auth_strategy?: {
|
|
877
876
|
strategy: string;
|
|
878
877
|
strategy_type: string;
|
|
879
878
|
} | undefined;
|
|
879
|
+
organization?: string | undefined;
|
|
880
880
|
revoked_at?: string | undefined;
|
|
881
881
|
idle_expires_at?: string | undefined;
|
|
882
882
|
last_exchanged_at?: string | undefined;
|
|
@@ -885,15 +885,11 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
885
885
|
next?: string | undefined;
|
|
886
886
|
} | {
|
|
887
887
|
tokens: {
|
|
888
|
-
user_id: string;
|
|
889
888
|
client_id: string;
|
|
889
|
+
user_id: string;
|
|
890
890
|
created_at: string;
|
|
891
|
+
rotating: boolean;
|
|
891
892
|
id: string;
|
|
892
|
-
resource_servers: {
|
|
893
|
-
audience: string;
|
|
894
|
-
scopes: string;
|
|
895
|
-
}[];
|
|
896
|
-
login_id: string;
|
|
897
893
|
device: {
|
|
898
894
|
initial_user_agent: string;
|
|
899
895
|
initial_ip: string;
|
|
@@ -902,15 +898,19 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
902
898
|
last_ip: string;
|
|
903
899
|
last_asn: string;
|
|
904
900
|
};
|
|
905
|
-
|
|
901
|
+
login_id: string;
|
|
902
|
+
resource_servers: {
|
|
903
|
+
audience: string;
|
|
904
|
+
scopes: string;
|
|
905
|
+
}[];
|
|
906
906
|
expires_at?: string | undefined;
|
|
907
|
-
organization?: string | undefined;
|
|
908
907
|
session_id?: string | undefined;
|
|
909
908
|
auth_connection?: string | undefined;
|
|
910
909
|
auth_strategy?: {
|
|
911
910
|
strategy: string;
|
|
912
911
|
strategy_type: string;
|
|
913
912
|
} | undefined;
|
|
913
|
+
organization?: string | undefined;
|
|
914
914
|
revoked_at?: string | undefined;
|
|
915
915
|
idle_expires_at?: string | undefined;
|
|
916
916
|
last_exchanged_at?: string | undefined;
|
|
@@ -43,7 +43,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
43
43
|
hint?: string | undefined;
|
|
44
44
|
messages?: {
|
|
45
45
|
text: string;
|
|
46
|
-
type: "
|
|
46
|
+
type: "success" | "error" | "info" | "warning";
|
|
47
47
|
id?: number | undefined;
|
|
48
48
|
}[] | undefined;
|
|
49
49
|
}[];
|
|
@@ -51,7 +51,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
51
51
|
description?: string | undefined;
|
|
52
52
|
messages?: {
|
|
53
53
|
text: string;
|
|
54
|
-
type: "
|
|
54
|
+
type: "success" | "error" | "info" | "warning";
|
|
55
55
|
id?: number | undefined;
|
|
56
56
|
}[] | undefined;
|
|
57
57
|
links?: {
|
|
@@ -123,7 +123,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
123
123
|
hint?: string | undefined;
|
|
124
124
|
messages?: {
|
|
125
125
|
text: string;
|
|
126
|
-
type: "
|
|
126
|
+
type: "success" | "error" | "info" | "warning";
|
|
127
127
|
id?: number | undefined;
|
|
128
128
|
}[] | undefined;
|
|
129
129
|
}[];
|
|
@@ -131,7 +131,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
131
131
|
description?: string | undefined;
|
|
132
132
|
messages?: {
|
|
133
133
|
text: string;
|
|
134
|
-
type: "
|
|
134
|
+
type: "success" | "error" | "info" | "warning";
|
|
135
135
|
id?: number | undefined;
|
|
136
136
|
}[] | undefined;
|
|
137
137
|
links?: {
|
|
@@ -220,7 +220,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
220
220
|
hint?: string | undefined;
|
|
221
221
|
messages?: {
|
|
222
222
|
text: string;
|
|
223
|
-
type: "
|
|
223
|
+
type: "success" | "error" | "info" | "warning";
|
|
224
224
|
id?: number | undefined;
|
|
225
225
|
}[] | undefined;
|
|
226
226
|
}[];
|
|
@@ -228,7 +228,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
228
228
|
description?: string | undefined;
|
|
229
229
|
messages?: {
|
|
230
230
|
text: string;
|
|
231
|
-
type: "
|
|
231
|
+
type: "success" | "error" | "info" | "warning";
|
|
232
232
|
id?: number | undefined;
|
|
233
233
|
}[] | undefined;
|
|
234
234
|
links?: {
|
|
@@ -335,7 +335,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
335
335
|
hint?: string | undefined;
|
|
336
336
|
messages?: {
|
|
337
337
|
text: string;
|
|
338
|
-
type: "
|
|
338
|
+
type: "success" | "error" | "info" | "warning";
|
|
339
339
|
id?: number | undefined;
|
|
340
340
|
}[] | undefined;
|
|
341
341
|
}[];
|
|
@@ -343,7 +343,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
343
343
|
description?: string | undefined;
|
|
344
344
|
messages?: {
|
|
345
345
|
text: string;
|
|
346
|
-
type: "
|
|
346
|
+
type: "success" | "error" | "info" | "warning";
|
|
347
347
|
id?: number | undefined;
|
|
348
348
|
}[] | undefined;
|
|
349
349
|
links?: {
|
|
@@ -30,7 +30,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
30
30
|
} & {
|
|
31
31
|
form: {
|
|
32
32
|
username: string;
|
|
33
|
-
login_selection?: "
|
|
33
|
+
login_selection?: "password" | "code" | undefined;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
output: {};
|
|
@@ -44,7 +44,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
44
44
|
} & {
|
|
45
45
|
form: {
|
|
46
46
|
username: string;
|
|
47
|
-
login_selection?: "
|
|
47
|
+
login_selection?: "password" | "code" | undefined;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
output: {};
|
|
@@ -515,7 +515,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
515
515
|
} & {
|
|
516
516
|
form: {
|
|
517
517
|
username: string;
|
|
518
|
-
login_selection?: "
|
|
518
|
+
login_selection?: "password" | "code" | undefined;
|
|
519
519
|
};
|
|
520
520
|
};
|
|
521
521
|
output: {};
|
|
@@ -529,7 +529,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
529
529
|
} & {
|
|
530
530
|
form: {
|
|
531
531
|
username: string;
|
|
532
|
-
login_selection?: "
|
|
532
|
+
login_selection?: "password" | "code" | undefined;
|
|
533
533
|
};
|
|
534
534
|
};
|
|
535
535
|
output: {};
|
|
@@ -165,7 +165,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
165
165
|
$get: {
|
|
166
166
|
input: {
|
|
167
167
|
param: {
|
|
168
|
-
screen: "
|
|
168
|
+
screen: "impersonate" | "signup" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
169
169
|
};
|
|
170
170
|
} & {
|
|
171
171
|
query: {
|
|
@@ -181,7 +181,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
181
181
|
} | {
|
|
182
182
|
input: {
|
|
183
183
|
param: {
|
|
184
|
-
screen: "
|
|
184
|
+
screen: "impersonate" | "signup" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
185
185
|
};
|
|
186
186
|
} & {
|
|
187
187
|
query: {
|
|
@@ -197,7 +197,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
197
197
|
} | {
|
|
198
198
|
input: {
|
|
199
199
|
param: {
|
|
200
|
-
screen: "
|
|
200
|
+
screen: "impersonate" | "signup" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
201
201
|
};
|
|
202
202
|
} & {
|
|
203
203
|
query: {
|
|
@@ -217,7 +217,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
217
217
|
$post: {
|
|
218
218
|
input: {
|
|
219
219
|
param: {
|
|
220
|
-
screen: "
|
|
220
|
+
screen: "impersonate" | "signup" | "consent" | "login" | "reset-password" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
221
221
|
};
|
|
222
222
|
} & {
|
|
223
223
|
query: {
|
|
@@ -235,7 +235,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
235
235
|
} | {
|
|
236
236
|
input: {
|
|
237
237
|
param: {
|
|
238
|
-
screen: "
|
|
238
|
+
screen: "impersonate" | "signup" | "consent" | "login" | "reset-password" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
239
239
|
};
|
|
240
240
|
} & {
|
|
241
241
|
query: {
|