authhero 9.2.0 → 9.3.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 +143 -143
- package/dist/authhero.d.ts +305 -231
- package/dist/authhero.mjs +13637 -14012
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +6 -6
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +2 -2
- package/dist/types/index.d.ts +305 -231
- package/dist/types/oauth2-client/client.d.ts +50 -0
- package/dist/types/oauth2-client/index.d.ts +3 -0
- package/dist/types/oauth2-client/providers.d.ts +49 -0
- package/dist/types/routes/auth-api/index.d.ts +29 -29
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- 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/branding.d.ts +3 -3
- package/dist/types/routes/management-api/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +14 -14
- package/dist/types/routes/management-api/connections.d.ts +16 -16
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/failed-events.d.ts +1 -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/hooks.d.ts +74 -0
- package/dist/types/routes/management-api/index.d.ts +261 -187
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/tenants.d.ts +28 -28
- package/dist/types/routes/universal-login/common.d.ts +8 -8
- package/dist/types/routes/universal-login/continue.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/identifier.d.ts +4 -4
- package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
- package/dist/types/strategies/internal-oauth2.d.ts +5 -5
- package/package.json +6 -7
|
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
output: {
|
|
15
|
-
name: "
|
|
15
|
+
name: "sms" | "otp" | "email" | "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: "sms" | "otp" | "email" | "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: "sms" | "otp" | "email" | "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: "sms" | "otp" | "email" | "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: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
204
204
|
enabled: boolean;
|
|
205
205
|
trial_expired?: boolean | undefined;
|
|
206
206
|
};
|
|
@@ -23,7 +23,7 @@ export declare function requireTenantId(ctx: {
|
|
|
23
23
|
* `totalsSchema.extend({ roles: z.array(roleSchema) })` pattern repeated
|
|
24
24
|
* across the management-api modules.
|
|
25
25
|
*/
|
|
26
|
-
export declare function withTotals<T extends z.ZodRawShape>(items: T): z.ZodObject<(("
|
|
26
|
+
export declare function withTotals<T extends z.ZodRawShape>(items: T): z.ZodObject<(("limit" | "length" | "next" | "start" | "total") & keyof T extends never ? {
|
|
27
27
|
start: z.ZodNumber;
|
|
28
28
|
limit: z.ZodNumber;
|
|
29
29
|
length: z.ZodNumber;
|
|
@@ -71,6 +71,19 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
71
71
|
metadata?: {
|
|
72
72
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
73
73
|
} | undefined;
|
|
74
|
+
} | {
|
|
75
|
+
trigger_id: "post-user-login";
|
|
76
|
+
enabled: boolean;
|
|
77
|
+
synchronous: boolean;
|
|
78
|
+
created_at: string;
|
|
79
|
+
updated_at: string;
|
|
80
|
+
hook_id: string;
|
|
81
|
+
page_id: "impersonate";
|
|
82
|
+
priority?: number | undefined;
|
|
83
|
+
metadata?: {
|
|
84
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
85
|
+
} | undefined;
|
|
86
|
+
permission_required?: string | undefined;
|
|
74
87
|
})[] | {
|
|
75
88
|
start: number;
|
|
76
89
|
limit: number;
|
|
@@ -123,6 +136,19 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
123
136
|
metadata?: {
|
|
124
137
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
125
138
|
} | undefined;
|
|
139
|
+
} | {
|
|
140
|
+
trigger_id: "post-user-login";
|
|
141
|
+
enabled: boolean;
|
|
142
|
+
synchronous: boolean;
|
|
143
|
+
created_at: string;
|
|
144
|
+
updated_at: string;
|
|
145
|
+
hook_id: string;
|
|
146
|
+
page_id: "impersonate";
|
|
147
|
+
priority?: number | undefined;
|
|
148
|
+
metadata?: {
|
|
149
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
150
|
+
} | undefined;
|
|
151
|
+
permission_required?: string | undefined;
|
|
126
152
|
})[];
|
|
127
153
|
total?: number | undefined;
|
|
128
154
|
next?: string | undefined;
|
|
@@ -171,6 +197,15 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
171
197
|
priority?: number | undefined;
|
|
172
198
|
hook_id?: string | undefined;
|
|
173
199
|
metadata?: Record<string, unknown> | undefined;
|
|
200
|
+
} | {
|
|
201
|
+
trigger_id: "post-user-login";
|
|
202
|
+
page_id: "impersonate";
|
|
203
|
+
permission_required?: string | undefined;
|
|
204
|
+
enabled?: boolean | undefined;
|
|
205
|
+
synchronous?: boolean | undefined;
|
|
206
|
+
priority?: number | undefined;
|
|
207
|
+
hook_id?: string | undefined;
|
|
208
|
+
metadata?: Record<string, unknown> | undefined;
|
|
174
209
|
};
|
|
175
210
|
};
|
|
176
211
|
output: {
|
|
@@ -221,6 +256,19 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
221
256
|
metadata?: {
|
|
222
257
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
223
258
|
} | undefined;
|
|
259
|
+
} | {
|
|
260
|
+
trigger_id: "post-user-login";
|
|
261
|
+
enabled: boolean;
|
|
262
|
+
synchronous: boolean;
|
|
263
|
+
created_at: string;
|
|
264
|
+
updated_at: string;
|
|
265
|
+
hook_id: string;
|
|
266
|
+
page_id: "impersonate";
|
|
267
|
+
priority?: number | undefined;
|
|
268
|
+
metadata?: {
|
|
269
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
270
|
+
} | undefined;
|
|
271
|
+
permission_required?: string | undefined;
|
|
224
272
|
};
|
|
225
273
|
outputFormat: "json";
|
|
226
274
|
status: 201;
|
|
@@ -303,6 +351,19 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
303
351
|
metadata?: {
|
|
304
352
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
305
353
|
} | undefined;
|
|
354
|
+
} | {
|
|
355
|
+
trigger_id: "post-user-login";
|
|
356
|
+
enabled: boolean;
|
|
357
|
+
synchronous: boolean;
|
|
358
|
+
created_at: string;
|
|
359
|
+
updated_at: string;
|
|
360
|
+
hook_id: string;
|
|
361
|
+
page_id: "impersonate";
|
|
362
|
+
priority?: number | undefined;
|
|
363
|
+
metadata?: {
|
|
364
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
365
|
+
} | undefined;
|
|
366
|
+
permission_required?: string | undefined;
|
|
306
367
|
};
|
|
307
368
|
outputFormat: "json";
|
|
308
369
|
status: 200;
|
|
@@ -381,6 +442,19 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
381
442
|
metadata?: {
|
|
382
443
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
383
444
|
} | undefined;
|
|
445
|
+
} | {
|
|
446
|
+
trigger_id: "post-user-login";
|
|
447
|
+
enabled: boolean;
|
|
448
|
+
synchronous: boolean;
|
|
449
|
+
created_at: string;
|
|
450
|
+
updated_at: string;
|
|
451
|
+
hook_id: string;
|
|
452
|
+
page_id: "impersonate";
|
|
453
|
+
priority?: number | undefined;
|
|
454
|
+
metadata?: {
|
|
455
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
456
|
+
} | undefined;
|
|
457
|
+
permission_required?: string | undefined;
|
|
384
458
|
};
|
|
385
459
|
outputFormat: "json";
|
|
386
460
|
status: 200;
|