authhero 4.71.0 → 4.72.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/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/{p-c03e5b57.entry.js → p-40bc2ea8.entry.js} +1 -1
- package/dist/authhero.cjs +117 -78
- package/dist/authhero.d.ts +54 -8
- package/dist/authhero.mjs +19021 -16365
- package/dist/stats.html +1 -1
- package/package.json +5 -3
package/dist/authhero.d.ts
CHANGED
|
@@ -47243,7 +47243,8 @@ export declare const promptScreenSchema: z.ZodEnum<[
|
|
|
47243
47243
|
"passkeys",
|
|
47244
47244
|
"captcha",
|
|
47245
47245
|
"custom-form",
|
|
47246
|
-
"login-passwordless"
|
|
47246
|
+
"login-passwordless",
|
|
47247
|
+
"mfa-login-options"
|
|
47247
47248
|
]>;
|
|
47248
47249
|
export type PromptScreen = z.infer<typeof promptScreenSchema>;
|
|
47249
47250
|
/**
|
|
@@ -47284,16 +47285,17 @@ export declare const customTextEntrySchema: z.ZodObject<{
|
|
|
47284
47285
|
"passkeys",
|
|
47285
47286
|
"captcha",
|
|
47286
47287
|
"custom-form",
|
|
47287
|
-
"login-passwordless"
|
|
47288
|
+
"login-passwordless",
|
|
47289
|
+
"mfa-login-options"
|
|
47288
47290
|
]>;
|
|
47289
47291
|
language: z.ZodString;
|
|
47290
47292
|
custom_text: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
47291
47293
|
}, "strip", z.ZodTypeAny, {
|
|
47292
|
-
prompt: "status" | "signup" | "organizations" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless";
|
|
47294
|
+
prompt: "status" | "signup" | "organizations" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
47293
47295
|
language: string;
|
|
47294
47296
|
custom_text: Record<string, Record<string, string>>;
|
|
47295
47297
|
}, {
|
|
47296
|
-
prompt: "status" | "signup" | "organizations" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless";
|
|
47298
|
+
prompt: "status" | "signup" | "organizations" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
47297
47299
|
language: string;
|
|
47298
47300
|
custom_text: Record<string, Record<string, string>>;
|
|
47299
47301
|
}>;
|
|
@@ -51596,6 +51598,28 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
51596
51598
|
status: 200;
|
|
51597
51599
|
};
|
|
51598
51600
|
};
|
|
51601
|
+
} & {
|
|
51602
|
+
"/enrollments/ticket": {
|
|
51603
|
+
$post: {
|
|
51604
|
+
input: {
|
|
51605
|
+
header: {
|
|
51606
|
+
"tenant-id"?: string | undefined;
|
|
51607
|
+
};
|
|
51608
|
+
} & {
|
|
51609
|
+
json: {
|
|
51610
|
+
user_id: string;
|
|
51611
|
+
email?: string | undefined;
|
|
51612
|
+
send_mail?: boolean | undefined;
|
|
51613
|
+
};
|
|
51614
|
+
};
|
|
51615
|
+
output: {
|
|
51616
|
+
ticket_id: string;
|
|
51617
|
+
ticket_url: string;
|
|
51618
|
+
};
|
|
51619
|
+
outputFormat: "json";
|
|
51620
|
+
status: 201;
|
|
51621
|
+
};
|
|
51622
|
+
};
|
|
51599
51623
|
} & {
|
|
51600
51624
|
"/factors/:factor_name": {
|
|
51601
51625
|
$get: {
|
|
@@ -57642,7 +57666,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
57642
57666
|
};
|
|
57643
57667
|
};
|
|
57644
57668
|
output: {
|
|
57645
|
-
prompt: "status" | "common" | "organizations" | "mfa" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "reset-password" | "signup" | "signup-id" | "signup-password" | "passkeys" | "captcha" | "custom-form";
|
|
57669
|
+
prompt: "status" | "common" | "organizations" | "mfa" | "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" | "reset-password" | "signup" | "signup-id" | "signup-password" | "passkeys" | "captcha" | "custom-form";
|
|
57646
57670
|
language: string;
|
|
57647
57671
|
}[];
|
|
57648
57672
|
outputFormat: "json";
|
|
@@ -57654,7 +57678,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
57654
57678
|
$get: {
|
|
57655
57679
|
input: {
|
|
57656
57680
|
param: {
|
|
57657
|
-
prompt: "status" | "common" | "organizations" | "mfa" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "reset-password" | "signup" | "signup-id" | "signup-password" | "passkeys" | "captcha" | "custom-form";
|
|
57681
|
+
prompt: "status" | "common" | "organizations" | "mfa" | "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" | "reset-password" | "signup" | "signup-id" | "signup-password" | "passkeys" | "captcha" | "custom-form";
|
|
57658
57682
|
language: string;
|
|
57659
57683
|
};
|
|
57660
57684
|
} & {
|
|
@@ -57676,7 +57700,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
57676
57700
|
$put: {
|
|
57677
57701
|
input: {
|
|
57678
57702
|
param: {
|
|
57679
|
-
prompt: "status" | "common" | "organizations" | "mfa" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "reset-password" | "signup" | "signup-id" | "signup-password" | "passkeys" | "captcha" | "custom-form";
|
|
57703
|
+
prompt: "status" | "common" | "organizations" | "mfa" | "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" | "reset-password" | "signup" | "signup-id" | "signup-password" | "passkeys" | "captcha" | "custom-form";
|
|
57680
57704
|
language: string;
|
|
57681
57705
|
};
|
|
57682
57706
|
} & {
|
|
@@ -57700,7 +57724,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
57700
57724
|
$delete: {
|
|
57701
57725
|
input: {
|
|
57702
57726
|
param: {
|
|
57703
|
-
prompt: "status" | "common" | "organizations" | "mfa" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "reset-password" | "signup" | "signup-id" | "signup-password" | "passkeys" | "captcha" | "custom-form";
|
|
57727
|
+
prompt: "status" | "common" | "organizations" | "mfa" | "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" | "reset-password" | "signup" | "signup-id" | "signup-password" | "passkeys" | "captcha" | "custom-form";
|
|
57704
57728
|
language: string;
|
|
57705
57729
|
};
|
|
57706
57730
|
} & {
|
|
@@ -64334,6 +64358,28 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64334
64358
|
status: 302;
|
|
64335
64359
|
};
|
|
64336
64360
|
};
|
|
64361
|
+
} & {
|
|
64362
|
+
"/guardian/enroll": {
|
|
64363
|
+
$get: {
|
|
64364
|
+
input: {
|
|
64365
|
+
query: {
|
|
64366
|
+
ticket: string;
|
|
64367
|
+
};
|
|
64368
|
+
};
|
|
64369
|
+
output: Response;
|
|
64370
|
+
outputFormat: "json";
|
|
64371
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
64372
|
+
} | {
|
|
64373
|
+
input: {
|
|
64374
|
+
query: {
|
|
64375
|
+
ticket: string;
|
|
64376
|
+
};
|
|
64377
|
+
};
|
|
64378
|
+
output: {};
|
|
64379
|
+
outputFormat: string;
|
|
64380
|
+
status: 302;
|
|
64381
|
+
};
|
|
64382
|
+
};
|
|
64337
64383
|
}, "/"> & import("hono/types").MergeSchemaPath<{
|
|
64338
64384
|
"/:formId/nodes/:nodeId": {
|
|
64339
64385
|
$get: {
|