authhero 5.16.0 → 5.17.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.
Files changed (39) hide show
  1. package/dist/authhero.cjs +70 -70
  2. package/dist/authhero.d.ts +185 -135
  3. package/dist/authhero.mjs +4273 -4234
  4. package/dist/stats.html +1 -1
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +3 -3
  7. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  8. package/dist/types/index.d.ts +110 -109
  9. package/dist/types/middlewares/authentication.d.ts +17 -0
  10. package/dist/types/routes/auth-api/authorize.d.ts +12 -12
  11. package/dist/types/routes/auth-api/index.d.ts +58 -58
  12. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  13. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  14. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  15. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  16. package/dist/types/routes/auth-api/token.d.ts +21 -21
  17. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  18. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  19. package/dist/types/routes/management-api/branding.d.ts +8 -8
  20. package/dist/types/routes/management-api/clients.d.ts +7 -7
  21. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  22. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  23. package/dist/types/routes/management-api/index.d.ts +33 -33
  24. package/dist/types/routes/management-api/logs.d.ts +3 -3
  25. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  26. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  27. package/dist/types/routes/management-api/themes.d.ts +3 -3
  28. package/dist/types/routes/management-api/users.d.ts +2 -2
  29. package/dist/types/routes/universal-login/common.d.ts +6 -6
  30. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  31. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  32. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  33. package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
  34. package/dist/types/routes/universal-login/index.d.ts +8 -8
  35. package/dist/types/routes/universal-login/u2-index.d.ts +10 -10
  36. package/dist/types/routes/universal-login/u2-routes.d.ts +10 -10
  37. package/dist/types/types/AuthHeroConfig.d.ts +33 -0
  38. package/dist/types/types/Variables.d.ts +1 -0
  39. package/package.json +3 -3
@@ -8,7 +8,7 @@ import { z, OpenAPIHono } from '@hono/zod-openapi';
8
8
  import { CountryCode } from 'libphonenumber-js';
9
9
  import { SamlSigner } from '@authhero/saml/core';
10
10
  export { HttpSamlSigner, SamlSigner } from '@authhero/saml/core';
11
- import { Context, Handler, Next, MiddlewareHandler } from 'hono';
11
+ import { Context, Next, Handler, MiddlewareHandler } from 'hono';
12
12
  import * as _authhero_proxy from '@authhero/proxy';
13
13
  import { FC, PropsWithChildren, JSXNode } from 'hono/jsx';
14
14
  import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
@@ -39,6 +39,7 @@ type Variables = {
39
39
  org_name?: string;
40
40
  org_id?: string;
41
41
  scope?: string;
42
+ aud?: string | string[];
42
43
  };
43
44
  organization_id?: string;
44
45
  org_name?: string;
@@ -768,6 +769,47 @@ type Hooks = {
768
769
  onFetchUserInfo?: OnFetchUserInfo;
769
770
  };
770
771
 
772
+ /**
773
+ * Management API audience for cross-tenant operations.
774
+ * Used when managing tenants from the main tenant with org-scoped tokens.
775
+ */
776
+ declare const MANAGEMENT_API_AUDIENCE = "urn:authhero:management";
777
+ /**
778
+ * This registeres the authentication middleware. As it needs to read the OpenAPI definition, it needs to have a reference to the app.
779
+ *
780
+ * `requireManagementAudience` enables the defense-in-depth check that the
781
+ * token's `aud` includes the management API audience. It must be enabled
782
+ * for the management API and left off for everything else (the `/userinfo`
783
+ * endpoint, for example, takes any access token issued by this tenant).
784
+ *
785
+ * `relaxManagementAudience` downgrades that audience check from a hard
786
+ * rejection to a `console.warn`, letting tokens issued for other audiences
787
+ * still pass. TRANSITIONAL: use only while migrating clients to request
788
+ * the management audience; flip back off once warnings stop appearing.
789
+ *
790
+ * `additionalManagementAudiences` extends the set of accepted audiences
791
+ * beyond the built-in `urn:authhero:management`. The resolver receives the
792
+ * token's `tenant_id` and returns the list of audiences accepted for that
793
+ * token, so a per-tenant identifier (e.g.
794
+ * `https://${tenant_id}.token.example.com/v2/api/`) can be constructed at
795
+ * request time alongside any global legacy identifiers.
796
+ */
797
+ type ManagementAudienceResolver = (params: {
798
+ tenant_id?: string;
799
+ }) => string[] | Promise<string[]>;
800
+ interface AuthMiddlewareOptions {
801
+ requireManagementAudience?: boolean;
802
+ relaxManagementAudience?: boolean;
803
+ additionalManagementAudiences?: ManagementAudienceResolver;
804
+ }
805
+ declare function createAuthMiddleware(app: OpenAPIHono<{
806
+ Bindings: Bindings;
807
+ Variables: Variables;
808
+ }>, options?: AuthMiddlewareOptions): (ctx: Context<{
809
+ Bindings: Bindings;
810
+ Variables: any;
811
+ }>, next: Next) => Promise<void>;
812
+
771
813
  /**
772
814
  * Parameters passed to a custom webhook invoker function.
773
815
  */
@@ -1190,6 +1232,38 @@ interface AuthHeroConfig {
1190
1232
  * @default "control-plane"
1191
1233
  */
1192
1234
  signingKeyMode?: SigningKeyModeOption;
1235
+ /**
1236
+ * Relax the management API audience check from a hard 403 to a
1237
+ * `console.warn`. Tokens issued for any other audience will still be
1238
+ * accepted as long as they carry a matching scope/permission string.
1239
+ *
1240
+ * TRANSITIONAL: enable only while migrating clients to request the
1241
+ * `urn:authhero:management` audience. Watch the warn logs to identify
1242
+ * the remaining offenders, then flip this back off — the audience check
1243
+ * is a defense-in-depth control against tokens minted with
1244
+ * attacker-chosen scopes for an unregistered audience.
1245
+ *
1246
+ * @default false
1247
+ */
1248
+ relaxManagementAudience?: boolean;
1249
+ /**
1250
+ * Resolver returning the list of audiences accepted by the management
1251
+ * API audience check **in addition to** the built-in
1252
+ * `urn:authhero:management`. The token's `tenant_id` is passed in, so a
1253
+ * per-tenant identifier can be constructed at request time alongside any
1254
+ * global legacy identifiers.
1255
+ *
1256
+ * The default audience is always accepted; the resolver is purely additive.
1257
+ *
1258
+ * @example
1259
+ * ```ts
1260
+ * additionalManagementAudiences: ({ tenant_id }) => [
1261
+ * "https://token.example.com/v2/api/",
1262
+ * `https://${tenant_id}.token.example.com/v2/api/`,
1263
+ * ];
1264
+ * ```
1265
+ */
1266
+ additionalManagementAudiences?: ManagementAudienceResolver;
1193
1267
  }
1194
1268
 
1195
1269
  type UserInfo = {
@@ -2113,30 +2187,6 @@ interface SeedResult {
2113
2187
  */
2114
2188
  declare function seed(adapters: DataAdapters, options: SeedOptions): Promise<SeedResult>;
2115
2189
 
2116
- /**
2117
- * Management API audience for cross-tenant operations.
2118
- * Used when managing tenants from the main tenant with org-scoped tokens.
2119
- */
2120
- declare const MANAGEMENT_API_AUDIENCE = "urn:authhero:management";
2121
- /**
2122
- * This registeres the authentication middleware. As it needs to read the OpenAPI definition, it needs to have a reference to the app.
2123
- *
2124
- * `requireManagementAudience` enables the defense-in-depth check that the
2125
- * token's `aud` includes the management API audience. It must be enabled
2126
- * for the management API and left off for everything else (the `/userinfo`
2127
- * endpoint, for example, takes any access token issued by this tenant).
2128
- */
2129
- interface AuthMiddlewareOptions {
2130
- requireManagementAudience?: boolean;
2131
- }
2132
- declare function createAuthMiddleware(app: OpenAPIHono<{
2133
- Bindings: Bindings;
2134
- Variables: Variables;
2135
- }>, options?: AuthMiddlewareOptions): (ctx: Context<{
2136
- Bindings: Bindings;
2137
- Variables: any;
2138
- }>, next: Next) => Promise<void>;
2139
-
2140
2190
  /**
2141
2191
  * Sets the tenant id in the context based on the url and headers
2142
2192
  * @param ctx
@@ -2465,7 +2515,7 @@ declare function init(config: AuthHeroConfig): {
2465
2515
  };
2466
2516
  } & {
2467
2517
  json: {
2468
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
2518
+ type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
2469
2519
  phone_number?: string | undefined;
2470
2520
  totp_secret?: string | undefined;
2471
2521
  credential_id?: string | undefined;
@@ -2605,7 +2655,7 @@ declare function init(config: AuthHeroConfig): {
2605
2655
  };
2606
2656
  };
2607
2657
  output: {
2608
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2658
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
2609
2659
  enabled: boolean;
2610
2660
  trial_expired?: boolean | undefined;
2611
2661
  }[];
@@ -2760,7 +2810,7 @@ declare function init(config: AuthHeroConfig): {
2760
2810
  $get: {
2761
2811
  input: {
2762
2812
  param: {
2763
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2813
+ factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
2764
2814
  };
2765
2815
  } & {
2766
2816
  header: {
@@ -2768,7 +2818,7 @@ declare function init(config: AuthHeroConfig): {
2768
2818
  };
2769
2819
  };
2770
2820
  output: {
2771
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2821
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
2772
2822
  enabled: boolean;
2773
2823
  trial_expired?: boolean | undefined;
2774
2824
  };
@@ -2781,7 +2831,7 @@ declare function init(config: AuthHeroConfig): {
2781
2831
  $put: {
2782
2832
  input: {
2783
2833
  param: {
2784
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2834
+ factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
2785
2835
  };
2786
2836
  } & {
2787
2837
  header: {
@@ -2793,7 +2843,7 @@ declare function init(config: AuthHeroConfig): {
2793
2843
  };
2794
2844
  };
2795
2845
  output: {
2796
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2846
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
2797
2847
  enabled: boolean;
2798
2848
  trial_expired?: boolean | undefined;
2799
2849
  };
@@ -3539,9 +3589,9 @@ declare function init(config: AuthHeroConfig): {
3539
3589
  email?: string | undefined;
3540
3590
  };
3541
3591
  id?: string | undefined;
3542
- connection_id?: string | undefined;
3543
3592
  app_metadata?: Record<string, any> | undefined;
3544
3593
  user_metadata?: Record<string, any> | undefined;
3594
+ connection_id?: string | undefined;
3545
3595
  roles?: string[] | undefined;
3546
3596
  ttl_sec?: number | undefined;
3547
3597
  send_invitation_email?: boolean | undefined;
@@ -9029,7 +9079,7 @@ declare function init(config: AuthHeroConfig): {
9029
9079
  };
9030
9080
  };
9031
9081
  output: {
9032
- 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";
9082
+ prompt: "signup" | "status" | "mfa" | "organizations" | "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";
9033
9083
  language: string;
9034
9084
  }[];
9035
9085
  outputFormat: "json";
@@ -9067,7 +9117,7 @@ declare function init(config: AuthHeroConfig): {
9067
9117
  $get: {
9068
9118
  input: {
9069
9119
  param: {
9070
- 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";
9120
+ prompt: "signup" | "status" | "mfa" | "organizations" | "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";
9071
9121
  language: string;
9072
9122
  };
9073
9123
  } & {
@@ -9089,7 +9139,7 @@ declare function init(config: AuthHeroConfig): {
9089
9139
  $put: {
9090
9140
  input: {
9091
9141
  param: {
9092
- 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";
9142
+ prompt: "signup" | "status" | "mfa" | "organizations" | "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";
9093
9143
  language: string;
9094
9144
  };
9095
9145
  } & {
@@ -9113,7 +9163,7 @@ declare function init(config: AuthHeroConfig): {
9113
9163
  $delete: {
9114
9164
  input: {
9115
9165
  param: {
9116
- 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";
9166
+ prompt: "signup" | "status" | "mfa" | "organizations" | "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";
9117
9167
  language: string;
9118
9168
  };
9119
9169
  } & {
@@ -10554,7 +10604,7 @@ declare function init(config: AuthHeroConfig): {
10554
10604
  log_type: string;
10555
10605
  category: "user_action" | "admin_action" | "system" | "api";
10556
10606
  actor: {
10557
- type: "client_credentials" | "user" | "system" | "admin" | "api_key";
10607
+ type: "user" | "client_credentials" | "system" | "admin" | "api_key";
10558
10608
  id?: string | undefined;
10559
10609
  email?: string | undefined;
10560
10610
  org_id?: string | undefined;
@@ -11202,7 +11252,7 @@ declare function init(config: AuthHeroConfig): {
11202
11252
  };
11203
11253
  };
11204
11254
  output: {
11205
- type: "fc" | "fd" | "i" | "fn" | "sapi" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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";
11255
+ type: "fn" | "i" | "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";
11206
11256
  date: string;
11207
11257
  isMobile: boolean;
11208
11258
  log_id: string;
@@ -11241,7 +11291,7 @@ declare function init(config: AuthHeroConfig): {
11241
11291
  limit: number;
11242
11292
  length: number;
11243
11293
  logs: {
11244
- type: "fc" | "fd" | "i" | "fn" | "sapi" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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";
11294
+ type: "fn" | "i" | "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";
11245
11295
  date: string;
11246
11296
  isMobile: boolean;
11247
11297
  log_id: string;
@@ -11295,7 +11345,7 @@ declare function init(config: AuthHeroConfig): {
11295
11345
  };
11296
11346
  };
11297
11347
  output: {
11298
- type: "fc" | "fd" | "i" | "fn" | "sapi" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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";
11348
+ type: "fn" | "i" | "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";
11299
11349
  date: string;
11300
11350
  isMobile: boolean;
11301
11351
  log_id: string;
@@ -11609,7 +11659,7 @@ declare function init(config: AuthHeroConfig): {
11609
11659
  addons?: {
11610
11660
  [x: string]: any;
11611
11661
  } | undefined;
11612
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11662
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
11613
11663
  client_metadata?: {
11614
11664
  [x: string]: string;
11615
11665
  } | undefined;
@@ -11705,7 +11755,7 @@ declare function init(config: AuthHeroConfig): {
11705
11755
  addons?: {
11706
11756
  [x: string]: any;
11707
11757
  } | undefined;
11708
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11758
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
11709
11759
  client_metadata?: {
11710
11760
  [x: string]: string;
11711
11761
  } | undefined;
@@ -11816,7 +11866,7 @@ declare function init(config: AuthHeroConfig): {
11816
11866
  addons?: {
11817
11867
  [x: string]: any;
11818
11868
  } | undefined;
11819
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11869
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
11820
11870
  client_metadata?: {
11821
11871
  [x: string]: string;
11822
11872
  } | undefined;
@@ -11926,7 +11976,7 @@ declare function init(config: AuthHeroConfig): {
11926
11976
  custom_login_page_preview?: string | undefined;
11927
11977
  form_template?: string | undefined;
11928
11978
  addons?: Record<string, any> | undefined;
11929
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11979
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
11930
11980
  client_metadata?: Record<string, string> | undefined;
11931
11981
  hide_sign_up_disabled_error?: boolean | undefined;
11932
11982
  mobile?: Record<string, any> | undefined;
@@ -12006,7 +12056,7 @@ declare function init(config: AuthHeroConfig): {
12006
12056
  addons?: {
12007
12057
  [x: string]: any;
12008
12058
  } | undefined;
12009
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12059
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12010
12060
  client_metadata?: {
12011
12061
  [x: string]: string;
12012
12062
  } | undefined;
@@ -12095,7 +12145,7 @@ declare function init(config: AuthHeroConfig): {
12095
12145
  custom_login_page_preview?: string | undefined;
12096
12146
  form_template?: string | undefined;
12097
12147
  addons?: Record<string, any> | undefined;
12098
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12148
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12099
12149
  client_metadata?: Record<string, string> | undefined;
12100
12150
  hide_sign_up_disabled_error?: boolean | undefined;
12101
12151
  mobile?: Record<string, any> | undefined;
@@ -12175,7 +12225,7 @@ declare function init(config: AuthHeroConfig): {
12175
12225
  addons?: {
12176
12226
  [x: string]: any;
12177
12227
  } | undefined;
12178
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12228
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12179
12229
  client_metadata?: {
12180
12230
  [x: string]: string;
12181
12231
  } | undefined;
@@ -13439,7 +13489,7 @@ declare function init(config: AuthHeroConfig): {
13439
13489
  };
13440
13490
  };
13441
13491
  output: {
13442
- type: "fc" | "fd" | "i" | "fn" | "sapi" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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";
13492
+ type: "fn" | "i" | "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";
13443
13493
  date: string;
13444
13494
  isMobile: boolean;
13445
13495
  log_id: string;
@@ -13478,7 +13528,7 @@ declare function init(config: AuthHeroConfig): {
13478
13528
  limit: number;
13479
13529
  length: number;
13480
13530
  logs: {
13481
- type: "fc" | "fd" | "i" | "fn" | "sapi" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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";
13531
+ type: "fn" | "i" | "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";
13482
13532
  date: string;
13483
13533
  isMobile: boolean;
13484
13534
  log_id: string;
@@ -14549,7 +14599,7 @@ declare function init(config: AuthHeroConfig): {
14549
14599
  base_focus_color: string;
14550
14600
  base_hover_color: string;
14551
14601
  body_text: string;
14552
- captcha_widget_theme: "auto" | "light" | "dark";
14602
+ captcha_widget_theme: "dark" | "light" | "auto";
14553
14603
  error: string;
14554
14604
  header: string;
14555
14605
  icons: string;
@@ -14639,7 +14689,7 @@ declare function init(config: AuthHeroConfig): {
14639
14689
  base_focus_color: string;
14640
14690
  base_hover_color: string;
14641
14691
  body_text: string;
14642
- captcha_widget_theme: "auto" | "light" | "dark";
14692
+ captcha_widget_theme: "dark" | "light" | "auto";
14643
14693
  error: string;
14644
14694
  header: string;
14645
14695
  icons: string;
@@ -14718,7 +14768,7 @@ declare function init(config: AuthHeroConfig): {
14718
14768
  base_focus_color: string;
14719
14769
  base_hover_color: string;
14720
14770
  body_text: string;
14721
- captcha_widget_theme: "auto" | "light" | "dark";
14771
+ captcha_widget_theme: "dark" | "light" | "auto";
14722
14772
  error: string;
14723
14773
  header: string;
14724
14774
  icons: string;
@@ -14808,7 +14858,7 @@ declare function init(config: AuthHeroConfig): {
14808
14858
  font?: {
14809
14859
  url: string;
14810
14860
  } | undefined;
14811
- dark_mode?: "auto" | "light" | "dark" | undefined;
14861
+ dark_mode?: "dark" | "light" | "auto" | undefined;
14812
14862
  };
14813
14863
  outputFormat: "json";
14814
14864
  status: 200;
@@ -14838,7 +14888,7 @@ declare function init(config: AuthHeroConfig): {
14838
14888
  font?: {
14839
14889
  url: string;
14840
14890
  } | undefined;
14841
- dark_mode?: "auto" | "light" | "dark" | undefined;
14891
+ dark_mode?: "dark" | "light" | "auto" | undefined;
14842
14892
  };
14843
14893
  };
14844
14894
  output: {
@@ -14857,7 +14907,7 @@ declare function init(config: AuthHeroConfig): {
14857
14907
  font?: {
14858
14908
  url: string;
14859
14909
  } | undefined;
14860
- dark_mode?: "auto" | "light" | "dark" | undefined;
14910
+ dark_mode?: "dark" | "light" | "auto" | undefined;
14861
14911
  };
14862
14912
  outputFormat: "json";
14863
14913
  status: 200;
@@ -14892,7 +14942,7 @@ declare function init(config: AuthHeroConfig): {
14892
14942
  };
14893
14943
  output: {};
14894
14944
  outputFormat: string;
14895
- status: 400;
14945
+ status: 204;
14896
14946
  } | {
14897
14947
  input: {
14898
14948
  header: {
@@ -14905,7 +14955,7 @@ declare function init(config: AuthHeroConfig): {
14905
14955
  };
14906
14956
  output: {};
14907
14957
  outputFormat: string;
14908
- status: 204;
14958
+ status: 400;
14909
14959
  };
14910
14960
  };
14911
14961
  } & {
@@ -15061,7 +15111,7 @@ declare function init(config: AuthHeroConfig): {
15061
15111
  output: {
15062
15112
  id: string;
15063
15113
  trigger_id: string;
15064
- status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
15114
+ status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
15065
15115
  results: {
15066
15116
  action_name: string;
15067
15117
  error: {
@@ -16073,7 +16123,7 @@ declare function init(config: AuthHeroConfig): {
16073
16123
  scope?: string | undefined;
16074
16124
  grant_types?: string[] | undefined;
16075
16125
  response_types?: string[] | undefined;
16076
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
16126
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
16077
16127
  jwks_uri?: string | undefined;
16078
16128
  jwks?: Record<string, unknown> | undefined;
16079
16129
  software_id?: string | undefined;
@@ -16162,7 +16212,7 @@ declare function init(config: AuthHeroConfig): {
16162
16212
  scope?: string | undefined;
16163
16213
  grant_types?: string[] | undefined;
16164
16214
  response_types?: string[] | undefined;
16165
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
16215
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
16166
16216
  jwks_uri?: string | undefined;
16167
16217
  jwks?: Record<string, unknown> | undefined;
16168
16218
  software_id?: string | undefined;
@@ -16342,11 +16392,17 @@ declare function init(config: AuthHeroConfig): {
16342
16392
  request_uri?: string | undefined;
16343
16393
  };
16344
16394
  };
16345
- output: {
16346
- message: string;
16395
+ output: string | {
16396
+ access_token: string;
16397
+ token_type: string;
16398
+ expires_in: number;
16399
+ id_token?: string | undefined;
16400
+ scope?: string | undefined;
16401
+ state?: string | undefined;
16402
+ refresh_token?: string | undefined;
16347
16403
  };
16348
16404
  outputFormat: "json";
16349
- status: 400;
16405
+ status: 200;
16350
16406
  } | {
16351
16407
  input: {
16352
16408
  query: {
@@ -16378,17 +16434,11 @@ declare function init(config: AuthHeroConfig): {
16378
16434
  request_uri?: string | undefined;
16379
16435
  };
16380
16436
  };
16381
- output: string | {
16382
- access_token: string;
16383
- token_type: string;
16384
- expires_in: number;
16385
- id_token?: string | undefined;
16386
- scope?: string | undefined;
16387
- state?: string | undefined;
16388
- refresh_token?: string | undefined;
16437
+ output: {
16438
+ message: string;
16389
16439
  };
16390
16440
  outputFormat: "json";
16391
- status: 200;
16441
+ status: 400;
16392
16442
  } | {
16393
16443
  input: {
16394
16444
  query: {
@@ -16508,19 +16558,19 @@ declare function init(config: AuthHeroConfig): {
16508
16558
  email: string;
16509
16559
  send: "code" | "link";
16510
16560
  authParams: {
16511
- audience?: string | undefined;
16561
+ state?: string | undefined;
16512
16562
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
16513
16563
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
16514
16564
  scope?: string | undefined;
16515
16565
  username?: string | undefined;
16516
- state?: string | undefined;
16517
- act_as?: string | undefined;
16518
- redirect_uri?: string | undefined;
16519
- organization?: string | undefined;
16520
- nonce?: string | undefined;
16566
+ audience?: string | undefined;
16521
16567
  prompt?: string | undefined;
16522
- code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16523
16568
  code_challenge?: string | undefined;
16569
+ code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16570
+ redirect_uri?: string | undefined;
16571
+ nonce?: string | undefined;
16572
+ act_as?: string | undefined;
16573
+ organization?: string | undefined;
16524
16574
  ui_locales?: string | undefined;
16525
16575
  max_age?: number | undefined;
16526
16576
  acr_values?: string | undefined;
@@ -16544,19 +16594,19 @@ declare function init(config: AuthHeroConfig): {
16544
16594
  phone_number: string;
16545
16595
  send: "code" | "link";
16546
16596
  authParams: {
16547
- audience?: string | undefined;
16597
+ state?: string | undefined;
16548
16598
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
16549
16599
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
16550
16600
  scope?: string | undefined;
16551
16601
  username?: string | undefined;
16552
- state?: string | undefined;
16553
- act_as?: string | undefined;
16554
- redirect_uri?: string | undefined;
16555
- organization?: string | undefined;
16556
- nonce?: string | undefined;
16602
+ audience?: string | undefined;
16557
16603
  prompt?: string | undefined;
16558
- code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16559
16604
  code_challenge?: string | undefined;
16605
+ code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16606
+ redirect_uri?: string | undefined;
16607
+ nonce?: string | undefined;
16608
+ act_as?: string | undefined;
16609
+ organization?: string | undefined;
16560
16610
  ui_locales?: string | undefined;
16561
16611
  max_age?: number | undefined;
16562
16612
  acr_values?: string | undefined;
@@ -16688,14 +16738,14 @@ declare function init(config: AuthHeroConfig): {
16688
16738
  input: {
16689
16739
  form: {
16690
16740
  token: string;
16691
- token_type_hint?: "refresh_token" | "access_token" | undefined;
16741
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
16692
16742
  client_id?: string | undefined;
16693
16743
  client_secret?: string | undefined;
16694
16744
  };
16695
16745
  } & {
16696
16746
  json: {
16697
16747
  token: string;
16698
- token_type_hint?: "refresh_token" | "access_token" | undefined;
16748
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
16699
16749
  client_id?: string | undefined;
16700
16750
  client_secret?: string | undefined;
16701
16751
  };
@@ -16707,14 +16757,14 @@ declare function init(config: AuthHeroConfig): {
16707
16757
  input: {
16708
16758
  form: {
16709
16759
  token: string;
16710
- token_type_hint?: "refresh_token" | "access_token" | undefined;
16760
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
16711
16761
  client_id?: string | undefined;
16712
16762
  client_secret?: string | undefined;
16713
16763
  };
16714
16764
  } & {
16715
16765
  json: {
16716
16766
  token: string;
16717
- token_type_hint?: "refresh_token" | "access_token" | undefined;
16767
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
16718
16768
  client_id?: string | undefined;
16719
16769
  client_secret?: string | undefined;
16720
16770
  };
@@ -16729,14 +16779,14 @@ declare function init(config: AuthHeroConfig): {
16729
16779
  input: {
16730
16780
  form: {
16731
16781
  token: string;
16732
- token_type_hint?: "refresh_token" | "access_token" | undefined;
16782
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
16733
16783
  client_id?: string | undefined;
16734
16784
  client_secret?: string | undefined;
16735
16785
  };
16736
16786
  } & {
16737
16787
  json: {
16738
16788
  token: string;
16739
- token_type_hint?: "refresh_token" | "access_token" | undefined;
16789
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
16740
16790
  client_id?: string | undefined;
16741
16791
  client_secret?: string | undefined;
16742
16792
  };
@@ -16786,7 +16836,7 @@ declare function init(config: AuthHeroConfig): {
16786
16836
  client_id: string;
16787
16837
  username: string;
16788
16838
  otp: string;
16789
- realm: "sms" | "email";
16839
+ realm: "email" | "sms";
16790
16840
  };
16791
16841
  } & {
16792
16842
  json: {
@@ -16822,7 +16872,7 @@ declare function init(config: AuthHeroConfig): {
16822
16872
  client_id: string;
16823
16873
  username: string;
16824
16874
  otp: string;
16825
- realm: "sms" | "email";
16875
+ realm: "email" | "sms";
16826
16876
  };
16827
16877
  };
16828
16878
  output: {};
@@ -16863,7 +16913,7 @@ declare function init(config: AuthHeroConfig): {
16863
16913
  client_id: string;
16864
16914
  username: string;
16865
16915
  otp: string;
16866
- realm: "sms" | "email";
16916
+ realm: "email" | "sms";
16867
16917
  };
16868
16918
  } & {
16869
16919
  json: {
@@ -16899,15 +16949,20 @@ declare function init(config: AuthHeroConfig): {
16899
16949
  client_id: string;
16900
16950
  username: string;
16901
16951
  otp: string;
16902
- realm: "sms" | "email";
16952
+ realm: "email" | "sms";
16903
16953
  };
16904
16954
  };
16905
16955
  output: {
16906
- error: string;
16907
- error_description?: string | undefined;
16956
+ access_token: string;
16957
+ token_type: string;
16958
+ expires_in: number;
16959
+ id_token?: string | undefined;
16960
+ scope?: string | undefined;
16961
+ state?: string | undefined;
16962
+ refresh_token?: string | undefined;
16908
16963
  };
16909
16964
  outputFormat: "json";
16910
- status: 400;
16965
+ status: 200;
16911
16966
  } | {
16912
16967
  input: {
16913
16968
  form: {
@@ -16943,7 +16998,7 @@ declare function init(config: AuthHeroConfig): {
16943
16998
  client_id: string;
16944
16999
  username: string;
16945
17000
  otp: string;
16946
- realm: "sms" | "email";
17001
+ realm: "email" | "sms";
16947
17002
  };
16948
17003
  } & {
16949
17004
  json: {
@@ -16979,20 +17034,15 @@ declare function init(config: AuthHeroConfig): {
16979
17034
  client_id: string;
16980
17035
  username: string;
16981
17036
  otp: string;
16982
- realm: "sms" | "email";
17037
+ realm: "email" | "sms";
16983
17038
  };
16984
17039
  };
16985
17040
  output: {
16986
- access_token: string;
16987
- token_type: string;
16988
- expires_in: number;
16989
- id_token?: string | undefined;
16990
- scope?: string | undefined;
16991
- state?: string | undefined;
16992
- refresh_token?: string | undefined;
17041
+ error: string;
17042
+ error_description?: string | undefined;
16993
17043
  };
16994
17044
  outputFormat: "json";
16995
- status: 200;
17045
+ status: 400;
16996
17046
  } | {
16997
17047
  input: {
16998
17048
  form: {
@@ -17028,7 +17078,7 @@ declare function init(config: AuthHeroConfig): {
17028
17078
  client_id: string;
17029
17079
  username: string;
17030
17080
  otp: string;
17031
- realm: "sms" | "email";
17081
+ realm: "email" | "sms";
17032
17082
  };
17033
17083
  } & {
17034
17084
  json: {
@@ -17064,7 +17114,7 @@ declare function init(config: AuthHeroConfig): {
17064
17114
  client_id: string;
17065
17115
  username: string;
17066
17116
  otp: string;
17067
- realm: "sms" | "email";
17117
+ realm: "email" | "sms";
17068
17118
  };
17069
17119
  };
17070
17120
  output: {
@@ -17108,7 +17158,7 @@ declare function init(config: AuthHeroConfig): {
17108
17158
  client_id: string;
17109
17159
  username: string;
17110
17160
  otp: string;
17111
- realm: "sms" | "email";
17161
+ realm: "email" | "sms";
17112
17162
  };
17113
17163
  } & {
17114
17164
  json: {
@@ -17144,7 +17194,7 @@ declare function init(config: AuthHeroConfig): {
17144
17194
  client_id: string;
17145
17195
  username: string;
17146
17196
  otp: string;
17147
- realm: "sms" | "email";
17197
+ realm: "email" | "sms";
17148
17198
  };
17149
17199
  };
17150
17200
  output: {
@@ -17351,7 +17401,7 @@ declare function init(config: AuthHeroConfig): {
17351
17401
  };
17352
17402
  output: {};
17353
17403
  outputFormat: string;
17354
- status: 400;
17404
+ status: 200;
17355
17405
  } | {
17356
17406
  input: {
17357
17407
  query: {
@@ -17365,7 +17415,7 @@ declare function init(config: AuthHeroConfig): {
17365
17415
  };
17366
17416
  output: {};
17367
17417
  outputFormat: string;
17368
- status: 200;
17418
+ status: 302;
17369
17419
  } | {
17370
17420
  input: {
17371
17421
  query: {
@@ -17379,7 +17429,7 @@ declare function init(config: AuthHeroConfig): {
17379
17429
  };
17380
17430
  output: {};
17381
17431
  outputFormat: string;
17382
- status: 302;
17432
+ status: 400;
17383
17433
  };
17384
17434
  };
17385
17435
  }, "/oidc/logout"> & hono_types.MergeSchemaPath<{
@@ -17486,7 +17536,7 @@ declare function init(config: AuthHeroConfig): {
17486
17536
  };
17487
17537
  output: {};
17488
17538
  outputFormat: string;
17489
- status: 400;
17539
+ status: 302;
17490
17540
  } | {
17491
17541
  input: {
17492
17542
  query: {
@@ -17495,7 +17545,7 @@ declare function init(config: AuthHeroConfig): {
17495
17545
  };
17496
17546
  output: {};
17497
17547
  outputFormat: string;
17498
- status: 302;
17548
+ status: 400;
17499
17549
  } | {
17500
17550
  input: {
17501
17551
  query: {
@@ -17585,7 +17635,7 @@ declare function init(config: AuthHeroConfig): {
17585
17635
  };
17586
17636
  output: {};
17587
17637
  outputFormat: string;
17588
- status: 400;
17638
+ status: 200;
17589
17639
  } | {
17590
17640
  input: {
17591
17641
  query: {
@@ -17594,7 +17644,7 @@ declare function init(config: AuthHeroConfig): {
17594
17644
  };
17595
17645
  output: {};
17596
17646
  outputFormat: string;
17597
- status: 200;
17647
+ status: 400;
17598
17648
  };
17599
17649
  };
17600
17650
  } & {
@@ -17624,7 +17674,7 @@ declare function init(config: AuthHeroConfig): {
17624
17674
  };
17625
17675
  output: {};
17626
17676
  outputFormat: string;
17627
- status: 400;
17677
+ status: 302;
17628
17678
  } | {
17629
17679
  input: {
17630
17680
  query: {
@@ -17637,7 +17687,7 @@ declare function init(config: AuthHeroConfig): {
17637
17687
  };
17638
17688
  output: {};
17639
17689
  outputFormat: string;
17640
- status: 302;
17690
+ status: 400;
17641
17691
  };
17642
17692
  };
17643
17693
  }, "/impersonate"> & hono_types.MergeSchemaPath<{
@@ -17979,7 +18029,7 @@ declare function init(config: AuthHeroConfig): {
17979
18029
  };
17980
18030
  output: {};
17981
18031
  outputFormat: string;
17982
- status: 400;
18032
+ status: 302;
17983
18033
  } | {
17984
18034
  input: {
17985
18035
  query: {
@@ -17993,7 +18043,7 @@ declare function init(config: AuthHeroConfig): {
17993
18043
  };
17994
18044
  output: {};
17995
18045
  outputFormat: string;
17996
- status: 302;
18046
+ status: 400;
17997
18047
  };
17998
18048
  };
17999
18049
  }, "/login/identifier"> & hono_types.MergeSchemaPath<{
@@ -18353,7 +18403,7 @@ declare function init(config: AuthHeroConfig): {
18353
18403
  $get: {
18354
18404
  input: {
18355
18405
  param: {
18356
- 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";
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" | "reset-password/code" | "reset-password/request" | "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";
18357
18407
  };
18358
18408
  } & {
18359
18409
  query: {
@@ -18369,7 +18419,7 @@ declare function init(config: AuthHeroConfig): {
18369
18419
  } | {
18370
18420
  input: {
18371
18421
  param: {
18372
- 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";
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" | "reset-password/code" | "reset-password/request" | "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";
18373
18423
  };
18374
18424
  } & {
18375
18425
  query: {
@@ -18381,11 +18431,11 @@ declare function init(config: AuthHeroConfig): {
18381
18431
  };
18382
18432
  output: {};
18383
18433
  outputFormat: string;
18384
- status: 400;
18434
+ status: 302;
18385
18435
  } | {
18386
18436
  input: {
18387
18437
  param: {
18388
- 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";
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" | "reset-password/code" | "reset-password/request" | "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";
18389
18439
  };
18390
18440
  } & {
18391
18441
  query: {
@@ -18397,7 +18447,7 @@ declare function init(config: AuthHeroConfig): {
18397
18447
  };
18398
18448
  output: {};
18399
18449
  outputFormat: string;
18400
- status: 302;
18450
+ status: 400;
18401
18451
  };
18402
18452
  };
18403
18453
  } & {
@@ -18405,7 +18455,7 @@ declare function init(config: AuthHeroConfig): {
18405
18455
  $post: {
18406
18456
  input: {
18407
18457
  param: {
18408
- 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";
18458
+ screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "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";
18409
18459
  };
18410
18460
  } & {
18411
18461
  query: {
@@ -18423,7 +18473,7 @@ declare function init(config: AuthHeroConfig): {
18423
18473
  } | {
18424
18474
  input: {
18425
18475
  param: {
18426
- 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";
18476
+ screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "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";
18427
18477
  };
18428
18478
  } & {
18429
18479
  query: {
@@ -18437,11 +18487,11 @@ declare function init(config: AuthHeroConfig): {
18437
18487
  };
18438
18488
  output: {};
18439
18489
  outputFormat: string;
18440
- status: 400;
18490
+ status: 302;
18441
18491
  } | {
18442
18492
  input: {
18443
18493
  param: {
18444
- 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";
18494
+ screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "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";
18445
18495
  };
18446
18496
  } & {
18447
18497
  query: {
@@ -18455,7 +18505,7 @@ declare function init(config: AuthHeroConfig): {
18455
18505
  };
18456
18506
  output: {};
18457
18507
  outputFormat: string;
18458
- status: 302;
18508
+ status: 400;
18459
18509
  };
18460
18510
  };
18461
18511
  }, "/"> & hono_types.MergeSchemaPath<{
@@ -18540,4 +18590,4 @@ declare function init(config: AuthHeroConfig): {
18540
18590
  };
18541
18591
 
18542
18592
  export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, createAuthMiddleware, createDefaultDestinations, createEncryptedDataAdapter, createInMemoryCache, decryptField, deepMergePatch, drainOutbox, encryptField, fetchAll, init, injectTailwindCSS, isEncrypted, loadEncryptionKey, mailgunCredentialsSchema, postmarkCredentialsSchema, index_d as preDefinedHooks, resendCredentialsSchema, runOutboxRelay, seed, tailwindCss, tenantMiddleware, waitUntil };
18543
- export type { AuthHeroConfig, CreateDefaultDestinationsConfig, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ResendCredentials, ResendEmailServiceOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams };
18593
+ export type { AuthHeroConfig, CreateDefaultDestinationsConfig, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ResendCredentials, ResendEmailServiceOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams };