authhero 5.17.0 → 5.18.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/p-35c8b265.entry.js +1 -0
- package/dist/authhero.cjs +118 -122
- package/dist/authhero.d.ts +111 -85
- package/dist/authhero.mjs +8804 -8712
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +4 -4
- package/dist/types/emails/defaults/Layout.d.ts +4 -4
- package/dist/types/emails/defaults/PrimaryButton.d.ts +6 -3
- package/dist/types/emails/defaults/ResetEmail.d.ts +1 -1
- package/dist/types/emails/defaults/ResetEmailByCode.d.ts +1 -1
- package/dist/types/emails/defaults/UserInvitation.d.ts +1 -1
- package/dist/types/emails/defaults/VerifyEmail.d.ts +1 -1
- package/dist/types/emails/defaults/VerifyEmailByCode.d.ts +1 -1
- package/dist/types/emails/defaults/WelcomeEmail.d.ts +1 -1
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/index.d.ts +101 -84
- package/dist/types/middlewares/index.d.ts +3 -0
- package/dist/types/middlewares/prefer.d.ts +12 -0
- package/dist/types/routes/auth-api/index.d.ts +18 -18
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- 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/branding.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +9 -9
- package/dist/types/routes/management-api/connections.d.ts +5 -5
- package/dist/types/routes/management-api/custom-domains.d.ts +8 -8
- package/dist/types/routes/management-api/email-templates.d.ts +31 -14
- package/dist/types/routes/management-api/index.d.ts +75 -58
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/themes.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +10 -10
- 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 +6 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/types/Hooks.d.ts +1 -1
- package/dist/types/types/IdToken.d.ts +1 -1
- package/dist/types/types/Variables.d.ts +2 -0
- package/package.json +6 -6
- package/dist/assets/u/widget/p-f0f9eca3.entry.js +0 -1
package/dist/authhero.d.ts
CHANGED
|
@@ -22,6 +22,14 @@ declare const auth0ClientSchema: z.ZodObject<{
|
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
type Auth0Client = z.infer<typeof auth0ClientSchema>;
|
|
24
24
|
|
|
25
|
+
declare const PREFER_TOKENS: readonly ["include-linked"];
|
|
26
|
+
type PreferToken = (typeof PREFER_TOKENS)[number];
|
|
27
|
+
interface PreferState {
|
|
28
|
+
has(token: PreferToken): boolean;
|
|
29
|
+
applied(token: PreferToken): void;
|
|
30
|
+
appliedTokens(): PreferToken[];
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
type Variables = {
|
|
26
34
|
tenant_id: string;
|
|
27
35
|
ip: string;
|
|
@@ -47,6 +55,7 @@ type Variables = {
|
|
|
47
55
|
auth0_client?: Auth0Client;
|
|
48
56
|
useragent?: string;
|
|
49
57
|
countryCode?: CountryCode;
|
|
58
|
+
prefer?: PreferState;
|
|
50
59
|
outboxEventPromises?: Promise<string>[];
|
|
51
60
|
backgroundPromises?: Promise<void>[];
|
|
52
61
|
client_authenticated_via_assertion?: boolean;
|
|
@@ -616,7 +625,7 @@ type HookEvent = {
|
|
|
616
625
|
organization?: {
|
|
617
626
|
id: string;
|
|
618
627
|
name: string;
|
|
619
|
-
display_name
|
|
628
|
+
display_name?: string;
|
|
620
629
|
metadata?: Record<string, unknown>;
|
|
621
630
|
};
|
|
622
631
|
resource_server?: {
|
|
@@ -3369,7 +3378,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
3369
3378
|
};
|
|
3370
3379
|
output: {};
|
|
3371
3380
|
outputFormat: string;
|
|
3372
|
-
status:
|
|
3381
|
+
status: 204;
|
|
3373
3382
|
};
|
|
3374
3383
|
};
|
|
3375
3384
|
} & {
|
|
@@ -3776,8 +3785,8 @@ declare function init(config: AuthHeroConfig): {
|
|
|
3776
3785
|
};
|
|
3777
3786
|
} & {
|
|
3778
3787
|
json: {
|
|
3779
|
-
show_as_button?: boolean | undefined;
|
|
3780
3788
|
assign_membership_on_login?: boolean | undefined;
|
|
3789
|
+
show_as_button?: boolean | undefined;
|
|
3781
3790
|
is_signup_enabled?: boolean | undefined;
|
|
3782
3791
|
};
|
|
3783
3792
|
};
|
|
@@ -9079,7 +9088,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9079
9088
|
};
|
|
9080
9089
|
};
|
|
9081
9090
|
output: {
|
|
9082
|
-
prompt: "
|
|
9091
|
+
prompt: "common" | "status" | "organizations" | "signup" | "mfa" | "invitation" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
9083
9092
|
language: string;
|
|
9084
9093
|
}[];
|
|
9085
9094
|
outputFormat: "json";
|
|
@@ -9117,7 +9126,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9117
9126
|
$get: {
|
|
9118
9127
|
input: {
|
|
9119
9128
|
param: {
|
|
9120
|
-
prompt: "
|
|
9129
|
+
prompt: "common" | "status" | "organizations" | "signup" | "mfa" | "invitation" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
9121
9130
|
language: string;
|
|
9122
9131
|
};
|
|
9123
9132
|
} & {
|
|
@@ -9139,7 +9148,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9139
9148
|
$put: {
|
|
9140
9149
|
input: {
|
|
9141
9150
|
param: {
|
|
9142
|
-
prompt: "
|
|
9151
|
+
prompt: "common" | "status" | "organizations" | "signup" | "mfa" | "invitation" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
9143
9152
|
language: string;
|
|
9144
9153
|
};
|
|
9145
9154
|
} & {
|
|
@@ -9163,7 +9172,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9163
9172
|
$delete: {
|
|
9164
9173
|
input: {
|
|
9165
9174
|
param: {
|
|
9166
|
-
prompt: "
|
|
9175
|
+
prompt: "common" | "status" | "organizations" | "signup" | "mfa" | "invitation" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
9167
9176
|
language: string;
|
|
9168
9177
|
};
|
|
9169
9178
|
} & {
|
|
@@ -9302,7 +9311,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9302
9311
|
} | undefined;
|
|
9303
9312
|
} | undefined;
|
|
9304
9313
|
passkey_options?: {
|
|
9305
|
-
challenge_ui?: "
|
|
9314
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
9306
9315
|
local_enrollment_enabled?: boolean | undefined;
|
|
9307
9316
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
9308
9317
|
} | undefined;
|
|
@@ -9436,7 +9445,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9436
9445
|
} | undefined;
|
|
9437
9446
|
} | undefined;
|
|
9438
9447
|
passkey_options?: {
|
|
9439
|
-
challenge_ui?: "
|
|
9448
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
9440
9449
|
local_enrollment_enabled?: boolean | undefined;
|
|
9441
9450
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
9442
9451
|
} | undefined;
|
|
@@ -9585,7 +9594,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9585
9594
|
} | undefined;
|
|
9586
9595
|
} | undefined;
|
|
9587
9596
|
passkey_options?: {
|
|
9588
|
-
challenge_ui?: "
|
|
9597
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
9589
9598
|
local_enrollment_enabled?: boolean | undefined;
|
|
9590
9599
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
9591
9600
|
} | undefined;
|
|
@@ -9764,7 +9773,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9764
9773
|
} | undefined;
|
|
9765
9774
|
} | undefined;
|
|
9766
9775
|
passkey_options?: {
|
|
9767
|
-
challenge_ui?: "
|
|
9776
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
9768
9777
|
local_enrollment_enabled?: boolean | undefined;
|
|
9769
9778
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
9770
9779
|
} | undefined;
|
|
@@ -9922,7 +9931,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9922
9931
|
} | undefined;
|
|
9923
9932
|
} | undefined;
|
|
9924
9933
|
passkey_options?: {
|
|
9925
|
-
challenge_ui?: "
|
|
9934
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
9926
9935
|
local_enrollment_enabled?: boolean | undefined;
|
|
9927
9936
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
9928
9937
|
} | undefined;
|
|
@@ -11252,7 +11261,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11252
11261
|
};
|
|
11253
11262
|
};
|
|
11254
11263
|
output: {
|
|
11255
|
-
type: "
|
|
11264
|
+
type: "i" | "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
11256
11265
|
date: string;
|
|
11257
11266
|
isMobile: boolean;
|
|
11258
11267
|
log_id: string;
|
|
@@ -11291,7 +11300,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11291
11300
|
limit: number;
|
|
11292
11301
|
length: number;
|
|
11293
11302
|
logs: {
|
|
11294
|
-
type: "
|
|
11303
|
+
type: "i" | "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
11295
11304
|
date: string;
|
|
11296
11305
|
isMobile: boolean;
|
|
11297
11306
|
log_id: string;
|
|
@@ -11345,7 +11354,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11345
11354
|
};
|
|
11346
11355
|
};
|
|
11347
11356
|
output: {
|
|
11348
|
-
type: "
|
|
11357
|
+
type: "i" | "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
11349
11358
|
date: string;
|
|
11350
11359
|
isMobile: boolean;
|
|
11351
11360
|
log_id: string;
|
|
@@ -11659,7 +11668,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11659
11668
|
addons?: {
|
|
11660
11669
|
[x: string]: any;
|
|
11661
11670
|
} | undefined;
|
|
11662
|
-
token_endpoint_auth_method?: "
|
|
11671
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
11663
11672
|
client_metadata?: {
|
|
11664
11673
|
[x: string]: string;
|
|
11665
11674
|
} | undefined;
|
|
@@ -11755,7 +11764,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11755
11764
|
addons?: {
|
|
11756
11765
|
[x: string]: any;
|
|
11757
11766
|
} | undefined;
|
|
11758
|
-
token_endpoint_auth_method?: "
|
|
11767
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
11759
11768
|
client_metadata?: {
|
|
11760
11769
|
[x: string]: string;
|
|
11761
11770
|
} | undefined;
|
|
@@ -11866,7 +11875,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11866
11875
|
addons?: {
|
|
11867
11876
|
[x: string]: any;
|
|
11868
11877
|
} | undefined;
|
|
11869
|
-
token_endpoint_auth_method?: "
|
|
11878
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
11870
11879
|
client_metadata?: {
|
|
11871
11880
|
[x: string]: string;
|
|
11872
11881
|
} | undefined;
|
|
@@ -11976,7 +11985,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11976
11985
|
custom_login_page_preview?: string | undefined;
|
|
11977
11986
|
form_template?: string | undefined;
|
|
11978
11987
|
addons?: Record<string, any> | undefined;
|
|
11979
|
-
token_endpoint_auth_method?: "
|
|
11988
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
11980
11989
|
client_metadata?: Record<string, string> | undefined;
|
|
11981
11990
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
11982
11991
|
mobile?: Record<string, any> | undefined;
|
|
@@ -12056,7 +12065,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
12056
12065
|
addons?: {
|
|
12057
12066
|
[x: string]: any;
|
|
12058
12067
|
} | undefined;
|
|
12059
|
-
token_endpoint_auth_method?: "
|
|
12068
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
12060
12069
|
client_metadata?: {
|
|
12061
12070
|
[x: string]: string;
|
|
12062
12071
|
} | undefined;
|
|
@@ -12145,7 +12154,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
12145
12154
|
custom_login_page_preview?: string | undefined;
|
|
12146
12155
|
form_template?: string | undefined;
|
|
12147
12156
|
addons?: Record<string, any> | undefined;
|
|
12148
|
-
token_endpoint_auth_method?: "
|
|
12157
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
12149
12158
|
client_metadata?: Record<string, string> | undefined;
|
|
12150
12159
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
12151
12160
|
mobile?: Record<string, any> | undefined;
|
|
@@ -12225,7 +12234,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
12225
12234
|
addons?: {
|
|
12226
12235
|
[x: string]: any;
|
|
12227
12236
|
} | undefined;
|
|
12228
|
-
token_endpoint_auth_method?: "
|
|
12237
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
12229
12238
|
client_metadata?: {
|
|
12230
12239
|
[x: string]: string;
|
|
12231
12240
|
} | undefined;
|
|
@@ -12394,7 +12403,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
12394
12403
|
} | undefined;
|
|
12395
12404
|
} | undefined;
|
|
12396
12405
|
passkey_options?: {
|
|
12397
|
-
challenge_ui?: "
|
|
12406
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
12398
12407
|
local_enrollment_enabled?: boolean | undefined;
|
|
12399
12408
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
12400
12409
|
} | undefined;
|
|
@@ -12548,7 +12557,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
12548
12557
|
} | undefined;
|
|
12549
12558
|
} | undefined;
|
|
12550
12559
|
passkey_options?: {
|
|
12551
|
-
challenge_ui?: "
|
|
12560
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
12552
12561
|
local_enrollment_enabled?: boolean | undefined;
|
|
12553
12562
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
12554
12563
|
} | undefined;
|
|
@@ -13489,7 +13498,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13489
13498
|
};
|
|
13490
13499
|
};
|
|
13491
13500
|
output: {
|
|
13492
|
-
type: "
|
|
13501
|
+
type: "i" | "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
13493
13502
|
date: string;
|
|
13494
13503
|
isMobile: boolean;
|
|
13495
13504
|
log_id: string;
|
|
@@ -13528,7 +13537,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13528
13537
|
limit: number;
|
|
13529
13538
|
length: number;
|
|
13530
13539
|
logs: {
|
|
13531
|
-
type: "
|
|
13540
|
+
type: "i" | "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
13532
13541
|
date: string;
|
|
13533
13542
|
isMobile: boolean;
|
|
13534
13543
|
log_id: string;
|
|
@@ -13843,7 +13852,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13843
13852
|
};
|
|
13844
13853
|
} & {
|
|
13845
13854
|
json: {
|
|
13846
|
-
template: "
|
|
13855
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13847
13856
|
body: string;
|
|
13848
13857
|
from: string;
|
|
13849
13858
|
subject: string;
|
|
@@ -13864,7 +13873,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13864
13873
|
};
|
|
13865
13874
|
} & {
|
|
13866
13875
|
json: {
|
|
13867
|
-
template: "
|
|
13876
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13868
13877
|
body: string;
|
|
13869
13878
|
from: string;
|
|
13870
13879
|
subject: string;
|
|
@@ -13876,7 +13885,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13876
13885
|
};
|
|
13877
13886
|
};
|
|
13878
13887
|
output: {
|
|
13879
|
-
template: "
|
|
13888
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13880
13889
|
body: string;
|
|
13881
13890
|
from: string;
|
|
13882
13891
|
subject: string;
|
|
@@ -13890,12 +13899,29 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13890
13899
|
status: 201;
|
|
13891
13900
|
};
|
|
13892
13901
|
};
|
|
13902
|
+
} & {
|
|
13903
|
+
"/defaults": {
|
|
13904
|
+
$get: {
|
|
13905
|
+
input: {
|
|
13906
|
+
header: {
|
|
13907
|
+
"tenant-id"?: string | undefined;
|
|
13908
|
+
};
|
|
13909
|
+
};
|
|
13910
|
+
output: {
|
|
13911
|
+
name: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13912
|
+
body: string;
|
|
13913
|
+
subject: string;
|
|
13914
|
+
}[];
|
|
13915
|
+
outputFormat: "json";
|
|
13916
|
+
status: 200;
|
|
13917
|
+
};
|
|
13918
|
+
};
|
|
13893
13919
|
} & {
|
|
13894
13920
|
"/:templateName": {
|
|
13895
13921
|
$get: {
|
|
13896
13922
|
input: {
|
|
13897
13923
|
param: {
|
|
13898
|
-
templateName: "
|
|
13924
|
+
templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13899
13925
|
};
|
|
13900
13926
|
} & {
|
|
13901
13927
|
header: {
|
|
@@ -13908,7 +13934,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13908
13934
|
} | {
|
|
13909
13935
|
input: {
|
|
13910
13936
|
param: {
|
|
13911
|
-
templateName: "
|
|
13937
|
+
templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13912
13938
|
};
|
|
13913
13939
|
} & {
|
|
13914
13940
|
header: {
|
|
@@ -13916,7 +13942,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13916
13942
|
};
|
|
13917
13943
|
};
|
|
13918
13944
|
output: {
|
|
13919
|
-
template: "
|
|
13945
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13920
13946
|
body: string;
|
|
13921
13947
|
from: string;
|
|
13922
13948
|
subject: string;
|
|
@@ -13935,7 +13961,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13935
13961
|
$put: {
|
|
13936
13962
|
input: {
|
|
13937
13963
|
param: {
|
|
13938
|
-
templateName: "
|
|
13964
|
+
templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13939
13965
|
};
|
|
13940
13966
|
} & {
|
|
13941
13967
|
header: {
|
|
@@ -13943,7 +13969,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13943
13969
|
};
|
|
13944
13970
|
} & {
|
|
13945
13971
|
json: {
|
|
13946
|
-
template: "
|
|
13972
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13947
13973
|
body: string;
|
|
13948
13974
|
from: string;
|
|
13949
13975
|
subject: string;
|
|
@@ -13955,7 +13981,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13955
13981
|
};
|
|
13956
13982
|
};
|
|
13957
13983
|
output: {
|
|
13958
|
-
template: "
|
|
13984
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13959
13985
|
body: string;
|
|
13960
13986
|
from: string;
|
|
13961
13987
|
subject: string;
|
|
@@ -13974,7 +14000,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13974
14000
|
$patch: {
|
|
13975
14001
|
input: {
|
|
13976
14002
|
param: {
|
|
13977
|
-
templateName: "
|
|
14003
|
+
templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13978
14004
|
};
|
|
13979
14005
|
} & {
|
|
13980
14006
|
header: {
|
|
@@ -13982,7 +14008,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13982
14008
|
};
|
|
13983
14009
|
} & {
|
|
13984
14010
|
json: {
|
|
13985
|
-
template?: "
|
|
14011
|
+
template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
13986
14012
|
body?: string | undefined;
|
|
13987
14013
|
from?: string | undefined;
|
|
13988
14014
|
subject?: string | undefined;
|
|
@@ -13999,7 +14025,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13999
14025
|
} | {
|
|
14000
14026
|
input: {
|
|
14001
14027
|
param: {
|
|
14002
|
-
templateName: "
|
|
14028
|
+
templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
14003
14029
|
};
|
|
14004
14030
|
} & {
|
|
14005
14031
|
header: {
|
|
@@ -14007,7 +14033,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14007
14033
|
};
|
|
14008
14034
|
} & {
|
|
14009
14035
|
json: {
|
|
14010
|
-
template?: "
|
|
14036
|
+
template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
14011
14037
|
body?: string | undefined;
|
|
14012
14038
|
from?: string | undefined;
|
|
14013
14039
|
subject?: string | undefined;
|
|
@@ -14019,7 +14045,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14019
14045
|
};
|
|
14020
14046
|
};
|
|
14021
14047
|
output: {
|
|
14022
|
-
template: "
|
|
14048
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
14023
14049
|
body: string;
|
|
14024
14050
|
from: string;
|
|
14025
14051
|
subject: string;
|
|
@@ -14296,7 +14322,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14296
14322
|
primary: boolean;
|
|
14297
14323
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
14298
14324
|
verification_method?: "txt" | undefined;
|
|
14299
|
-
custom_client_ip_header?: "null" | "
|
|
14325
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
14300
14326
|
domain_metadata?: {
|
|
14301
14327
|
[x: string]: string;
|
|
14302
14328
|
} | undefined;
|
|
@@ -14337,7 +14363,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14337
14363
|
primary: boolean;
|
|
14338
14364
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
14339
14365
|
verification_method?: "txt" | undefined;
|
|
14340
|
-
custom_client_ip_header?: "null" | "
|
|
14366
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
14341
14367
|
domain_metadata?: {
|
|
14342
14368
|
[x: string]: string;
|
|
14343
14369
|
} | undefined;
|
|
@@ -14392,7 +14418,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14392
14418
|
domain?: string | undefined;
|
|
14393
14419
|
type?: "auth0_managed_certs" | "self_managed_certs" | undefined;
|
|
14394
14420
|
verification_method?: "txt" | undefined;
|
|
14395
|
-
custom_client_ip_header?: "null" | "
|
|
14421
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
14396
14422
|
domain_metadata?: Record<string, string> | undefined;
|
|
14397
14423
|
custom_domain_id?: string | undefined;
|
|
14398
14424
|
primary?: boolean | undefined;
|
|
@@ -14419,7 +14445,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14419
14445
|
primary: boolean;
|
|
14420
14446
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
14421
14447
|
verification_method?: "txt" | undefined;
|
|
14422
|
-
custom_client_ip_header?: "null" | "
|
|
14448
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
14423
14449
|
domain_metadata?: {
|
|
14424
14450
|
[x: string]: string;
|
|
14425
14451
|
} | undefined;
|
|
@@ -14455,7 +14481,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14455
14481
|
custom_domain_id?: string | undefined;
|
|
14456
14482
|
verification_method?: "txt" | undefined;
|
|
14457
14483
|
tls_policy?: "recommended" | undefined;
|
|
14458
|
-
custom_client_ip_header?: "null" | "
|
|
14484
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
14459
14485
|
domain_metadata?: Record<string, string> | undefined;
|
|
14460
14486
|
};
|
|
14461
14487
|
};
|
|
@@ -14466,7 +14492,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14466
14492
|
primary: boolean;
|
|
14467
14493
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
14468
14494
|
verification_method?: "txt" | undefined;
|
|
14469
|
-
custom_client_ip_header?: "null" | "
|
|
14495
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
14470
14496
|
domain_metadata?: {
|
|
14471
14497
|
[x: string]: string;
|
|
14472
14498
|
} | undefined;
|
|
@@ -14512,7 +14538,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14512
14538
|
primary: boolean;
|
|
14513
14539
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
14514
14540
|
verification_method?: "txt" | undefined;
|
|
14515
|
-
custom_client_ip_header?: "null" | "
|
|
14541
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
14516
14542
|
domain_metadata?: {
|
|
14517
14543
|
[x: string]: string;
|
|
14518
14544
|
} | undefined;
|
|
@@ -14553,7 +14579,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14553
14579
|
primary: boolean;
|
|
14554
14580
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
14555
14581
|
verification_method?: "txt" | undefined;
|
|
14556
|
-
custom_client_ip_header?: "null" | "
|
|
14582
|
+
custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
|
|
14557
14583
|
domain_metadata?: {
|
|
14558
14584
|
[x: string]: string;
|
|
14559
14585
|
} | undefined;
|
|
@@ -14599,7 +14625,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14599
14625
|
base_focus_color: string;
|
|
14600
14626
|
base_hover_color: string;
|
|
14601
14627
|
body_text: string;
|
|
14602
|
-
captcha_widget_theme: "
|
|
14628
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
14603
14629
|
error: string;
|
|
14604
14630
|
header: string;
|
|
14605
14631
|
icons: string;
|
|
@@ -14650,7 +14676,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14650
14676
|
background_color: string;
|
|
14651
14677
|
background_image_url: string;
|
|
14652
14678
|
page_layout: "center" | "left" | "right";
|
|
14653
|
-
logo_placement?: "
|
|
14679
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
14654
14680
|
};
|
|
14655
14681
|
widget: {
|
|
14656
14682
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -14689,7 +14715,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14689
14715
|
base_focus_color: string;
|
|
14690
14716
|
base_hover_color: string;
|
|
14691
14717
|
body_text: string;
|
|
14692
|
-
captcha_widget_theme: "
|
|
14718
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
14693
14719
|
error: string;
|
|
14694
14720
|
header: string;
|
|
14695
14721
|
icons: string;
|
|
@@ -14740,7 +14766,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14740
14766
|
background_color: string;
|
|
14741
14767
|
background_image_url: string;
|
|
14742
14768
|
page_layout: "center" | "left" | "right";
|
|
14743
|
-
logo_placement?: "
|
|
14769
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
14744
14770
|
};
|
|
14745
14771
|
widget: {
|
|
14746
14772
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -14768,7 +14794,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14768
14794
|
base_focus_color: string;
|
|
14769
14795
|
base_hover_color: string;
|
|
14770
14796
|
body_text: string;
|
|
14771
|
-
captcha_widget_theme: "
|
|
14797
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
14772
14798
|
error: string;
|
|
14773
14799
|
header: string;
|
|
14774
14800
|
icons: string;
|
|
@@ -14819,7 +14845,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14819
14845
|
background_color: string;
|
|
14820
14846
|
background_image_url: string;
|
|
14821
14847
|
page_layout: "center" | "left" | "right";
|
|
14822
|
-
logo_placement?: "
|
|
14848
|
+
logo_placement?: "widget" | "chip" | "none" | undefined;
|
|
14823
14849
|
};
|
|
14824
14850
|
widget: {
|
|
14825
14851
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -14858,7 +14884,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14858
14884
|
font?: {
|
|
14859
14885
|
url: string;
|
|
14860
14886
|
} | undefined;
|
|
14861
|
-
dark_mode?: "
|
|
14887
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
14862
14888
|
};
|
|
14863
14889
|
outputFormat: "json";
|
|
14864
14890
|
status: 200;
|
|
@@ -14888,7 +14914,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14888
14914
|
font?: {
|
|
14889
14915
|
url: string;
|
|
14890
14916
|
} | undefined;
|
|
14891
|
-
dark_mode?: "
|
|
14917
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
14892
14918
|
};
|
|
14893
14919
|
};
|
|
14894
14920
|
output: {
|
|
@@ -14907,7 +14933,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14907
14933
|
font?: {
|
|
14908
14934
|
url: string;
|
|
14909
14935
|
} | undefined;
|
|
14910
|
-
dark_mode?: "
|
|
14936
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
14911
14937
|
};
|
|
14912
14938
|
outputFormat: "json";
|
|
14913
14939
|
status: 200;
|
|
@@ -15158,7 +15184,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
15158
15184
|
logs: {
|
|
15159
15185
|
action_name: string;
|
|
15160
15186
|
lines: {
|
|
15161
|
-
level: "
|
|
15187
|
+
level: "log" | "error" | "info" | "warn" | "debug";
|
|
15162
15188
|
message: string;
|
|
15163
15189
|
}[];
|
|
15164
15190
|
}[];
|
|
@@ -15825,7 +15851,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
15825
15851
|
args: hono_utils_types.JSONValue[];
|
|
15826
15852
|
}[];
|
|
15827
15853
|
logs: {
|
|
15828
|
-
level: "
|
|
15854
|
+
level: "log" | "error" | "info" | "warn" | "debug";
|
|
15829
15855
|
message: string;
|
|
15830
15856
|
}[];
|
|
15831
15857
|
error?: string | undefined;
|
|
@@ -16123,7 +16149,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16123
16149
|
scope?: string | undefined;
|
|
16124
16150
|
grant_types?: string[] | undefined;
|
|
16125
16151
|
response_types?: string[] | undefined;
|
|
16126
|
-
token_endpoint_auth_method?: "
|
|
16152
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
16127
16153
|
jwks_uri?: string | undefined;
|
|
16128
16154
|
jwks?: Record<string, unknown> | undefined;
|
|
16129
16155
|
software_id?: string | undefined;
|
|
@@ -16212,7 +16238,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16212
16238
|
scope?: string | undefined;
|
|
16213
16239
|
grant_types?: string[] | undefined;
|
|
16214
16240
|
response_types?: string[] | undefined;
|
|
16215
|
-
token_endpoint_auth_method?: "
|
|
16241
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
16216
16242
|
jwks_uri?: string | undefined;
|
|
16217
16243
|
jwks?: Record<string, unknown> | undefined;
|
|
16218
16244
|
software_id?: string | undefined;
|
|
@@ -16558,19 +16584,19 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16558
16584
|
email: string;
|
|
16559
16585
|
send: "code" | "link";
|
|
16560
16586
|
authParams: {
|
|
16587
|
+
username?: string | undefined;
|
|
16561
16588
|
state?: string | undefined;
|
|
16589
|
+
audience?: string | undefined;
|
|
16590
|
+
scope?: string | undefined;
|
|
16562
16591
|
response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
|
|
16563
16592
|
response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
|
|
16564
|
-
scope?: string | undefined;
|
|
16565
|
-
username?: string | undefined;
|
|
16566
|
-
audience?: string | undefined;
|
|
16567
|
-
prompt?: string | undefined;
|
|
16568
|
-
code_challenge?: string | undefined;
|
|
16569
|
-
code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
|
|
16570
|
-
redirect_uri?: string | undefined;
|
|
16571
|
-
nonce?: string | undefined;
|
|
16572
16593
|
act_as?: string | undefined;
|
|
16594
|
+
redirect_uri?: string | undefined;
|
|
16573
16595
|
organization?: string | undefined;
|
|
16596
|
+
nonce?: string | undefined;
|
|
16597
|
+
prompt?: string | undefined;
|
|
16598
|
+
code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
|
|
16599
|
+
code_challenge?: string | undefined;
|
|
16574
16600
|
ui_locales?: string | undefined;
|
|
16575
16601
|
max_age?: number | undefined;
|
|
16576
16602
|
acr_values?: string | undefined;
|
|
@@ -16594,19 +16620,19 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16594
16620
|
phone_number: string;
|
|
16595
16621
|
send: "code" | "link";
|
|
16596
16622
|
authParams: {
|
|
16623
|
+
username?: string | undefined;
|
|
16597
16624
|
state?: string | undefined;
|
|
16625
|
+
audience?: string | undefined;
|
|
16626
|
+
scope?: string | undefined;
|
|
16598
16627
|
response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
|
|
16599
16628
|
response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
|
|
16600
|
-
scope?: string | undefined;
|
|
16601
|
-
username?: string | undefined;
|
|
16602
|
-
audience?: string | undefined;
|
|
16603
|
-
prompt?: string | undefined;
|
|
16604
|
-
code_challenge?: string | undefined;
|
|
16605
|
-
code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
|
|
16606
|
-
redirect_uri?: string | undefined;
|
|
16607
|
-
nonce?: string | undefined;
|
|
16608
16629
|
act_as?: string | undefined;
|
|
16630
|
+
redirect_uri?: string | undefined;
|
|
16609
16631
|
organization?: string | undefined;
|
|
16632
|
+
nonce?: string | undefined;
|
|
16633
|
+
prompt?: string | undefined;
|
|
16634
|
+
code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
|
|
16635
|
+
code_challenge?: string | undefined;
|
|
16610
16636
|
ui_locales?: string | undefined;
|
|
16611
16637
|
max_age?: number | undefined;
|
|
16612
16638
|
acr_values?: string | undefined;
|
|
@@ -18024,7 +18050,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18024
18050
|
} & {
|
|
18025
18051
|
form: {
|
|
18026
18052
|
username: string;
|
|
18027
|
-
login_selection?: "
|
|
18053
|
+
login_selection?: "password" | "code" | undefined;
|
|
18028
18054
|
};
|
|
18029
18055
|
};
|
|
18030
18056
|
output: {};
|
|
@@ -18038,7 +18064,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18038
18064
|
} & {
|
|
18039
18065
|
form: {
|
|
18040
18066
|
username: string;
|
|
18041
|
-
login_selection?: "
|
|
18067
|
+
login_selection?: "password" | "code" | undefined;
|
|
18042
18068
|
};
|
|
18043
18069
|
};
|
|
18044
18070
|
output: {};
|
|
@@ -18403,7 +18429,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18403
18429
|
$get: {
|
|
18404
18430
|
input: {
|
|
18405
18431
|
param: {
|
|
18406
|
-
screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "
|
|
18432
|
+
screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "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";
|
|
18407
18433
|
};
|
|
18408
18434
|
} & {
|
|
18409
18435
|
query: {
|
|
@@ -18419,7 +18445,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18419
18445
|
} | {
|
|
18420
18446
|
input: {
|
|
18421
18447
|
param: {
|
|
18422
|
-
screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "
|
|
18448
|
+
screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "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";
|
|
18423
18449
|
};
|
|
18424
18450
|
} & {
|
|
18425
18451
|
query: {
|
|
@@ -18435,7 +18461,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18435
18461
|
} | {
|
|
18436
18462
|
input: {
|
|
18437
18463
|
param: {
|
|
18438
|
-
screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "
|
|
18464
|
+
screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "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";
|
|
18439
18465
|
};
|
|
18440
18466
|
} & {
|
|
18441
18467
|
query: {
|
|
@@ -18455,7 +18481,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18455
18481
|
$post: {
|
|
18456
18482
|
input: {
|
|
18457
18483
|
param: {
|
|
18458
|
-
screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "
|
|
18484
|
+
screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "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";
|
|
18459
18485
|
};
|
|
18460
18486
|
} & {
|
|
18461
18487
|
query: {
|
|
@@ -18473,7 +18499,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18473
18499
|
} | {
|
|
18474
18500
|
input: {
|
|
18475
18501
|
param: {
|
|
18476
|
-
screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "
|
|
18502
|
+
screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "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";
|
|
18477
18503
|
};
|
|
18478
18504
|
} & {
|
|
18479
18505
|
query: {
|
|
@@ -18491,7 +18517,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18491
18517
|
} | {
|
|
18492
18518
|
input: {
|
|
18493
18519
|
param: {
|
|
18494
|
-
screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "
|
|
18520
|
+
screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "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";
|
|
18495
18521
|
};
|
|
18496
18522
|
} & {
|
|
18497
18523
|
query: {
|