authhero 9.40.0 → 9.42.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 (84) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/p-6774edd2.entry.js +1 -0
  4. package/dist/authhero.cjs +114 -111
  5. package/dist/authhero.d.ts +707 -431
  6. package/dist/authhero.mjs +16567 -12663
  7. package/dist/{mfa-BlaRHQgI.js → mfa-C8qBEQeH.js} +2 -2
  8. package/dist/{mfa-Ddp9JT1l.mjs → mfa-CVF4Wbdz.mjs} +106 -106
  9. package/dist/mfa-attempts-CzGjIGzD.js +395 -0
  10. package/dist/{mfa-attempts-YsmteBp0.mjs → mfa-attempts-sV0Xs59R.mjs} +5651 -5026
  11. package/dist/{passkey-enrollment-CLg7RteL.js → passkey-enrollment-CAb2zWEF.js} +1 -1
  12. package/dist/tsconfig.types.tsbuildinfo +1 -1
  13. package/dist/types/authentication-flows/mfa-attempts.d.ts +7 -0
  14. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  15. package/dist/types/generated/locale-types.d.ts +6 -0
  16. package/dist/types/helpers/client.d.ts +26 -0
  17. package/dist/types/helpers/login-migration.d.ts +56 -0
  18. package/dist/types/helpers/login-version.d.ts +18 -0
  19. package/dist/types/helpers/management-audience.d.ts +11 -0
  20. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  21. package/dist/types/helpers/saml-connection-options.d.ts +24 -0
  22. package/dist/types/helpers/saml-request-signature.d.ts +36 -0
  23. package/dist/types/hooks/codehooks.d.ts +45 -0
  24. package/dist/types/hooks/lifecycle-codehooks.d.ts +1 -1
  25. package/dist/types/index.d.ts +426 -207
  26. package/dist/types/routes/auth-api/authorize.d.ts +13 -13
  27. package/dist/types/routes/auth-api/callback.d.ts +42 -6
  28. package/dist/types/routes/auth-api/device.d.ts +13 -13
  29. package/dist/types/routes/auth-api/index.d.ts +103 -67
  30. package/dist/types/routes/auth-api/logout.d.ts +2 -2
  31. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  32. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  33. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  34. package/dist/types/routes/auth-api/token.d.ts +12 -12
  35. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  36. package/dist/types/routes/management-api/action-triggers.d.ts +25 -25
  37. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  38. package/dist/types/routes/management-api/branding.d.ts +3 -3
  39. package/dist/types/routes/management-api/clients.d.ts +30 -0
  40. package/dist/types/routes/management-api/connections.d.ts +91 -1
  41. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  42. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  43. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  44. package/dist/types/routes/management-api/forms.d.ts +152 -152
  45. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  46. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  47. package/dist/types/routes/management-api/hooks.d.ts +21 -21
  48. package/dist/types/routes/management-api/index.d.ts +233 -113
  49. package/dist/types/routes/management-api/keys.d.ts +16 -16
  50. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  51. package/dist/types/routes/management-api/logs.d.ts +4 -4
  52. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  53. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  54. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  55. package/dist/types/routes/management-api/roles.d.ts +1 -1
  56. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  57. package/dist/types/routes/management-api/self-service-profiles.d.ts +7 -7
  58. package/dist/types/routes/management-api/tenant-operations.d.ts +5 -5
  59. package/dist/types/routes/management-api/tenants.d.ts +13 -9
  60. package/dist/types/routes/management-api/users.d.ts +35 -35
  61. package/dist/types/routes/saml/index.d.ts +72 -9
  62. package/dist/types/routes/saml/samlp.d.ts +72 -9
  63. package/dist/types/routes/universal-login/common.d.ts +2 -0
  64. package/dist/types/routes/universal-login/continue.d.ts +4 -4
  65. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  66. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  67. package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
  68. package/dist/types/routes/universal-login/index.d.ts +8 -8
  69. package/dist/types/routes/universal-login/screens/login-otp.d.ts +79 -5
  70. package/dist/types/routes/universal-login/screens/magic-link-sent.d.ts +8 -1
  71. package/dist/types/routes/universal-login/u2-index.d.ts +9 -9
  72. package/dist/types/routes/universal-login/u2-routes.d.ts +8 -7
  73. package/dist/types/state-machines/login-session-data.d.ts +36 -1
  74. package/dist/types/state-machines/login-session.d.ts +17 -1
  75. package/dist/types/strategies/index.d.ts +2 -0
  76. package/dist/types/strategies/samlp.d.ts +58 -0
  77. package/dist/types/types/AuthHeroConfig.d.ts +15 -1
  78. package/dist/types/types/Bindings.d.ts +2 -1
  79. package/dist/types/types/Variables.d.ts +2 -0
  80. package/dist/types/utils/ssrf-fetch.d.ts +2 -0
  81. package/dist/types/variables.d.ts +7 -6
  82. package/package.json +9 -6
  83. package/dist/assets/u/widget/p-d0eb5acc.entry.js +0 -1
  84. package/dist/mfa-attempts-bPJnyu2c.js +0 -385
@@ -1,13 +1,13 @@
1
1
  import * as _authhero_adapter_interfaces from '@authhero/adapter-interfaces';
2
- import { DataAdapters, RequestAuth, LoginSession, SessionTransferProvenance, Connection, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, LinkCandidate, PreScreenPhase, PreScreenOperation, roleSchema, inviteSchema, TenantMemberRequest, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, ConnectionInsert, Tenant, CreateTenantParams, Action, ActionInsert, ActionUpdate, Hook, HookInsert, HookCode, HookCodeInsert, TenantOperationKind, TenantOperation, Rollout, CodeExecutor, ActionCodeGenerator, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, OutboxAdapter, AuditEvent, CodesAdapter, ActionExecutionsAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, AuditCategory, ProxyRoutesAdapter, CustomDomainsAdapter, TenantsDataAdapter, KeysAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
2
+ import { Connection, DataAdapters, RequestAuth, LoginSession, SessionTransferProvenance, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, LinkCandidate, PreScreenPhase, PreScreenOperation, roleSchema, inviteSchema, TenantMemberRequest, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, ConnectionInsert, Tenant, CreateTenantParams, Action, ActionInsert, ActionUpdate, Hook, HookInsert, HookCode, HookCodeInsert, TenantOperationKind, TenantOperation, Rollout, CodeExecutor, ActionCodeGenerator, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, OutboxAdapter, AuditEvent, CodesAdapter, ActionExecutionsAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, AuditCategory, ProxyRoutesAdapter, CustomDomainsAdapter, TenantsDataAdapter, KeysAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
3
3
  export * from '@authhero/adapter-interfaces';
4
4
  import * as hono_utils_http_status from 'hono/utils/http-status';
5
5
  import * as hono_types from 'hono/types';
6
6
  import * as hono_utils_types from 'hono/utils/types';
7
7
  import { z, OpenAPIHono } from '@hono/zod-openapi';
8
8
  import { CountryCode } from 'libphonenumber-js';
9
- import { SamlSigner } from '@authhero/saml/core';
10
- export { HttpSamlSigner, SamlSigner } from '@authhero/saml/core';
9
+ import { SamlSigner, SamlSignatureVerifier } from '@authhero/saml/core';
10
+ export { HttpSamlSigner, SamlSignatureVerifier, SamlSigner } from '@authhero/saml/core';
11
11
  import { Context, Next, Hono, Handler, MiddlewareHandler } from 'hono';
12
12
  import * as _authhero_proxy from '@authhero/proxy';
13
13
  import { KvNamespaceWriter, ResolvedHost } from '@authhero/proxy';
@@ -66,228 +66,6 @@ type EmbedLoginContext = {
66
66
  frameAncestors: string[];
67
67
  };
68
68
 
69
- type Variables = {
70
- /**
71
- * The adapter stack for this request. Read this, not `ctx.env.data`.
72
- *
73
- * Route groups compose a per-request stack (`composeAuthData({ ctx, ... })`)
74
- * that holds request-scoped state: the dedup map, the client-bundle promise
75
- * and hooks bound to this `ctx`. It lives here rather than on `env` because
76
- * Cloudflare Workers hand every request in an isolate the same `env`
77
- * object, so a stack stored there leaks between concurrent requests (#140).
78
- *
79
- * Typed as required because `applyConfigMiddleware`, the first middleware
80
- * of every route group, always sets it (to the startup adapter until a
81
- * route group composes its own stack). Optional would force a guard on
82
- * every read for a case that cannot happen behind that middleware; code
83
- * mounted without it has to set the variable itself. Set it through
84
- * `setRequestData` so the deprecated `ctx.env.data` alias stays in sync.
85
- */
86
- data: DataAdapters;
87
- /**
88
- * Raw, uncomposed adapter for this request, installed by middleware that
89
- * runs before authhero (e.g. `@authhero/multi-tenancy` database isolation).
90
- * Route groups compose their stack on top of it instead of the startup
91
- * `dataAdapter`. Never set this to a composed stack: it would be wrapped
92
- * twice. Read it through `getBaseData`.
93
- */
94
- baseData?: DataAdapters;
95
- /**
96
- * Management API only: the request stack before platform-scoped rows are
97
- * hidden from it. Code-hook execution reads this; see `getExecutorData`.
98
- */
99
- executorData?: DataAdapters;
100
- tenant_id: string;
101
- ip: string;
102
- client_id?: string;
103
- user_id?: string;
104
- username?: string;
105
- /** Verified account-session caller, captured before account mutations. */
106
- sessionAuth?: RequestAuth;
107
- connection?: string;
108
- body?: any;
109
- /**
110
- * Auth0-compatible custom fields submitted by the u2 signup form. Only
111
- * `ulp-*` keys are stored here so pre-user-registration hooks never receive
112
- * credentials or unrelated request fields.
113
- */
114
- signup_body?: Record<string, unknown>;
115
- log?: string;
116
- custom_domain?: string;
117
- host?: string;
118
- user?: {
119
- sub: string;
120
- tenant_id: string;
121
- org_name?: string;
122
- org_id?: string;
123
- scope?: string;
124
- aud?: string | string[];
125
- azp?: string;
126
- gty?: string;
127
- jti?: string;
128
- };
129
- organization_id?: string;
130
- org_name?: string;
131
- loginSession?: LoginSession;
132
- embedLogin?: EmbedLoginContext;
133
- auth0_client?: Auth0Client;
134
- useragent?: string;
135
- countryCode?: CountryCode;
136
- prefer?: PreferState;
137
- outboxEventPromises?: Promise<string>[];
138
- backgroundPromises?: Promise<void>[];
139
- client_authenticated_via_assertion?: boolean;
140
- action_execution_id?: string;
141
- serverTiming?: {
142
- name: string;
143
- dur: number;
144
- }[];
145
- is_lazy_migration?: boolean;
146
- client_id_from_token?: boolean;
147
- session_transfer_token?: {
148
- client_id: string;
149
- scope?: string;
150
- request: {
151
- ip: string;
152
- asn?: string;
153
- user_agent?: string;
154
- };
155
- };
156
- session_transfer?: SessionTransferProvenance;
157
- };
158
-
159
- /**
160
- * A request to certify a signing key. Everything is plain data so an issuer
161
- * can forward it over HTTP: the CA key never has to live in the auth worker.
162
- */
163
- interface SigningCertificateRequest {
164
- /** The key to certify, as an SPKI `PUBLIC KEY` PEM. */
165
- publicKey: string;
166
- /** Subject distinguished name, e.g. `CN=acme`. */
167
- subject: string;
168
- /** URI placed in the SubjectAlternativeName, e.g. `urn:authhero:tenant:acme`. */
169
- uri: string;
170
- notBefore: Date;
171
- notAfter: Date;
172
- }
173
- /**
174
- * Issues signing-key certificates from an intermediate CA.
175
- *
176
- * `issueCertificate` returns the leaf only. `getIssuerCertificates` returns
177
- * every intermediate that may have signed a leaf that is still published —
178
- * the current one plus any that were rotated out recently — so the JWKS can
179
- * attach the right chain to each key.
180
- */
181
- interface CertificateIssuer {
182
- issueCertificate(request: SigningCertificateRequest): Promise<string>;
183
- getIssuerCertificates(): Promise<string[]>;
184
- }
185
- interface SigningCertificateAuthority {
186
- issuer: CertificateIssuer;
187
- /**
188
- * Lifetime of issued certificates, in days. Renewal keeps the key and the
189
- * `kid`, so short lifetimes are cheap.
190
- *
191
- * @default 30
192
- */
193
- validityDays?: number;
194
- /**
195
- * The SAN URI that binds a key to its owner. Receives the key's `tenant_id`,
196
- * which is undefined for control-plane keys.
197
- *
198
- * Override this where the storage scope doesn't match ownership — a WFP
199
- * tenant worker stores its own keys without a `tenant_id`.
200
- *
201
- * @default tenant keys → `urn:authhero:tenant:<tenant_id>`, control-plane
202
- * keys → `urn:authhero:control-plane`
203
- */
204
- subjectUri?: (scope: {
205
- tenant_id?: string;
206
- }) => string;
207
- }
208
- declare const DEFAULT_CA_CERT_VALIDITY_DAYS = 30;
209
- declare const TENANT_URI_PREFIX = "urn:authhero:tenant:";
210
- declare const CONTROL_PLANE_URI = "urn:authhero:control-plane";
211
- /** Parameters `createX509Certificate` / `renewX509Certificate` need to issue from the CA. */
212
- interface CertificateAuthorityIssuance {
213
- issuer: CertificateIssuer;
214
- uri: string;
215
- }
216
- interface LocalCertificateIssuerOptions {
217
- /** The issuing (intermediate) CA certificate, PEM. */
218
- certificate: string;
219
- /** The issuing CA's PKCS#8 private key, PEM. */
220
- privateKey: string;
221
- /**
222
- * Intermediates that were rotated out but may still have signed a
223
- * published leaf. They are only used to build `x5c`, never to sign.
224
- */
225
- previousCertificates?: string[];
226
- }
227
- /**
228
- * An in-process issuer holding the intermediate's private key. Keep the root
229
- * offline; this only ever needs the intermediate.
230
- */
231
- declare function createLocalCertificateIssuer(options: LocalCertificateIssuerOptions): CertificateIssuer;
232
-
233
- /**
234
- * Management API audience for cross-tenant operations.
235
- * Used when managing tenants from the main tenant with org-scoped tokens.
236
- */
237
- declare const MANAGEMENT_API_AUDIENCE = "urn:authhero:management";
238
- /**
239
- * This registeres the authentication middleware. As it needs to read the OpenAPI definition, it needs to have a reference to the app.
240
- *
241
- * `requireManagementAudience` enables the defense-in-depth check that the
242
- * token's `aud` includes the management API audience. It must be enabled
243
- * for the management API and left off for everything else (the `/userinfo`
244
- * endpoint, for example, takes any access token issued by this tenant).
245
- *
246
- * `relaxManagementAudience` downgrades that audience check from a hard
247
- * rejection to a `console.warn`, letting tokens issued for other audiences
248
- * still pass. TRANSITIONAL: use only while migrating clients to request
249
- * the management audience; flip back off once warnings stop appearing.
250
- *
251
- * `additionalManagementAudiences` extends the set of accepted audiences
252
- * beyond the built-in `urn:authhero:management`. The resolver receives the
253
- * token's `tenant_id` and returns the list of audiences accepted for that
254
- * token, so a per-tenant identifier (e.g.
255
- * `https://${tenant_id}.token.example.com/v2/api/`) can be constructed at
256
- * request time alongside any global legacy identifiers.
257
- *
258
- * `additionalIssuers` extends the set of accepted token issuers beyond the
259
- * deployment's own `getIssuer(env, custom_domain)`. The resolver receives the
260
- * token's `tenant_id` and returns the issuers accepted for that token, so a
261
- * control-plane issuer can be accepted on forwarded admin requests whose
262
- * per-tenant worker has a different `env.ISSUER`. The default issuer is always
263
- * accepted; the resolver is purely additive and may return `[]` to refuse.
264
- */
265
- type ManagementAudienceResolver = (params: {
266
- tenant_id?: string;
267
- }) => string[] | Promise<string[]>;
268
- /**
269
- * Resolver returning the issuers accepted **in addition to** the deployment's
270
- * own issuer when verifying bearer JWTs. Receives the token's `tenant_id` so a
271
- * per-tenant or control-plane issuer can be constructed at request time.
272
- * Returning `[]` keeps the strict single-issuer behavior for that token.
273
- */
274
- type IssuerResolver = (params: {
275
- tenant_id?: string;
276
- }) => string[] | Promise<string[]>;
277
- interface AuthMiddlewareOptions {
278
- requireManagementAudience?: boolean;
279
- relaxManagementAudience?: boolean;
280
- additionalManagementAudiences?: ManagementAudienceResolver;
281
- additionalIssuers?: IssuerResolver;
282
- }
283
- declare function createAuthMiddleware(app: OpenAPIHono<{
284
- Bindings: Bindings;
285
- Variables: Variables;
286
- }>, options?: AuthMiddlewareOptions): (ctx: Context<{
287
- Bindings: Bindings;
288
- Variables: any;
289
- }>, next: Next) => Promise<void>;
290
-
291
69
  /**
292
70
  * EnrichedClient combines a Client with its associated Tenant and Connections.
293
71
  *
@@ -522,6 +300,10 @@ declare const enrichedClientSchema: z.ZodObject<{
522
300
  use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
523
301
  inherit_global_permissions_in_organizations: z.ZodOptional<z.ZodBoolean>;
524
302
  restrict_undefined_scopes: z.ZodOptional<z.ZodBoolean>;
303
+ universal_login_version: z.ZodOptional<z.ZodEnum<{
304
+ 1: "1";
305
+ 2: "2";
306
+ }>>;
525
307
  }, z.core.$strip>>;
526
308
  sandbox_version: z.ZodOptional<z.ZodString>;
527
309
  legacy_sandbox_version: z.ZodOptional<z.ZodString>;
@@ -833,6 +615,28 @@ declare const enrichedClientSchema: z.ZodObject<{
833
615
  on_first_login: "on_first_login";
834
616
  never_on_login: "never_on_login";
835
617
  }>>;
618
+ signInEndpoint: z.ZodOptional<z.ZodString>;
619
+ signOutEndpoint: z.ZodOptional<z.ZodString>;
620
+ signingCert: z.ZodOptional<z.ZodString>;
621
+ signingCerts: z.ZodOptional<z.ZodArray<z.ZodString>>;
622
+ metadataUrl: z.ZodOptional<z.ZodString>;
623
+ metadataXml: z.ZodOptional<z.ZodString>;
624
+ signSAMLRequest: z.ZodOptional<z.ZodBoolean>;
625
+ signatureAlgorithm: z.ZodOptional<z.ZodEnum<{
626
+ "rsa-sha256": "rsa-sha256";
627
+ "rsa-sha1": "rsa-sha1";
628
+ }>>;
629
+ digestAlgorithm: z.ZodOptional<z.ZodEnum<{
630
+ sha256: "sha256";
631
+ sha1: "sha1";
632
+ }>>;
633
+ protocolBinding: z.ZodOptional<z.ZodEnum<{
634
+ "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect";
635
+ "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST";
636
+ }>>;
637
+ user_id_attribute: z.ZodOptional<z.ZodString>;
638
+ fieldsMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
639
+ entityId: z.ZodOptional<z.ZodString>;
836
640
  }, z.core.$strip>>>;
837
641
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
838
642
  response_type: z.ZodOptional<z.ZodEnum<typeof _authhero_adapter_interfaces.AuthorizationResponseType>>;
@@ -847,6 +651,242 @@ type EnrichedClient = Omit<z.infer<typeof enrichedClientSchema>, "connections">
847
651
  connections: Connection[];
848
652
  };
849
653
 
654
+ /**
655
+ * Custom claims a post-login action set with `api.accessToken.setCustomClaim`
656
+ * / `api.idToken.setCustomClaim` (issue #1816). Applied to the tokens issued
657
+ * for this login, including the authorization-code exchange, and only for the
658
+ * user the hooks settled on. Refresh-token exchanges don't apply them: they
659
+ * don't re-run post-login actions.
660
+ */
661
+ interface PostLoginActionClaims {
662
+ user_id: string;
663
+ access_token?: Record<string, unknown>;
664
+ id_token?: Record<string, unknown>;
665
+ }
666
+
667
+ type Variables = {
668
+ /**
669
+ * The adapter stack for this request. Read this, not `ctx.env.data`.
670
+ *
671
+ * Route groups compose a per-request stack (`composeAuthData({ ctx, ... })`)
672
+ * that holds request-scoped state: the dedup map, the client-bundle promise
673
+ * and hooks bound to this `ctx`. It lives here rather than on `env` because
674
+ * Cloudflare Workers hand every request in an isolate the same `env`
675
+ * object, so a stack stored there leaks between concurrent requests (#140).
676
+ *
677
+ * Typed as required because `applyConfigMiddleware`, the first middleware
678
+ * of every route group, always sets it (to the startup adapter until a
679
+ * route group composes its own stack). Optional would force a guard on
680
+ * every read for a case that cannot happen behind that middleware; code
681
+ * mounted without it has to set the variable itself. Set it through
682
+ * `setRequestData` so the deprecated `ctx.env.data` alias stays in sync.
683
+ */
684
+ data: DataAdapters;
685
+ /**
686
+ * Raw, uncomposed adapter for this request, installed by middleware that
687
+ * runs before authhero (e.g. `@authhero/multi-tenancy` database isolation).
688
+ * Route groups compose their stack on top of it instead of the startup
689
+ * `dataAdapter`. Never set this to a composed stack: it would be wrapped
690
+ * twice. Read it through `getBaseData`.
691
+ */
692
+ baseData?: DataAdapters;
693
+ /**
694
+ * Management API only: the request stack before platform-scoped rows are
695
+ * hidden from it. Code-hook execution reads this; see `getExecutorData`.
696
+ */
697
+ executorData?: DataAdapters;
698
+ tenant_id: string;
699
+ ip: string;
700
+ client_id?: string;
701
+ user_id?: string;
702
+ username?: string;
703
+ /** Verified account-session caller, captured before account mutations. */
704
+ sessionAuth?: RequestAuth;
705
+ connection?: string;
706
+ body?: any;
707
+ /**
708
+ * Auth0-compatible custom fields submitted by the u2 signup form. Only
709
+ * `ulp-*` keys are stored here so pre-user-registration hooks never receive
710
+ * credentials or unrelated request fields.
711
+ */
712
+ signup_body?: Record<string, unknown>;
713
+ log?: string;
714
+ custom_domain?: string;
715
+ host?: string;
716
+ user?: {
717
+ sub: string;
718
+ tenant_id: string;
719
+ org_name?: string;
720
+ org_id?: string;
721
+ scope?: string;
722
+ aud?: string | string[];
723
+ azp?: string;
724
+ gty?: string;
725
+ jti?: string;
726
+ };
727
+ organization_id?: string;
728
+ org_name?: string;
729
+ loginSession?: LoginSession;
730
+ embedLogin?: EmbedLoginContext;
731
+ auth0_client?: Auth0Client;
732
+ useragent?: string;
733
+ countryCode?: CountryCode;
734
+ prefer?: PreferState;
735
+ outboxEventPromises?: Promise<string>[];
736
+ backgroundPromises?: Promise<void>[];
737
+ client_authenticated_via_assertion?: boolean;
738
+ action_execution_id?: string;
739
+ post_login_action_claims?: PostLoginActionClaims;
740
+ serverTiming?: {
741
+ name: string;
742
+ dur: number;
743
+ }[];
744
+ is_lazy_migration?: boolean;
745
+ client_id_from_token?: boolean;
746
+ session_transfer_token?: {
747
+ client_id: string;
748
+ scope?: string;
749
+ request: {
750
+ ip: string;
751
+ asn?: string;
752
+ user_agent?: string;
753
+ };
754
+ };
755
+ session_transfer?: SessionTransferProvenance;
756
+ };
757
+
758
+ /**
759
+ * A request to certify a signing key. Everything is plain data so an issuer
760
+ * can forward it over HTTP: the CA key never has to live in the auth worker.
761
+ */
762
+ interface SigningCertificateRequest {
763
+ /** The key to certify, as an SPKI `PUBLIC KEY` PEM. */
764
+ publicKey: string;
765
+ /** Subject distinguished name, e.g. `CN=acme`. */
766
+ subject: string;
767
+ /** URI placed in the SubjectAlternativeName, e.g. `urn:authhero:tenant:acme`. */
768
+ uri: string;
769
+ notBefore: Date;
770
+ notAfter: Date;
771
+ }
772
+ /**
773
+ * Issues signing-key certificates from an intermediate CA.
774
+ *
775
+ * `issueCertificate` returns the leaf only. `getIssuerCertificates` returns
776
+ * every intermediate that may have signed a leaf that is still published —
777
+ * the current one plus any that were rotated out recently — so the JWKS can
778
+ * attach the right chain to each key.
779
+ */
780
+ interface CertificateIssuer {
781
+ issueCertificate(request: SigningCertificateRequest): Promise<string>;
782
+ getIssuerCertificates(): Promise<string[]>;
783
+ }
784
+ interface SigningCertificateAuthority {
785
+ issuer: CertificateIssuer;
786
+ /**
787
+ * Lifetime of issued certificates, in days. Renewal keeps the key and the
788
+ * `kid`, so short lifetimes are cheap.
789
+ *
790
+ * @default 30
791
+ */
792
+ validityDays?: number;
793
+ /**
794
+ * The SAN URI that binds a key to its owner. Receives the key's `tenant_id`,
795
+ * which is undefined for control-plane keys.
796
+ *
797
+ * Override this where the storage scope doesn't match ownership — a WFP
798
+ * tenant worker stores its own keys without a `tenant_id`.
799
+ *
800
+ * @default tenant keys → `urn:authhero:tenant:<tenant_id>`, control-plane
801
+ * keys → `urn:authhero:control-plane`
802
+ */
803
+ subjectUri?: (scope: {
804
+ tenant_id?: string;
805
+ }) => string;
806
+ }
807
+ declare const DEFAULT_CA_CERT_VALIDITY_DAYS = 30;
808
+ declare const TENANT_URI_PREFIX = "urn:authhero:tenant:";
809
+ declare const CONTROL_PLANE_URI = "urn:authhero:control-plane";
810
+ /** Parameters `createX509Certificate` / `renewX509Certificate` need to issue from the CA. */
811
+ interface CertificateAuthorityIssuance {
812
+ issuer: CertificateIssuer;
813
+ uri: string;
814
+ }
815
+ interface LocalCertificateIssuerOptions {
816
+ /** The issuing (intermediate) CA certificate, PEM. */
817
+ certificate: string;
818
+ /** The issuing CA's PKCS#8 private key, PEM. */
819
+ privateKey: string;
820
+ /**
821
+ * Intermediates that were rotated out but may still have signed a
822
+ * published leaf. They are only used to build `x5c`, never to sign.
823
+ */
824
+ previousCertificates?: string[];
825
+ }
826
+ /**
827
+ * An in-process issuer holding the intermediate's private key. Keep the root
828
+ * offline; this only ever needs the intermediate.
829
+ */
830
+ declare function createLocalCertificateIssuer(options: LocalCertificateIssuerOptions): CertificateIssuer;
831
+
832
+ /**
833
+ * Management API audience for cross-tenant operations.
834
+ * Used when managing tenants from the main tenant with org-scoped tokens.
835
+ */
836
+ declare const MANAGEMENT_API_AUDIENCE = "urn:authhero:management";
837
+ /**
838
+ * This registeres the authentication middleware. As it needs to read the OpenAPI definition, it needs to have a reference to the app.
839
+ *
840
+ * `requireManagementAudience` enables the defense-in-depth check that the
841
+ * token's `aud` includes the management API audience. It must be enabled
842
+ * for the management API and left off for everything else (the `/userinfo`
843
+ * endpoint, for example, takes any access token issued by this tenant).
844
+ *
845
+ * `relaxManagementAudience` downgrades that audience check from a hard
846
+ * rejection to a `console.warn`, letting tokens issued for other audiences
847
+ * still pass. TRANSITIONAL: use only while migrating clients to request
848
+ * the management audience; flip back off once warnings stop appearing.
849
+ *
850
+ * `additionalManagementAudiences` extends the set of accepted audiences
851
+ * beyond the built-in `urn:authhero:management`. The resolver receives the
852
+ * token's `tenant_id` and returns the list of audiences accepted for that
853
+ * token, so a per-tenant identifier (e.g.
854
+ * `https://${tenant_id}.token.example.com/v2/api/`) can be constructed at
855
+ * request time alongside any global legacy identifiers.
856
+ *
857
+ * `additionalIssuers` extends the set of accepted token issuers beyond the
858
+ * deployment's own `getIssuer(env, custom_domain)`. The resolver receives the
859
+ * token's `tenant_id` and returns the issuers accepted for that token, so a
860
+ * control-plane issuer can be accepted on forwarded admin requests whose
861
+ * per-tenant worker has a different `env.ISSUER`. The default issuer is always
862
+ * accepted; the resolver is purely additive and may return `[]` to refuse.
863
+ */
864
+ type ManagementAudienceResolver = (params: {
865
+ tenant_id?: string;
866
+ }) => string[] | Promise<string[]>;
867
+ /**
868
+ * Resolver returning the issuers accepted **in addition to** the deployment's
869
+ * own issuer when verifying bearer JWTs. Receives the token's `tenant_id` so a
870
+ * per-tenant or control-plane issuer can be constructed at request time.
871
+ * Returning `[]` keeps the strict single-issuer behavior for that token.
872
+ */
873
+ type IssuerResolver = (params: {
874
+ tenant_id?: string;
875
+ }) => string[] | Promise<string[]>;
876
+ interface AuthMiddlewareOptions {
877
+ requireManagementAudience?: boolean;
878
+ relaxManagementAudience?: boolean;
879
+ additionalManagementAudiences?: ManagementAudienceResolver;
880
+ additionalIssuers?: IssuerResolver;
881
+ }
882
+ declare function createAuthMiddleware(app: OpenAPIHono<{
883
+ Bindings: Bindings;
884
+ Variables: Variables;
885
+ }>, options?: AuthMiddlewareOptions): (ctx: Context<{
886
+ Bindings: Bindings;
887
+ Variables: any;
888
+ }>, next: Next) => Promise<void>;
889
+
850
890
  /** Context passed to entity hooks */
851
891
  interface EntityHookContext {
852
892
  tenantId: string;
@@ -2310,6 +2350,20 @@ interface AuthHeroConfig {
2310
2350
  managementDataAdapter?: DataAdapters;
2311
2351
  allowedOrigins?: string[];
2312
2352
  samlSigner?: SamlSigner;
2353
+ /**
2354
+ * Verifies the signatures of SAML responses from upstream identity
2355
+ * providers (`samlp` connections). Required for SAML connections to work.
2356
+ *
2357
+ * @example
2358
+ * ```typescript
2359
+ * import { LocalSamlVerifier } from "@authhero/saml/local-verifier";
2360
+ *
2361
+ * init({ dataAdapter, samlVerifier: new LocalSamlVerifier() });
2362
+ * ```
2363
+ * `LocalSamlVerifier` uses xml-crypto and runs on Node.js and on
2364
+ * Cloudflare Workers with the `nodejs_compat` flag.
2365
+ */
2366
+ samlVerifier?: SamlSignatureVerifier;
2313
2367
  /**
2314
2368
  * Auth0-style action hooks for auth flow events.
2315
2369
  */
@@ -2918,6 +2972,7 @@ type StrategyHandler = {
2918
2972
  redirectUrl: string;
2919
2973
  code: string;
2920
2974
  codeVerifier?: string;
2975
+ formPost?: Record<string, string>;
2921
2976
  }>;
2922
2977
  validateAuthorizationCodeAndGetUser: (ctx: Context<{
2923
2978
  Bindings: Bindings;
@@ -2928,6 +2983,7 @@ type StrategyHandler = {
2928
2983
  Variables: Variables;
2929
2984
  }>, connection: Connection, code: string, codeVerifier?: string) => Promise<UserInfoWithRaw>;
2930
2985
  disableEmbeddedBrowsers?: boolean;
2986
+ singleUseState?: boolean;
2931
2987
  };
2932
2988
 
2933
2989
  type Bindings = {
@@ -2958,6 +3014,7 @@ type Bindings = {
2958
3014
  ORGANIZATION_NAME: string;
2959
3015
  SAML_SIGN_URL?: string;
2960
3016
  samlSigner?: SamlSigner;
3017
+ samlVerifier?: SamlSignatureVerifier;
2961
3018
  poweredByLogo?: {
2962
3019
  url: string;
2963
3020
  darkUrl?: string;
@@ -5721,8 +5778,8 @@ declare function init(config: AuthHeroConfig): {
5721
5778
  $get: {
5722
5779
  input: {
5723
5780
  query: {
5724
- include_password_hashes?: "true" | "false" | undefined;
5725
- gzip?: "true" | "false" | undefined;
5781
+ include_password_hashes?: "false" | "true" | undefined;
5782
+ gzip?: "false" | "true" | undefined;
5726
5783
  };
5727
5784
  } & {
5728
5785
  header: {
@@ -5735,8 +5792,8 @@ declare function init(config: AuthHeroConfig): {
5735
5792
  } | {
5736
5793
  input: {
5737
5794
  query: {
5738
- include_password_hashes?: "true" | "false" | undefined;
5739
- gzip?: "true" | "false" | undefined;
5795
+ include_password_hashes?: "false" | "true" | undefined;
5796
+ gzip?: "false" | "true" | undefined;
5740
5797
  };
5741
5798
  } & {
5742
5799
  header: {
@@ -5755,7 +5812,7 @@ declare function init(config: AuthHeroConfig): {
5755
5812
  $post: {
5756
5813
  input: {
5757
5814
  query: {
5758
- include_password_hashes?: "true" | "false" | undefined;
5815
+ include_password_hashes?: "false" | "true" | undefined;
5759
5816
  };
5760
5817
  } & {
5761
5818
  header: {
@@ -5809,7 +5866,7 @@ declare function init(config: AuthHeroConfig): {
5809
5866
  };
5810
5867
  } & {
5811
5868
  json: {
5812
- type: "email" | "push" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
5869
+ type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
5813
5870
  phone_number?: string | undefined;
5814
5871
  totp_secret?: string | undefined;
5815
5872
  credential_id?: string | undefined;
@@ -6957,9 +7014,9 @@ declare function init(config: AuthHeroConfig): {
6957
7014
  invitee: {
6958
7015
  email?: string | undefined;
6959
7016
  };
7017
+ id?: string | undefined;
6960
7018
  app_metadata?: Record<string, any> | undefined;
6961
7019
  user_metadata?: Record<string, any> | undefined;
6962
- id?: string | undefined;
6963
7020
  connection_id?: string | undefined;
6964
7021
  roles?: string[] | undefined;
6965
7022
  ttl_sec?: number | undefined;
@@ -7162,8 +7219,8 @@ declare function init(config: AuthHeroConfig): {
7162
7219
  };
7163
7220
  } & {
7164
7221
  json: {
7165
- assign_membership_on_login?: boolean | undefined;
7166
7222
  show_as_button?: boolean | undefined;
7223
+ assign_membership_on_login?: boolean | undefined;
7167
7224
  is_signup_enabled?: boolean | undefined;
7168
7225
  };
7169
7226
  };
@@ -8970,7 +9027,7 @@ declare function init(config: AuthHeroConfig): {
8970
9027
  max_length?: number | undefined;
8971
9028
  default_value?: string | undefined;
8972
9029
  autocomplete?: string | undefined;
8973
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
9030
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
8974
9031
  last_used?: boolean | undefined;
8975
9032
  last_used_label?: string | undefined;
8976
9033
  } | undefined;
@@ -9583,7 +9640,7 @@ declare function init(config: AuthHeroConfig): {
9583
9640
  max_length?: number | undefined;
9584
9641
  default_value?: string | undefined;
9585
9642
  autocomplete?: string | undefined;
9586
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
9643
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
9587
9644
  last_used?: boolean | undefined;
9588
9645
  last_used_label?: string | undefined;
9589
9646
  } | undefined;
@@ -10196,7 +10253,7 @@ declare function init(config: AuthHeroConfig): {
10196
10253
  max_length?: number | undefined;
10197
10254
  default_value?: string | undefined;
10198
10255
  autocomplete?: string | undefined;
10199
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
10256
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
10200
10257
  last_used?: boolean | undefined;
10201
10258
  last_used_label?: string | undefined;
10202
10259
  } | undefined;
@@ -10824,7 +10881,7 @@ declare function init(config: AuthHeroConfig): {
10824
10881
  max_length?: number | undefined;
10825
10882
  default_value?: string | undefined;
10826
10883
  autocomplete?: string | undefined;
10827
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
10884
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
10828
10885
  last_used?: boolean | undefined;
10829
10886
  last_used_label?: string | undefined;
10830
10887
  } | undefined;
@@ -11454,7 +11511,7 @@ declare function init(config: AuthHeroConfig): {
11454
11511
  max_length?: number | undefined;
11455
11512
  default_value?: string | undefined;
11456
11513
  autocomplete?: string | undefined;
11457
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
11514
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
11458
11515
  last_used?: boolean | undefined;
11459
11516
  last_used_label?: string | undefined;
11460
11517
  } | undefined;
@@ -12065,7 +12122,7 @@ declare function init(config: AuthHeroConfig): {
12065
12122
  max_length?: number | undefined;
12066
12123
  default_value?: string | undefined;
12067
12124
  autocomplete?: string | undefined;
12068
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
12125
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
12069
12126
  last_used?: boolean | undefined;
12070
12127
  last_used_label?: string | undefined;
12071
12128
  } | undefined;
@@ -12674,7 +12731,7 @@ declare function init(config: AuthHeroConfig): {
12674
12731
  max_length?: number | undefined;
12675
12732
  default_value?: string | undefined;
12676
12733
  autocomplete?: string | undefined;
12677
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
12734
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
12678
12735
  last_used?: boolean | undefined;
12679
12736
  last_used_label?: string | undefined;
12680
12737
  } | undefined;
@@ -13285,7 +13342,7 @@ declare function init(config: AuthHeroConfig): {
13285
13342
  max_length?: number | undefined;
13286
13343
  default_value?: string | undefined;
13287
13344
  autocomplete?: string | undefined;
13288
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
13345
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
13289
13346
  last_used?: boolean | undefined;
13290
13347
  last_used_label?: string | undefined;
13291
13348
  } | undefined;
@@ -13633,7 +13690,7 @@ declare function init(config: AuthHeroConfig): {
13633
13690
  };
13634
13691
  };
13635
13692
  output: {
13636
- prompt: "common" | "status" | "mfa" | "organizations" | "login" | "signup" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
13693
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "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";
13637
13694
  language: string;
13638
13695
  }[];
13639
13696
  outputFormat: "json";
@@ -13671,7 +13728,7 @@ declare function init(config: AuthHeroConfig): {
13671
13728
  $get: {
13672
13729
  input: {
13673
13730
  param: {
13674
- prompt: "common" | "status" | "mfa" | "organizations" | "login" | "signup" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
13731
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "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";
13675
13732
  language: string;
13676
13733
  };
13677
13734
  } & {
@@ -13693,7 +13750,7 @@ declare function init(config: AuthHeroConfig): {
13693
13750
  $put: {
13694
13751
  input: {
13695
13752
  param: {
13696
- prompt: "common" | "status" | "mfa" | "organizations" | "login" | "signup" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
13753
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "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";
13697
13754
  language: string;
13698
13755
  };
13699
13756
  } & {
@@ -13717,7 +13774,7 @@ declare function init(config: AuthHeroConfig): {
13717
13774
  $delete: {
13718
13775
  input: {
13719
13776
  param: {
13720
- prompt: "common" | "status" | "mfa" | "organizations" | "login" | "signup" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
13777
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "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";
13721
13778
  language: string;
13722
13779
  };
13723
13780
  } & {
@@ -13735,7 +13792,7 @@ declare function init(config: AuthHeroConfig): {
13735
13792
  $get: {
13736
13793
  input: {
13737
13794
  param: {
13738
- prompt: "login" | "signup" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-otp" | "mfa-phone" | "login-passwordless" | "mfa-login-options" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
13795
+ prompt: "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-otp" | "mfa-phone" | "login-passwordless" | "mfa-login-options" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
13739
13796
  };
13740
13797
  } & {
13741
13798
  header: {
@@ -13761,7 +13818,7 @@ declare function init(config: AuthHeroConfig): {
13761
13818
  $put: {
13762
13819
  input: {
13763
13820
  param: {
13764
- prompt: "login" | "signup" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-otp" | "mfa-phone" | "login-passwordless" | "mfa-login-options" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
13821
+ prompt: "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-otp" | "mfa-phone" | "login-passwordless" | "mfa-login-options" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
13765
13822
  };
13766
13823
  } & {
13767
13824
  header: {
@@ -13914,7 +13971,7 @@ declare function init(config: AuthHeroConfig): {
13914
13971
  } | undefined;
13915
13972
  } | undefined;
13916
13973
  passkey_options?: {
13917
- challenge_ui?: "button" | "both" | "autofill" | undefined;
13974
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
13918
13975
  local_enrollment_enabled?: boolean | undefined;
13919
13976
  progressive_enrollment_enabled?: boolean | undefined;
13920
13977
  } | undefined;
@@ -13927,6 +13984,21 @@ declare function init(config: AuthHeroConfig): {
13927
13984
  } | undefined;
13928
13985
  allow_action_users?: boolean | undefined;
13929
13986
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
13987
+ signInEndpoint?: string | undefined;
13988
+ signOutEndpoint?: string | undefined;
13989
+ signingCert?: string | undefined;
13990
+ signingCerts?: string[] | undefined;
13991
+ metadataUrl?: string | undefined;
13992
+ metadataXml?: string | undefined;
13993
+ signSAMLRequest?: boolean | undefined;
13994
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
13995
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
13996
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
13997
+ user_id_attribute?: string | undefined;
13998
+ fieldsMap?: {
13999
+ [x: string]: string | string[];
14000
+ } | undefined;
14001
+ entityId?: string | undefined;
13930
14002
  };
13931
14003
  scope?: "local" | "shared" | "platform" | undefined;
13932
14004
  override?: "none" | "secrets" | "fields" | undefined;
@@ -14056,7 +14128,7 @@ declare function init(config: AuthHeroConfig): {
14056
14128
  } | undefined;
14057
14129
  } | undefined;
14058
14130
  passkey_options?: {
14059
- challenge_ui?: "button" | "both" | "autofill" | undefined;
14131
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
14060
14132
  local_enrollment_enabled?: boolean | undefined;
14061
14133
  progressive_enrollment_enabled?: boolean | undefined;
14062
14134
  } | undefined;
@@ -14069,6 +14141,21 @@ declare function init(config: AuthHeroConfig): {
14069
14141
  } | undefined;
14070
14142
  allow_action_users?: boolean | undefined;
14071
14143
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
14144
+ signInEndpoint?: string | undefined;
14145
+ signOutEndpoint?: string | undefined;
14146
+ signingCert?: string | undefined;
14147
+ signingCerts?: string[] | undefined;
14148
+ metadataUrl?: string | undefined;
14149
+ metadataXml?: string | undefined;
14150
+ signSAMLRequest?: boolean | undefined;
14151
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
14152
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
14153
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
14154
+ user_id_attribute?: string | undefined;
14155
+ fieldsMap?: {
14156
+ [x: string]: string | string[];
14157
+ } | undefined;
14158
+ entityId?: string | undefined;
14072
14159
  };
14073
14160
  scope?: "local" | "shared" | "platform" | undefined;
14074
14161
  override?: "none" | "secrets" | "fields" | undefined;
@@ -14198,7 +14285,7 @@ declare function init(config: AuthHeroConfig): {
14198
14285
  } | undefined;
14199
14286
  } | undefined;
14200
14287
  passkey_options?: {
14201
- challenge_ui?: "button" | "both" | "autofill" | undefined;
14288
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
14202
14289
  local_enrollment_enabled?: boolean | undefined;
14203
14290
  progressive_enrollment_enabled?: boolean | undefined;
14204
14291
  } | undefined;
@@ -14211,6 +14298,21 @@ declare function init(config: AuthHeroConfig): {
14211
14298
  } | undefined;
14212
14299
  allow_action_users?: boolean | undefined;
14213
14300
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
14301
+ signInEndpoint?: string | undefined;
14302
+ signOutEndpoint?: string | undefined;
14303
+ signingCert?: string | undefined;
14304
+ signingCerts?: string[] | undefined;
14305
+ metadataUrl?: string | undefined;
14306
+ metadataXml?: string | undefined;
14307
+ signSAMLRequest?: boolean | undefined;
14308
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
14309
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
14310
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
14311
+ user_id_attribute?: string | undefined;
14312
+ fieldsMap?: {
14313
+ [x: string]: string | string[];
14314
+ } | undefined;
14315
+ entityId?: string | undefined;
14214
14316
  };
14215
14317
  scope?: "local" | "shared" | "platform" | undefined;
14216
14318
  override?: "none" | "secrets" | "fields" | undefined;
@@ -14355,7 +14457,7 @@ declare function init(config: AuthHeroConfig): {
14355
14457
  } | undefined;
14356
14458
  } | undefined;
14357
14459
  passkey_options?: {
14358
- challenge_ui?: "button" | "both" | "autofill" | undefined;
14460
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
14359
14461
  local_enrollment_enabled?: boolean | undefined;
14360
14462
  progressive_enrollment_enabled?: boolean | undefined;
14361
14463
  } | undefined;
@@ -14368,6 +14470,21 @@ declare function init(config: AuthHeroConfig): {
14368
14470
  } | undefined;
14369
14471
  allow_action_users?: boolean | undefined;
14370
14472
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
14473
+ signInEndpoint?: string | undefined;
14474
+ signOutEndpoint?: string | undefined;
14475
+ signingCert?: string | undefined;
14476
+ signingCerts?: string[] | undefined;
14477
+ metadataUrl?: string | undefined;
14478
+ metadataXml?: string | undefined;
14479
+ signSAMLRequest?: boolean | undefined;
14480
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
14481
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
14482
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
14483
+ user_id_attribute?: string | undefined;
14484
+ fieldsMap?: {
14485
+ [x: string]: string | string[];
14486
+ } | undefined;
14487
+ entityId?: string | undefined;
14371
14488
  };
14372
14489
  scope?: "local" | "shared" | "platform" | undefined;
14373
14490
  override?: "none" | "secrets" | "fields" | undefined;
@@ -14558,7 +14675,7 @@ declare function init(config: AuthHeroConfig): {
14558
14675
  } | undefined;
14559
14676
  } | undefined;
14560
14677
  passkey_options?: {
14561
- challenge_ui?: "button" | "both" | "autofill" | undefined;
14678
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
14562
14679
  local_enrollment_enabled?: boolean | undefined;
14563
14680
  progressive_enrollment_enabled?: boolean | undefined;
14564
14681
  } | undefined;
@@ -14571,6 +14688,21 @@ declare function init(config: AuthHeroConfig): {
14571
14688
  } | undefined;
14572
14689
  allow_action_users?: boolean | undefined;
14573
14690
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
14691
+ signInEndpoint?: string | undefined;
14692
+ signOutEndpoint?: string | undefined;
14693
+ signingCert?: string | undefined;
14694
+ signingCerts?: string[] | undefined;
14695
+ metadataUrl?: string | undefined;
14696
+ metadataXml?: string | undefined;
14697
+ signSAMLRequest?: boolean | undefined;
14698
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
14699
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
14700
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
14701
+ user_id_attribute?: string | undefined;
14702
+ fieldsMap?: {
14703
+ [x: string]: string | string[];
14704
+ } | undefined;
14705
+ entityId?: string | undefined;
14574
14706
  };
14575
14707
  scope?: "local" | "shared" | "platform" | undefined;
14576
14708
  override?: "none" | "secrets" | "fields" | undefined;
@@ -14727,7 +14859,7 @@ declare function init(config: AuthHeroConfig): {
14727
14859
  } | undefined;
14728
14860
  } | undefined;
14729
14861
  passkey_options?: {
14730
- challenge_ui?: "button" | "both" | "autofill" | undefined;
14862
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
14731
14863
  local_enrollment_enabled?: boolean | undefined;
14732
14864
  progressive_enrollment_enabled?: boolean | undefined;
14733
14865
  } | undefined;
@@ -14740,6 +14872,21 @@ declare function init(config: AuthHeroConfig): {
14740
14872
  } | undefined;
14741
14873
  allow_action_users?: boolean | undefined;
14742
14874
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
14875
+ signInEndpoint?: string | undefined;
14876
+ signOutEndpoint?: string | undefined;
14877
+ signingCert?: string | undefined;
14878
+ signingCerts?: string[] | undefined;
14879
+ metadataUrl?: string | undefined;
14880
+ metadataXml?: string | undefined;
14881
+ signSAMLRequest?: boolean | undefined;
14882
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
14883
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
14884
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
14885
+ user_id_attribute?: string | undefined;
14886
+ fieldsMap?: {
14887
+ [x: string]: string | string[];
14888
+ } | undefined;
14889
+ entityId?: string | undefined;
14743
14890
  };
14744
14891
  scope?: "local" | "shared" | "platform" | undefined;
14745
14892
  override?: "none" | "secrets" | "fields" | undefined;
@@ -15732,7 +15879,7 @@ declare function init(config: AuthHeroConfig): {
15732
15879
  log_type: string;
15733
15880
  category: "user_action" | "admin_action" | "system" | "api";
15734
15881
  actor: {
15735
- type: "user" | "client_credentials" | "system" | "api_key" | "admin";
15882
+ type: "client_credentials" | "user" | "api_key" | "system" | "admin";
15736
15883
  id?: string | undefined;
15737
15884
  email?: string | undefined;
15738
15885
  org_id?: string | undefined;
@@ -15836,7 +15983,7 @@ declare function init(config: AuthHeroConfig): {
15836
15983
  log_type: string;
15837
15984
  category: "user_action" | "admin_action" | "system" | "api";
15838
15985
  actor: {
15839
- type: "user" | "client_credentials" | "system" | "api_key" | "admin";
15986
+ type: "client_credentials" | "user" | "api_key" | "system" | "admin";
15840
15987
  id?: string | undefined;
15841
15988
  email?: string | undefined;
15842
15989
  org_id?: string | undefined;
@@ -16233,7 +16380,7 @@ declare function init(config: AuthHeroConfig): {
16233
16380
  created_at: string;
16234
16381
  updated_at: string;
16235
16382
  name: string;
16236
- provider: "auth0" | "cognito" | "okta" | "oidc";
16383
+ provider: "auth0" | "oidc" | "okta" | "cognito";
16237
16384
  connection: string;
16238
16385
  enabled: boolean;
16239
16386
  credentials: {
@@ -16265,7 +16412,7 @@ declare function init(config: AuthHeroConfig): {
16265
16412
  created_at: string;
16266
16413
  updated_at: string;
16267
16414
  name: string;
16268
- provider: "auth0" | "cognito" | "okta" | "oidc";
16415
+ provider: "auth0" | "oidc" | "okta" | "cognito";
16269
16416
  connection: string;
16270
16417
  enabled: boolean;
16271
16418
  credentials: {
@@ -16291,7 +16438,7 @@ declare function init(config: AuthHeroConfig): {
16291
16438
  } & {
16292
16439
  json: {
16293
16440
  name: string;
16294
- provider: "auth0" | "cognito" | "okta" | "oidc";
16441
+ provider: "auth0" | "oidc" | "okta" | "cognito";
16295
16442
  connection: string;
16296
16443
  credentials: {
16297
16444
  domain: string;
@@ -16308,7 +16455,7 @@ declare function init(config: AuthHeroConfig): {
16308
16455
  created_at: string;
16309
16456
  updated_at: string;
16310
16457
  name: string;
16311
- provider: "auth0" | "cognito" | "okta" | "oidc";
16458
+ provider: "auth0" | "oidc" | "okta" | "cognito";
16312
16459
  connection: string;
16313
16460
  enabled: boolean;
16314
16461
  credentials: {
@@ -16339,7 +16486,7 @@ declare function init(config: AuthHeroConfig): {
16339
16486
  json: {
16340
16487
  id?: string | undefined;
16341
16488
  name?: string | undefined;
16342
- provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
16489
+ provider?: "auth0" | "oidc" | "okta" | "cognito" | undefined;
16343
16490
  connection?: string | undefined;
16344
16491
  enabled?: boolean | undefined;
16345
16492
  credentials?: {
@@ -16355,7 +16502,7 @@ declare function init(config: AuthHeroConfig): {
16355
16502
  created_at: string;
16356
16503
  updated_at: string;
16357
16504
  name: string;
16358
- provider: "auth0" | "cognito" | "okta" | "oidc";
16505
+ provider: "auth0" | "oidc" | "okta" | "cognito";
16359
16506
  connection: string;
16360
16507
  enabled: boolean;
16361
16508
  credentials: {
@@ -16403,7 +16550,7 @@ declare function init(config: AuthHeroConfig): {
16403
16550
  [x: string]: hono_utils_types.JSONValue;
16404
16551
  };
16405
16552
  id: string;
16406
- status: "suspended" | "active" | "paused";
16553
+ status: "active" | "paused" | "suspended";
16407
16554
  filters?: {
16408
16555
  type: string;
16409
16556
  name: string;
@@ -16435,7 +16582,7 @@ declare function init(config: AuthHeroConfig): {
16435
16582
  [x: string]: hono_utils_types.JSONValue;
16436
16583
  };
16437
16584
  id: string;
16438
- status: "suspended" | "active" | "paused";
16585
+ status: "active" | "paused" | "suspended";
16439
16586
  filters?: {
16440
16587
  type: string;
16441
16588
  name: string;
@@ -16460,7 +16607,7 @@ declare function init(config: AuthHeroConfig): {
16460
16607
  name: string;
16461
16608
  type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
16462
16609
  sink: Record<string, unknown>;
16463
- status?: "suspended" | "active" | "paused" | undefined;
16610
+ status?: "active" | "paused" | "suspended" | undefined;
16464
16611
  filters?: {
16465
16612
  type: string;
16466
16613
  name: string;
@@ -16475,7 +16622,7 @@ declare function init(config: AuthHeroConfig): {
16475
16622
  [x: string]: hono_utils_types.JSONValue;
16476
16623
  };
16477
16624
  id: string;
16478
- status: "suspended" | "active" | "paused";
16625
+ status: "active" | "paused" | "suspended";
16479
16626
  filters?: {
16480
16627
  type: string;
16481
16628
  name: string;
@@ -16510,7 +16657,7 @@ declare function init(config: AuthHeroConfig): {
16510
16657
  }[] | undefined;
16511
16658
  isPriority?: boolean | undefined;
16512
16659
  id?: string | undefined;
16513
- status?: "suspended" | "active" | "paused" | undefined;
16660
+ status?: "active" | "paused" | "suspended" | undefined;
16514
16661
  created_at?: string | undefined;
16515
16662
  updated_at?: string | undefined;
16516
16663
  };
@@ -16522,7 +16669,7 @@ declare function init(config: AuthHeroConfig): {
16522
16669
  [x: string]: hono_utils_types.JSONValue;
16523
16670
  };
16524
16671
  id: string;
16525
- status: "suspended" | "active" | "paused";
16672
+ status: "active" | "paused" | "suspended";
16526
16673
  filters?: {
16527
16674
  type: string;
16528
16675
  name: string;
@@ -16573,7 +16720,7 @@ declare function init(config: AuthHeroConfig): {
16573
16720
  };
16574
16721
  };
16575
16722
  output: {
16576
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "fh" | "fimp" | "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" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16723
+ type: "fc" | "fd" | "fn" | "i" | "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" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "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" | "sestft" | "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";
16577
16724
  date: string;
16578
16725
  isMobile: boolean;
16579
16726
  log_id: string;
@@ -16612,7 +16759,7 @@ declare function init(config: AuthHeroConfig): {
16612
16759
  limit: number;
16613
16760
  length: number;
16614
16761
  logs: {
16615
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "fh" | "fimp" | "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" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16762
+ type: "fc" | "fd" | "fn" | "i" | "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" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "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" | "sestft" | "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";
16616
16763
  date: string;
16617
16764
  isMobile: boolean;
16618
16765
  log_id: string;
@@ -16651,7 +16798,7 @@ declare function init(config: AuthHeroConfig): {
16651
16798
  next?: string | undefined;
16652
16799
  } | {
16653
16800
  logs: {
16654
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "fh" | "fimp" | "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" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16801
+ type: "fc" | "fd" | "fn" | "i" | "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" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "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" | "sestft" | "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";
16655
16802
  date: string;
16656
16803
  isMobile: boolean;
16657
16804
  log_id: string;
@@ -16705,7 +16852,7 @@ declare function init(config: AuthHeroConfig): {
16705
16852
  };
16706
16853
  };
16707
16854
  output: {
16708
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "fh" | "fimp" | "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" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16855
+ type: "fc" | "fd" | "fn" | "i" | "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" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "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" | "sestft" | "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";
16709
16856
  date: string;
16710
16857
  isMobile: boolean;
16711
16858
  log_id: string;
@@ -16773,7 +16920,7 @@ declare function init(config: AuthHeroConfig): {
16773
16920
  [x: string]: hono_utils_types.JSONValue;
16774
16921
  } | undefined;
16775
16922
  name?: string | undefined;
16776
- source?: "invite" | "edit_link" | "registration" | "connect" | undefined;
16923
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
16777
16924
  ticket?: string | undefined;
16778
16925
  };
16779
16926
  outputFormat: "json";
@@ -16786,7 +16933,7 @@ declare function init(config: AuthHeroConfig): {
16786
16933
  input: {
16787
16934
  query: {
16788
16935
  type?: "iat" | "rat" | undefined;
16789
- source?: "invite" | "edit_link" | "registration" | "connect" | undefined;
16936
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
16790
16937
  client_id?: string | undefined;
16791
16938
  page?: string | undefined;
16792
16939
  per_page?: string | undefined;
@@ -16800,10 +16947,10 @@ declare function init(config: AuthHeroConfig): {
16800
16947
  output: {
16801
16948
  id: string;
16802
16949
  type: "iat" | "rat";
16803
- status: "revoked" | "expired" | "active" | "used";
16950
+ status: "active" | "revoked" | "expired" | "used";
16804
16951
  single_use: boolean;
16805
16952
  created_at: string;
16806
- source?: "invite" | "edit_link" | "registration" | "connect" | undefined;
16953
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
16807
16954
  name?: string | undefined;
16808
16955
  client_id?: string | undefined;
16809
16956
  sub?: string | undefined;
@@ -16818,10 +16965,10 @@ declare function init(config: AuthHeroConfig): {
16818
16965
  client_registration_tokens: {
16819
16966
  id: string;
16820
16967
  type: "iat" | "rat";
16821
- status: "revoked" | "expired" | "active" | "used";
16968
+ status: "active" | "revoked" | "expired" | "used";
16822
16969
  single_use: boolean;
16823
16970
  created_at: string;
16824
- source?: "invite" | "edit_link" | "registration" | "connect" | undefined;
16971
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
16825
16972
  name?: string | undefined;
16826
16973
  client_id?: string | undefined;
16827
16974
  sub?: string | undefined;
@@ -16857,10 +17004,10 @@ declare function init(config: AuthHeroConfig): {
16857
17004
  output: {
16858
17005
  id: string;
16859
17006
  type: "iat" | "rat";
16860
- status: "revoked" | "expired" | "active" | "used";
17007
+ status: "active" | "revoked" | "expired" | "used";
16861
17008
  single_use: boolean;
16862
17009
  created_at: string;
16863
- source?: "invite" | "edit_link" | "registration" | "connect" | undefined;
17010
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
16864
17011
  name?: string | undefined;
16865
17012
  client_id?: string | undefined;
16866
17013
  sub?: string | undefined;
@@ -18271,7 +18418,7 @@ declare function init(config: AuthHeroConfig): {
18271
18418
  } | undefined;
18272
18419
  } | undefined;
18273
18420
  passkey_options?: {
18274
- challenge_ui?: "button" | "both" | "autofill" | undefined;
18421
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
18275
18422
  local_enrollment_enabled?: boolean | undefined;
18276
18423
  progressive_enrollment_enabled?: boolean | undefined;
18277
18424
  } | undefined;
@@ -18284,6 +18431,21 @@ declare function init(config: AuthHeroConfig): {
18284
18431
  } | undefined;
18285
18432
  allow_action_users?: boolean | undefined;
18286
18433
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
18434
+ signInEndpoint?: string | undefined;
18435
+ signOutEndpoint?: string | undefined;
18436
+ signingCert?: string | undefined;
18437
+ signingCerts?: string[] | undefined;
18438
+ metadataUrl?: string | undefined;
18439
+ metadataXml?: string | undefined;
18440
+ signSAMLRequest?: boolean | undefined;
18441
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
18442
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
18443
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
18444
+ user_id_attribute?: string | undefined;
18445
+ fieldsMap?: {
18446
+ [x: string]: string | string[];
18447
+ } | undefined;
18448
+ entityId?: string | undefined;
18287
18449
  };
18288
18450
  scope?: "local" | "shared" | "platform" | undefined;
18289
18451
  override?: "none" | "secrets" | "fields" | undefined;
@@ -18433,7 +18595,7 @@ declare function init(config: AuthHeroConfig): {
18433
18595
  } | undefined;
18434
18596
  } | undefined;
18435
18597
  passkey_options?: {
18436
- challenge_ui?: "button" | "both" | "autofill" | undefined;
18598
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
18437
18599
  local_enrollment_enabled?: boolean | undefined;
18438
18600
  progressive_enrollment_enabled?: boolean | undefined;
18439
18601
  } | undefined;
@@ -18446,6 +18608,21 @@ declare function init(config: AuthHeroConfig): {
18446
18608
  } | undefined;
18447
18609
  allow_action_users?: boolean | undefined;
18448
18610
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
18611
+ signInEndpoint?: string | undefined;
18612
+ signOutEndpoint?: string | undefined;
18613
+ signingCert?: string | undefined;
18614
+ signingCerts?: string[] | undefined;
18615
+ metadataUrl?: string | undefined;
18616
+ metadataXml?: string | undefined;
18617
+ signSAMLRequest?: boolean | undefined;
18618
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
18619
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
18620
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
18621
+ user_id_attribute?: string | undefined;
18622
+ fieldsMap?: {
18623
+ [x: string]: string | string[];
18624
+ } | undefined;
18625
+ entityId?: string | undefined;
18449
18626
  };
18450
18627
  scope?: "local" | "shared" | "platform" | undefined;
18451
18628
  override?: "none" | "secrets" | "fields" | undefined;
@@ -18566,20 +18743,20 @@ declare function init(config: AuthHeroConfig): {
18566
18743
  };
18567
18744
  };
18568
18745
  output: {
18569
- type: "jwt_signing" | "saml_encryption";
18570
18746
  kid: string;
18571
18747
  cert: string;
18572
18748
  fingerprint: string;
18573
18749
  thumbprint: string;
18574
- connection?: string | undefined;
18750
+ type: "jwt_signing" | "saml_encryption";
18575
18751
  tenant_id?: string | undefined;
18576
- next?: boolean | undefined;
18577
- revoked_at?: string | undefined;
18578
18752
  current?: boolean | undefined;
18753
+ next?: boolean | undefined;
18579
18754
  previous?: boolean | undefined;
18580
18755
  current_since?: string | undefined;
18581
18756
  current_until?: string | undefined;
18582
18757
  revoked?: boolean | undefined;
18758
+ revoked_at?: string | undefined;
18759
+ connection?: string | undefined;
18583
18760
  expires_at?: string | undefined;
18584
18761
  expired?: boolean | undefined;
18585
18762
  inherited?: boolean | undefined;
@@ -18605,20 +18782,20 @@ declare function init(config: AuthHeroConfig): {
18605
18782
  };
18606
18783
  };
18607
18784
  output: {
18608
- type: "jwt_signing" | "saml_encryption";
18609
18785
  kid: string;
18610
18786
  cert: string;
18611
18787
  fingerprint: string;
18612
18788
  thumbprint: string;
18613
- connection?: string | undefined;
18789
+ type: "jwt_signing" | "saml_encryption";
18614
18790
  tenant_id?: string | undefined;
18615
- next?: boolean | undefined;
18616
- revoked_at?: string | undefined;
18617
18791
  current?: boolean | undefined;
18792
+ next?: boolean | undefined;
18618
18793
  previous?: boolean | undefined;
18619
18794
  current_since?: string | undefined;
18620
18795
  current_until?: string | undefined;
18621
18796
  revoked?: boolean | undefined;
18797
+ revoked_at?: string | undefined;
18798
+ connection?: string | undefined;
18622
18799
  expires_at?: string | undefined;
18623
18800
  expired?: boolean | undefined;
18624
18801
  inherited?: boolean | undefined;
@@ -18643,20 +18820,20 @@ declare function init(config: AuthHeroConfig): {
18643
18820
  };
18644
18821
  };
18645
18822
  output: {
18646
- type: "jwt_signing" | "saml_encryption";
18647
18823
  kid: string;
18648
18824
  cert: string;
18649
18825
  fingerprint: string;
18650
18826
  thumbprint: string;
18651
- connection?: string | undefined;
18827
+ type: "jwt_signing" | "saml_encryption";
18652
18828
  tenant_id?: string | undefined;
18653
- next?: boolean | undefined;
18654
- revoked_at?: string | undefined;
18655
18829
  current?: boolean | undefined;
18830
+ next?: boolean | undefined;
18656
18831
  previous?: boolean | undefined;
18657
18832
  current_since?: string | undefined;
18658
18833
  current_until?: string | undefined;
18659
18834
  revoked?: boolean | undefined;
18835
+ revoked_at?: string | undefined;
18836
+ connection?: string | undefined;
18660
18837
  expires_at?: string | undefined;
18661
18838
  expired?: boolean | undefined;
18662
18839
  inherited?: boolean | undefined;
@@ -18683,20 +18860,20 @@ declare function init(config: AuthHeroConfig): {
18683
18860
  };
18684
18861
  };
18685
18862
  output: {
18686
- type: "jwt_signing" | "saml_encryption";
18687
18863
  kid: string;
18688
18864
  cert: string;
18689
18865
  fingerprint: string;
18690
18866
  thumbprint: string;
18691
- connection?: string | undefined;
18867
+ type: "jwt_signing" | "saml_encryption";
18692
18868
  tenant_id?: string | undefined;
18693
- next?: boolean | undefined;
18694
- revoked_at?: string | undefined;
18695
18869
  current?: boolean | undefined;
18870
+ next?: boolean | undefined;
18696
18871
  previous?: boolean | undefined;
18697
18872
  current_since?: string | undefined;
18698
18873
  current_until?: string | undefined;
18699
18874
  revoked?: boolean | undefined;
18875
+ revoked_at?: string | undefined;
18876
+ connection?: string | undefined;
18700
18877
  expires_at?: string | undefined;
18701
18878
  expired?: boolean | undefined;
18702
18879
  inherited?: boolean | undefined;
@@ -19615,10 +19792,11 @@ declare function init(config: AuthHeroConfig): {
19615
19792
  };
19616
19793
  output: {
19617
19794
  created_at: string;
19618
- user_id: string;
19619
19795
  id: string;
19620
19796
  client_id: string;
19797
+ user_id: string;
19621
19798
  rotating: boolean;
19799
+ login_id: string;
19622
19800
  device: {
19623
19801
  initial_user_agent: string;
19624
19802
  initial_ip: string;
@@ -19627,11 +19805,11 @@ declare function init(config: AuthHeroConfig): {
19627
19805
  last_ip: string;
19628
19806
  last_asn: string;
19629
19807
  };
19630
- login_id: string;
19631
19808
  resource_servers: {
19632
19809
  audience: string;
19633
19810
  scopes: string;
19634
19811
  }[];
19812
+ revoked_at?: string | undefined;
19635
19813
  session_transfer?: {
19636
19814
  client_id: string;
19637
19815
  family_id: string;
@@ -19645,16 +19823,16 @@ declare function init(config: AuthHeroConfig): {
19645
19823
  strategy_type: string;
19646
19824
  } | undefined;
19647
19825
  organization?: string | undefined;
19648
- revoked_at?: string | undefined;
19649
19826
  idle_expires_at?: string | undefined;
19650
19827
  last_exchanged_at?: string | undefined;
19651
19828
  }[] | {
19652
19829
  tokens: {
19653
19830
  created_at: string;
19654
- user_id: string;
19655
19831
  id: string;
19656
19832
  client_id: string;
19833
+ user_id: string;
19657
19834
  rotating: boolean;
19835
+ login_id: string;
19658
19836
  device: {
19659
19837
  initial_user_agent: string;
19660
19838
  initial_ip: string;
@@ -19663,11 +19841,11 @@ declare function init(config: AuthHeroConfig): {
19663
19841
  last_ip: string;
19664
19842
  last_asn: string;
19665
19843
  };
19666
- login_id: string;
19667
19844
  resource_servers: {
19668
19845
  audience: string;
19669
19846
  scopes: string;
19670
19847
  }[];
19848
+ revoked_at?: string | undefined;
19671
19849
  session_transfer?: {
19672
19850
  client_id: string;
19673
19851
  family_id: string;
@@ -19681,7 +19859,6 @@ declare function init(config: AuthHeroConfig): {
19681
19859
  strategy_type: string;
19682
19860
  } | undefined;
19683
19861
  organization?: string | undefined;
19684
- revoked_at?: string | undefined;
19685
19862
  idle_expires_at?: string | undefined;
19686
19863
  last_exchanged_at?: string | undefined;
19687
19864
  }[];
@@ -19692,10 +19869,11 @@ declare function init(config: AuthHeroConfig): {
19692
19869
  length: number;
19693
19870
  tokens: {
19694
19871
  created_at: string;
19695
- user_id: string;
19696
19872
  id: string;
19697
19873
  client_id: string;
19874
+ user_id: string;
19698
19875
  rotating: boolean;
19876
+ login_id: string;
19699
19877
  device: {
19700
19878
  initial_user_agent: string;
19701
19879
  initial_ip: string;
@@ -19704,11 +19882,11 @@ declare function init(config: AuthHeroConfig): {
19704
19882
  last_ip: string;
19705
19883
  last_asn: string;
19706
19884
  };
19707
- login_id: string;
19708
19885
  resource_servers: {
19709
19886
  audience: string;
19710
19887
  scopes: string;
19711
19888
  }[];
19889
+ revoked_at?: string | undefined;
19712
19890
  session_transfer?: {
19713
19891
  client_id: string;
19714
19892
  family_id: string;
@@ -19722,7 +19900,6 @@ declare function init(config: AuthHeroConfig): {
19722
19900
  strategy_type: string;
19723
19901
  } | undefined;
19724
19902
  organization?: string | undefined;
19725
- revoked_at?: string | undefined;
19726
19903
  idle_expires_at?: string | undefined;
19727
19904
  last_exchanged_at?: string | undefined;
19728
19905
  }[];
@@ -19805,7 +19982,7 @@ declare function init(config: AuthHeroConfig): {
19805
19982
  };
19806
19983
  };
19807
19984
  output: {
19808
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "fh" | "fimp" | "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" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
19985
+ type: "fc" | "fd" | "fn" | "i" | "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" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "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" | "sestft" | "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";
19809
19986
  date: string;
19810
19987
  isMobile: boolean;
19811
19988
  log_id: string;
@@ -19844,7 +20021,7 @@ declare function init(config: AuthHeroConfig): {
19844
20021
  limit: number;
19845
20022
  length: number;
19846
20023
  logs: {
19847
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "fh" | "fimp" | "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" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
20024
+ type: "fc" | "fd" | "fn" | "i" | "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" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "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" | "sestft" | "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";
19848
20025
  date: string;
19849
20026
  isMobile: boolean;
19850
20027
  log_id: string;
@@ -19883,7 +20060,7 @@ declare function init(config: AuthHeroConfig): {
19883
20060
  next?: string | undefined;
19884
20061
  } | {
19885
20062
  logs: {
19886
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "fh" | "fimp" | "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" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
20063
+ type: "fc" | "fd" | "fn" | "i" | "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" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "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" | "sestft" | "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";
19887
20064
  date: string;
19888
20065
  isMobile: boolean;
19889
20066
  log_id: string;
@@ -20269,7 +20446,7 @@ declare function init(config: AuthHeroConfig): {
20269
20446
  };
20270
20447
  } & {
20271
20448
  json: {
20272
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20449
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20273
20450
  body: string;
20274
20451
  from: string;
20275
20452
  subject: string;
@@ -20290,7 +20467,7 @@ declare function init(config: AuthHeroConfig): {
20290
20467
  };
20291
20468
  } & {
20292
20469
  json: {
20293
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20470
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20294
20471
  body: string;
20295
20472
  from: string;
20296
20473
  subject: string;
@@ -20302,7 +20479,7 @@ declare function init(config: AuthHeroConfig): {
20302
20479
  };
20303
20480
  };
20304
20481
  output: {
20305
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20482
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20306
20483
  body: string;
20307
20484
  from: string;
20308
20485
  subject: string;
@@ -20325,7 +20502,7 @@ declare function init(config: AuthHeroConfig): {
20325
20502
  };
20326
20503
  };
20327
20504
  output: {
20328
- name: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20505
+ name: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20329
20506
  body: string;
20330
20507
  subject: string;
20331
20508
  }[];
@@ -20338,7 +20515,7 @@ declare function init(config: AuthHeroConfig): {
20338
20515
  $get: {
20339
20516
  input: {
20340
20517
  param: {
20341
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20518
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20342
20519
  };
20343
20520
  } & {
20344
20521
  header: {
@@ -20351,7 +20528,7 @@ declare function init(config: AuthHeroConfig): {
20351
20528
  } | {
20352
20529
  input: {
20353
20530
  param: {
20354
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20531
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20355
20532
  };
20356
20533
  } & {
20357
20534
  header: {
@@ -20359,7 +20536,7 @@ declare function init(config: AuthHeroConfig): {
20359
20536
  };
20360
20537
  };
20361
20538
  output: {
20362
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20539
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20363
20540
  body: string;
20364
20541
  from: string;
20365
20542
  subject: string;
@@ -20378,7 +20555,7 @@ declare function init(config: AuthHeroConfig): {
20378
20555
  $put: {
20379
20556
  input: {
20380
20557
  param: {
20381
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20558
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20382
20559
  };
20383
20560
  } & {
20384
20561
  header: {
@@ -20386,7 +20563,7 @@ declare function init(config: AuthHeroConfig): {
20386
20563
  };
20387
20564
  } & {
20388
20565
  json: {
20389
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20566
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20390
20567
  body: string;
20391
20568
  subject: string;
20392
20569
  syntax?: "liquid" | undefined;
@@ -20398,7 +20575,7 @@ declare function init(config: AuthHeroConfig): {
20398
20575
  };
20399
20576
  };
20400
20577
  output: {
20401
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20578
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20402
20579
  body: string;
20403
20580
  from: string;
20404
20581
  subject: string;
@@ -20417,7 +20594,7 @@ declare function init(config: AuthHeroConfig): {
20417
20594
  $patch: {
20418
20595
  input: {
20419
20596
  param: {
20420
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20597
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20421
20598
  };
20422
20599
  } & {
20423
20600
  header: {
@@ -20425,7 +20602,7 @@ declare function init(config: AuthHeroConfig): {
20425
20602
  };
20426
20603
  } & {
20427
20604
  json: {
20428
- template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
20605
+ template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
20429
20606
  body?: string | undefined;
20430
20607
  from?: string | undefined;
20431
20608
  subject?: string | undefined;
@@ -20442,7 +20619,7 @@ declare function init(config: AuthHeroConfig): {
20442
20619
  } | {
20443
20620
  input: {
20444
20621
  param: {
20445
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20622
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20446
20623
  };
20447
20624
  } & {
20448
20625
  header: {
@@ -20450,7 +20627,7 @@ declare function init(config: AuthHeroConfig): {
20450
20627
  };
20451
20628
  } & {
20452
20629
  json: {
20453
- template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
20630
+ template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
20454
20631
  body?: string | undefined;
20455
20632
  from?: string | undefined;
20456
20633
  subject?: string | undefined;
@@ -20462,7 +20639,7 @@ declare function init(config: AuthHeroConfig): {
20462
20639
  };
20463
20640
  };
20464
20641
  output: {
20465
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20642
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20466
20643
  body: string;
20467
20644
  from: string;
20468
20645
  subject: string;
@@ -20481,7 +20658,7 @@ declare function init(config: AuthHeroConfig): {
20481
20658
  $delete: {
20482
20659
  input: {
20483
20660
  param: {
20484
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20661
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20485
20662
  };
20486
20663
  } & {
20487
20664
  header: {
@@ -20494,7 +20671,7 @@ declare function init(config: AuthHeroConfig): {
20494
20671
  } | {
20495
20672
  input: {
20496
20673
  param: {
20497
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20674
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20498
20675
  };
20499
20676
  } & {
20500
20677
  header: {
@@ -20511,7 +20688,7 @@ declare function init(config: AuthHeroConfig): {
20511
20688
  $post: {
20512
20689
  input: {
20513
20690
  param: {
20514
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20691
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
20515
20692
  };
20516
20693
  } & {
20517
20694
  header: {
@@ -20830,7 +21007,7 @@ declare function init(config: AuthHeroConfig): {
20830
21007
  type: "auth0_managed_certs" | "self_managed_certs";
20831
21008
  custom_domain_id: string;
20832
21009
  primary: boolean;
20833
- status: "pending" | "ready" | "disabled" | "pending_verification";
21010
+ status: "disabled" | "pending" | "ready" | "pending_verification";
20834
21011
  verification_method?: "txt" | undefined;
20835
21012
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
20836
21013
  domain_metadata?: {
@@ -20871,7 +21048,7 @@ declare function init(config: AuthHeroConfig): {
20871
21048
  type: "auth0_managed_certs" | "self_managed_certs";
20872
21049
  custom_domain_id: string;
20873
21050
  primary: boolean;
20874
- status: "pending" | "ready" | "disabled" | "pending_verification";
21051
+ status: "disabled" | "pending" | "ready" | "pending_verification";
20875
21052
  verification_method?: "txt" | undefined;
20876
21053
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
20877
21054
  domain_metadata?: {
@@ -20935,7 +21112,7 @@ declare function init(config: AuthHeroConfig): {
20935
21112
  type: "auth0_managed_certs" | "self_managed_certs";
20936
21113
  custom_domain_id: string;
20937
21114
  primary: boolean;
20938
- status: "pending" | "ready" | "disabled" | "pending_verification";
21115
+ status: "disabled" | "pending" | "ready" | "pending_verification";
20939
21116
  verification_method?: "txt" | undefined;
20940
21117
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
20941
21118
  domain_metadata?: {
@@ -20982,7 +21159,7 @@ declare function init(config: AuthHeroConfig): {
20982
21159
  type: "auth0_managed_certs" | "self_managed_certs";
20983
21160
  custom_domain_id: string;
20984
21161
  primary: boolean;
20985
- status: "pending" | "ready" | "disabled" | "pending_verification";
21162
+ status: "disabled" | "pending" | "ready" | "pending_verification";
20986
21163
  verification_method?: "txt" | undefined;
20987
21164
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
20988
21165
  domain_metadata?: {
@@ -21028,7 +21205,7 @@ declare function init(config: AuthHeroConfig): {
21028
21205
  type: "auth0_managed_certs" | "self_managed_certs";
21029
21206
  custom_domain_id: string;
21030
21207
  primary: boolean;
21031
- status: "pending" | "ready" | "disabled" | "pending_verification";
21208
+ status: "disabled" | "pending" | "ready" | "pending_verification";
21032
21209
  verification_method?: "txt" | undefined;
21033
21210
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
21034
21211
  domain_metadata?: {
@@ -21069,7 +21246,7 @@ declare function init(config: AuthHeroConfig): {
21069
21246
  type: "auth0_managed_certs" | "self_managed_certs";
21070
21247
  custom_domain_id: string;
21071
21248
  primary: boolean;
21072
- status: "pending" | "ready" | "disabled" | "pending_verification";
21249
+ status: "disabled" | "pending" | "ready" | "pending_verification";
21073
21250
  verification_method?: "txt" | undefined;
21074
21251
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
21075
21252
  domain_metadata?: {
@@ -21626,7 +21803,7 @@ declare function init(config: AuthHeroConfig): {
21626
21803
  };
21627
21804
  output: {};
21628
21805
  outputFormat: string;
21629
- status: 204;
21806
+ status: 400;
21630
21807
  } | {
21631
21808
  input: {
21632
21809
  header: {
@@ -21639,7 +21816,7 @@ declare function init(config: AuthHeroConfig): {
21639
21816
  };
21640
21817
  output: {};
21641
21818
  outputFormat: string;
21642
- status: 400;
21819
+ status: 204;
21643
21820
  };
21644
21821
  };
21645
21822
  } & {
@@ -21665,7 +21842,7 @@ declare function init(config: AuthHeroConfig): {
21665
21842
  } & {
21666
21843
  json: {
21667
21844
  body?: string | undefined;
21668
- screen?: "error" | "password" | "mfa" | "otp" | "login" | "identifier" | "signup" | "consent" | undefined;
21845
+ screen?: "error" | "identifier" | "signup" | "password" | "mfa" | "otp" | "login" | "consent" | undefined;
21669
21846
  branding?: {
21670
21847
  colors?: {
21671
21848
  primary: string;
@@ -22014,7 +22191,7 @@ declare function init(config: AuthHeroConfig): {
22014
22191
  logs: {
22015
22192
  action_name: string;
22016
22193
  lines: {
22017
- level: "error" | "info" | "log" | "warn" | "debug";
22194
+ level: "error" | "log" | "info" | "warn" | "debug";
22018
22195
  message: string;
22019
22196
  }[];
22020
22197
  }[];
@@ -22939,7 +23116,7 @@ declare function init(config: AuthHeroConfig): {
22939
23116
  args: hono_utils_types.JSONValue[];
22940
23117
  }[];
22941
23118
  logs: {
22942
- level: "error" | "info" | "log" | "warn" | "debug";
23119
+ level: "error" | "log" | "info" | "warn" | "debug";
22943
23120
  message: string;
22944
23121
  }[];
22945
23122
  error?: string | undefined;
@@ -23025,8 +23202,11 @@ declare function init(config: AuthHeroConfig): {
23025
23202
  "/": {
23026
23203
  $post: {
23027
23204
  input: {
23205
+ query: {
23206
+ connection?: string | undefined;
23207
+ };
23208
+ } & {
23028
23209
  form: {
23029
- state: string;
23030
23210
  code?: string | undefined;
23031
23211
  scope?: string | undefined;
23032
23212
  hd?: string | undefined;
@@ -23034,6 +23214,9 @@ declare function init(config: AuthHeroConfig): {
23034
23214
  error_description?: string | undefined;
23035
23215
  error_code?: string | undefined;
23036
23216
  error_reason?: string | undefined;
23217
+ state?: string | undefined;
23218
+ SAMLResponse?: string | undefined;
23219
+ RelayState?: string | undefined;
23037
23220
  };
23038
23221
  };
23039
23222
  output: {};
@@ -23041,8 +23224,11 @@ declare function init(config: AuthHeroConfig): {
23041
23224
  status: 302;
23042
23225
  } | {
23043
23226
  input: {
23227
+ query: {
23228
+ connection?: string | undefined;
23229
+ };
23230
+ } & {
23044
23231
  form: {
23045
- state: string;
23046
23232
  code?: string | undefined;
23047
23233
  scope?: string | undefined;
23048
23234
  hd?: string | undefined;
@@ -23050,6 +23236,9 @@ declare function init(config: AuthHeroConfig): {
23050
23236
  error_description?: string | undefined;
23051
23237
  error_code?: string | undefined;
23052
23238
  error_reason?: string | undefined;
23239
+ state?: string | undefined;
23240
+ SAMLResponse?: string | undefined;
23241
+ RelayState?: string | undefined;
23053
23242
  };
23054
23243
  };
23055
23244
  output: {
@@ -23059,8 +23248,11 @@ declare function init(config: AuthHeroConfig): {
23059
23248
  status: 400;
23060
23249
  } | {
23061
23250
  input: {
23251
+ query: {
23252
+ connection?: string | undefined;
23253
+ };
23254
+ } & {
23062
23255
  form: {
23063
- state: string;
23064
23256
  code?: string | undefined;
23065
23257
  scope?: string | undefined;
23066
23258
  hd?: string | undefined;
@@ -23068,6 +23260,9 @@ declare function init(config: AuthHeroConfig): {
23068
23260
  error_description?: string | undefined;
23069
23261
  error_code?: string | undefined;
23070
23262
  error_reason?: string | undefined;
23263
+ state?: string | undefined;
23264
+ SAMLResponse?: string | undefined;
23265
+ RelayState?: string | undefined;
23071
23266
  };
23072
23267
  };
23073
23268
  output: {
@@ -23137,8 +23332,11 @@ declare function init(config: AuthHeroConfig): {
23137
23332
  "/": {
23138
23333
  $post: {
23139
23334
  input: {
23335
+ query: {
23336
+ connection?: string | undefined;
23337
+ };
23338
+ } & {
23140
23339
  form: {
23141
- state: string;
23142
23340
  code?: string | undefined;
23143
23341
  scope?: string | undefined;
23144
23342
  hd?: string | undefined;
@@ -23146,6 +23344,9 @@ declare function init(config: AuthHeroConfig): {
23146
23344
  error_description?: string | undefined;
23147
23345
  error_code?: string | undefined;
23148
23346
  error_reason?: string | undefined;
23347
+ state?: string | undefined;
23348
+ SAMLResponse?: string | undefined;
23349
+ RelayState?: string | undefined;
23149
23350
  };
23150
23351
  };
23151
23352
  output: {};
@@ -23153,8 +23354,11 @@ declare function init(config: AuthHeroConfig): {
23153
23354
  status: 302;
23154
23355
  } | {
23155
23356
  input: {
23357
+ query: {
23358
+ connection?: string | undefined;
23359
+ };
23360
+ } & {
23156
23361
  form: {
23157
- state: string;
23158
23362
  code?: string | undefined;
23159
23363
  scope?: string | undefined;
23160
23364
  hd?: string | undefined;
@@ -23162,6 +23366,9 @@ declare function init(config: AuthHeroConfig): {
23162
23366
  error_description?: string | undefined;
23163
23367
  error_code?: string | undefined;
23164
23368
  error_reason?: string | undefined;
23369
+ state?: string | undefined;
23370
+ SAMLResponse?: string | undefined;
23371
+ RelayState?: string | undefined;
23165
23372
  };
23166
23373
  };
23167
23374
  output: {
@@ -23171,8 +23378,11 @@ declare function init(config: AuthHeroConfig): {
23171
23378
  status: 400;
23172
23379
  } | {
23173
23380
  input: {
23381
+ query: {
23382
+ connection?: string | undefined;
23383
+ };
23384
+ } & {
23174
23385
  form: {
23175
- state: string;
23176
23386
  code?: string | undefined;
23177
23387
  scope?: string | undefined;
23178
23388
  hd?: string | undefined;
@@ -23180,6 +23390,9 @@ declare function init(config: AuthHeroConfig): {
23180
23390
  error_description?: string | undefined;
23181
23391
  error_code?: string | undefined;
23182
23392
  error_reason?: string | undefined;
23393
+ state?: string | undefined;
23394
+ SAMLResponse?: string | undefined;
23395
+ RelayState?: string | undefined;
23183
23396
  };
23184
23397
  };
23185
23398
  output: {
@@ -23540,18 +23753,11 @@ declare function init(config: AuthHeroConfig): {
23540
23753
  session_transfer_token?: string | undefined;
23541
23754
  };
23542
23755
  };
23543
- output: string | {
23544
- access_token: string;
23545
- token_type: string;
23546
- expires_in: number;
23547
- id_token?: string | undefined;
23548
- scope?: string | undefined;
23549
- state?: string | undefined;
23550
- refresh_token?: string | undefined;
23551
- issued_token_type?: string | undefined;
23756
+ output: {
23757
+ message: string;
23552
23758
  };
23553
23759
  outputFormat: "json";
23554
- status: 200;
23760
+ status: 400;
23555
23761
  } | {
23556
23762
  input: {
23557
23763
  query: {
@@ -23585,11 +23791,18 @@ declare function init(config: AuthHeroConfig): {
23585
23791
  session_transfer_token?: string | undefined;
23586
23792
  };
23587
23793
  };
23588
- output: {
23589
- message: string;
23794
+ output: string | {
23795
+ access_token: string;
23796
+ token_type: string;
23797
+ expires_in: number;
23798
+ id_token?: string | undefined;
23799
+ scope?: string | undefined;
23800
+ state?: string | undefined;
23801
+ refresh_token?: string | undefined;
23802
+ issued_token_type?: string | undefined;
23590
23803
  };
23591
23804
  outputFormat: "json";
23592
- status: 400;
23805
+ status: 200;
23593
23806
  } | {
23594
23807
  input: {
23595
23808
  query: {
@@ -23712,16 +23925,16 @@ declare function init(config: AuthHeroConfig): {
23712
23925
  send: "code" | "link";
23713
23926
  authParams: {
23714
23927
  scope?: string | undefined;
23715
- state?: string | undefined;
23716
- connection?: string | undefined;
23928
+ response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
23929
+ response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
23717
23930
  username?: string | undefined;
23718
23931
  audience?: string | undefined;
23932
+ connection?: string | undefined;
23933
+ nonce?: string | undefined;
23934
+ state?: string | undefined;
23719
23935
  act_as?: string | undefined;
23720
- response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
23721
- response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
23722
23936
  redirect_uri?: string | undefined;
23723
23937
  organization?: string | undefined;
23724
- nonce?: string | undefined;
23725
23938
  prompt?: string | undefined;
23726
23939
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
23727
23940
  code_challenge?: string | undefined;
@@ -23749,16 +23962,16 @@ declare function init(config: AuthHeroConfig): {
23749
23962
  send: "code" | "link";
23750
23963
  authParams: {
23751
23964
  scope?: string | undefined;
23752
- state?: string | undefined;
23753
- connection?: string | undefined;
23965
+ response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
23966
+ response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
23754
23967
  username?: string | undefined;
23755
23968
  audience?: string | undefined;
23969
+ connection?: string | undefined;
23970
+ nonce?: string | undefined;
23971
+ state?: string | undefined;
23756
23972
  act_as?: string | undefined;
23757
- response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
23758
- response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
23759
23973
  redirect_uri?: string | undefined;
23760
23974
  organization?: string | undefined;
23761
- nonce?: string | undefined;
23762
23975
  prompt?: string | undefined;
23763
23976
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
23764
23977
  code_challenge?: string | undefined;
@@ -23965,7 +24178,7 @@ declare function init(config: AuthHeroConfig): {
23965
24178
  };
23966
24179
  output: {};
23967
24180
  outputFormat: string;
23968
- status: 302;
24181
+ status: 400;
23969
24182
  } | {
23970
24183
  input: {
23971
24184
  query: {
@@ -23975,7 +24188,7 @@ declare function init(config: AuthHeroConfig): {
23975
24188
  };
23976
24189
  output: {};
23977
24190
  outputFormat: string;
23978
- status: 400;
24191
+ status: 302;
23979
24192
  };
23980
24193
  };
23981
24194
  }, "/activate"> & hono_types.MergeSchemaPath<{
@@ -23987,7 +24200,7 @@ declare function init(config: AuthHeroConfig): {
23987
24200
  client_secret?: string | undefined;
23988
24201
  scope?: string | undefined;
23989
24202
  audience?: string | undefined;
23990
- include_qr_code?: boolean | "true" | "false" | undefined;
24203
+ include_qr_code?: boolean | "false" | "true" | undefined;
23991
24204
  };
23992
24205
  } & {
23993
24206
  json: {
@@ -23995,20 +24208,15 @@ declare function init(config: AuthHeroConfig): {
23995
24208
  client_secret?: string | undefined;
23996
24209
  scope?: string | undefined;
23997
24210
  audience?: string | undefined;
23998
- include_qr_code?: boolean | "true" | "false" | undefined;
24211
+ include_qr_code?: boolean | "false" | "true" | undefined;
23999
24212
  };
24000
24213
  };
24001
24214
  output: {
24002
- device_code: string;
24003
- user_code: string;
24004
- verification_uri: string;
24005
- verification_uri_complete: string;
24006
- expires_in: number;
24007
- interval: number;
24008
- qr_code?: string | undefined;
24215
+ error: string;
24216
+ error_description?: string | undefined;
24009
24217
  };
24010
24218
  outputFormat: "json";
24011
- status: 200;
24219
+ status: 400;
24012
24220
  } | {
24013
24221
  input: {
24014
24222
  form: {
@@ -24016,7 +24224,7 @@ declare function init(config: AuthHeroConfig): {
24016
24224
  client_secret?: string | undefined;
24017
24225
  scope?: string | undefined;
24018
24226
  audience?: string | undefined;
24019
- include_qr_code?: boolean | "true" | "false" | undefined;
24227
+ include_qr_code?: boolean | "false" | "true" | undefined;
24020
24228
  };
24021
24229
  } & {
24022
24230
  json: {
@@ -24024,15 +24232,20 @@ declare function init(config: AuthHeroConfig): {
24024
24232
  client_secret?: string | undefined;
24025
24233
  scope?: string | undefined;
24026
24234
  audience?: string | undefined;
24027
- include_qr_code?: boolean | "true" | "false" | undefined;
24235
+ include_qr_code?: boolean | "false" | "true" | undefined;
24028
24236
  };
24029
24237
  };
24030
24238
  output: {
24031
- error: string;
24032
- error_description?: string | undefined;
24239
+ device_code: string;
24240
+ user_code: string;
24241
+ verification_uri: string;
24242
+ verification_uri_complete: string;
24243
+ expires_in: number;
24244
+ interval: number;
24245
+ qr_code?: string | undefined;
24033
24246
  };
24034
24247
  outputFormat: "json";
24035
- status: 400;
24248
+ status: 200;
24036
24249
  } | {
24037
24250
  input: {
24038
24251
  form: {
@@ -24040,7 +24253,7 @@ declare function init(config: AuthHeroConfig): {
24040
24253
  client_secret?: string | undefined;
24041
24254
  scope?: string | undefined;
24042
24255
  audience?: string | undefined;
24043
- include_qr_code?: boolean | "true" | "false" | undefined;
24256
+ include_qr_code?: boolean | "false" | "true" | undefined;
24044
24257
  };
24045
24258
  } & {
24046
24259
  json: {
@@ -24048,7 +24261,7 @@ declare function init(config: AuthHeroConfig): {
24048
24261
  client_secret?: string | undefined;
24049
24262
  scope?: string | undefined;
24050
24263
  audience?: string | undefined;
24051
- include_qr_code?: boolean | "true" | "false" | undefined;
24264
+ include_qr_code?: boolean | "false" | "true" | undefined;
24052
24265
  };
24053
24266
  };
24054
24267
  output: {
@@ -24064,7 +24277,7 @@ declare function init(config: AuthHeroConfig): {
24064
24277
  client_secret?: string | undefined;
24065
24278
  scope?: string | undefined;
24066
24279
  audience?: string | undefined;
24067
- include_qr_code?: boolean | "true" | "false" | undefined;
24280
+ include_qr_code?: boolean | "false" | "true" | undefined;
24068
24281
  };
24069
24282
  } & {
24070
24283
  json: {
@@ -24072,7 +24285,7 @@ declare function init(config: AuthHeroConfig): {
24072
24285
  client_secret?: string | undefined;
24073
24286
  scope?: string | undefined;
24074
24287
  audience?: string | undefined;
24075
- include_qr_code?: boolean | "true" | "false" | undefined;
24288
+ include_qr_code?: boolean | "false" | "true" | undefined;
24076
24289
  };
24077
24290
  };
24078
24291
  output: {
@@ -24365,17 +24578,11 @@ declare function init(config: AuthHeroConfig): {
24365
24578
  };
24366
24579
  };
24367
24580
  output: {
24368
- access_token: string;
24369
- token_type: string;
24370
- expires_in: number;
24371
- id_token?: string | undefined;
24372
- scope?: string | undefined;
24373
- state?: string | undefined;
24374
- refresh_token?: string | undefined;
24375
- issued_token_type?: string | undefined;
24581
+ error: string;
24582
+ error_description?: string | undefined;
24376
24583
  };
24377
24584
  outputFormat: "json";
24378
- status: 200;
24585
+ status: 400;
24379
24586
  } | {
24380
24587
  input: {
24381
24588
  form: {
@@ -24515,11 +24722,17 @@ declare function init(config: AuthHeroConfig): {
24515
24722
  };
24516
24723
  };
24517
24724
  output: {
24518
- error: string;
24519
- error_description?: string | undefined;
24725
+ access_token: string;
24726
+ token_type: string;
24727
+ expires_in: number;
24728
+ id_token?: string | undefined;
24729
+ scope?: string | undefined;
24730
+ state?: string | undefined;
24731
+ refresh_token?: string | undefined;
24732
+ issued_token_type?: string | undefined;
24520
24733
  };
24521
24734
  outputFormat: "json";
24522
- status: 400;
24735
+ status: 200;
24523
24736
  } | {
24524
24737
  input: {
24525
24738
  form: {
@@ -25013,7 +25226,7 @@ declare function init(config: AuthHeroConfig): {
25013
25226
  };
25014
25227
  output: {};
25015
25228
  outputFormat: string;
25016
- status: 200;
25229
+ status: 400;
25017
25230
  } | {
25018
25231
  input: {
25019
25232
  query: {
@@ -25027,7 +25240,7 @@ declare function init(config: AuthHeroConfig): {
25027
25240
  };
25028
25241
  output: {};
25029
25242
  outputFormat: string;
25030
- status: 302;
25243
+ status: 200;
25031
25244
  } | {
25032
25245
  input: {
25033
25246
  query: {
@@ -25041,7 +25254,7 @@ declare function init(config: AuthHeroConfig): {
25041
25254
  };
25042
25255
  output: {};
25043
25256
  outputFormat: string;
25044
- status: 400;
25257
+ status: 302;
25045
25258
  };
25046
25259
  };
25047
25260
  }, "/oidc/logout"> & hono_types.MergeSchemaPath<{
@@ -25055,7 +25268,7 @@ declare function init(config: AuthHeroConfig): {
25055
25268
  };
25056
25269
  output: {};
25057
25270
  outputFormat: string;
25058
- status: 302;
25271
+ status: 400;
25059
25272
  } | {
25060
25273
  input: {
25061
25274
  query: {
@@ -25065,7 +25278,7 @@ declare function init(config: AuthHeroConfig): {
25065
25278
  };
25066
25279
  output: {};
25067
25280
  outputFormat: string;
25068
- status: 400;
25281
+ status: 302;
25069
25282
  };
25070
25283
  };
25071
25284
  }, "/v2/logout">, "/">;
@@ -25073,6 +25286,37 @@ declare function init(config: AuthHeroConfig): {
25073
25286
  Bindings: Bindings;
25074
25287
  Variables: Variables;
25075
25288
  }, hono_types.MergeSchemaPath<{
25289
+ "/metadata": {
25290
+ $get: {
25291
+ input: {
25292
+ query: {
25293
+ connection: string;
25294
+ };
25295
+ };
25296
+ output: Response;
25297
+ outputFormat: "json";
25298
+ status: hono_utils_http_status.StatusCode;
25299
+ } | {
25300
+ input: {
25301
+ query: {
25302
+ connection: string;
25303
+ };
25304
+ };
25305
+ output: {};
25306
+ outputFormat: string;
25307
+ status: 400;
25308
+ } | {
25309
+ input: {
25310
+ query: {
25311
+ connection: string;
25312
+ };
25313
+ };
25314
+ output: {};
25315
+ outputFormat: string;
25316
+ status: 404;
25317
+ };
25318
+ };
25319
+ } & {
25076
25320
  "/metadata/:client_id": {
25077
25321
  $get: {
25078
25322
  input: {
@@ -25109,9 +25353,9 @@ declare function init(config: AuthHeroConfig): {
25109
25353
  Signature?: string | undefined;
25110
25354
  };
25111
25355
  };
25112
- output: Response;
25113
- outputFormat: "json";
25114
- status: hono_utils_http_status.StatusCode;
25356
+ output: {};
25357
+ outputFormat: string;
25358
+ status: 400;
25115
25359
  } | {
25116
25360
  input: {
25117
25361
  param: {
@@ -25127,7 +25371,39 @@ declare function init(config: AuthHeroConfig): {
25127
25371
  };
25128
25372
  output: {};
25129
25373
  outputFormat: string;
25374
+ status: 302;
25375
+ };
25376
+ };
25377
+ } & {
25378
+ "/:client_id": {
25379
+ $post: {
25380
+ input: {
25381
+ param: {
25382
+ client_id: string;
25383
+ };
25384
+ } & {
25385
+ form: {
25386
+ SAMLRequest: string;
25387
+ RelayState?: string | undefined;
25388
+ };
25389
+ };
25390
+ output: {};
25391
+ outputFormat: string;
25130
25392
  status: 400;
25393
+ } | {
25394
+ input: {
25395
+ param: {
25396
+ client_id: string;
25397
+ };
25398
+ } & {
25399
+ form: {
25400
+ SAMLRequest: string;
25401
+ RelayState?: string | undefined;
25402
+ };
25403
+ };
25404
+ output: {};
25405
+ outputFormat: string;
25406
+ status: 302;
25131
25407
  };
25132
25408
  };
25133
25409
  } & {
@@ -25147,7 +25423,7 @@ declare function init(config: AuthHeroConfig): {
25147
25423
  };
25148
25424
  output: {};
25149
25425
  outputFormat: string;
25150
- status: 200;
25426
+ status: 400;
25151
25427
  } | {
25152
25428
  input: {
25153
25429
  param: {
@@ -25163,7 +25439,7 @@ declare function init(config: AuthHeroConfig): {
25163
25439
  };
25164
25440
  output: {};
25165
25441
  outputFormat: string;
25166
- status: 302;
25442
+ status: 200;
25167
25443
  } | {
25168
25444
  input: {
25169
25445
  param: {
@@ -25179,7 +25455,7 @@ declare function init(config: AuthHeroConfig): {
25179
25455
  };
25180
25456
  output: {};
25181
25457
  outputFormat: string;
25182
- status: 400;
25458
+ status: 302;
25183
25459
  };
25184
25460
  };
25185
25461
  } & {
@@ -25197,7 +25473,7 @@ declare function init(config: AuthHeroConfig): {
25197
25473
  };
25198
25474
  output: {};
25199
25475
  outputFormat: string;
25200
- status: 200;
25476
+ status: 400;
25201
25477
  } | {
25202
25478
  input: {
25203
25479
  param: {
@@ -25211,7 +25487,7 @@ declare function init(config: AuthHeroConfig): {
25211
25487
  };
25212
25488
  output: {};
25213
25489
  outputFormat: string;
25214
- status: 302;
25490
+ status: 200;
25215
25491
  } | {
25216
25492
  input: {
25217
25493
  param: {
@@ -25225,7 +25501,7 @@ declare function init(config: AuthHeroConfig): {
25225
25501
  };
25226
25502
  output: {};
25227
25503
  outputFormat: string;
25228
- status: 400;
25504
+ status: 302;
25229
25505
  };
25230
25506
  };
25231
25507
  }, "/">, "/">;
@@ -25256,7 +25532,7 @@ declare function init(config: AuthHeroConfig): {
25256
25532
  };
25257
25533
  output: {};
25258
25534
  outputFormat: string;
25259
- status: 302;
25535
+ status: 400;
25260
25536
  } | {
25261
25537
  input: {
25262
25538
  query: {
@@ -25265,7 +25541,7 @@ declare function init(config: AuthHeroConfig): {
25265
25541
  };
25266
25542
  output: {};
25267
25543
  outputFormat: string;
25268
- status: 400;
25544
+ status: 302;
25269
25545
  } | {
25270
25546
  input: {
25271
25547
  query: {
@@ -25355,7 +25631,7 @@ declare function init(config: AuthHeroConfig): {
25355
25631
  };
25356
25632
  output: {};
25357
25633
  outputFormat: string;
25358
- status: 200;
25634
+ status: 400;
25359
25635
  } | {
25360
25636
  input: {
25361
25637
  query: {
@@ -25364,7 +25640,7 @@ declare function init(config: AuthHeroConfig): {
25364
25640
  };
25365
25641
  output: {};
25366
25642
  outputFormat: string;
25367
- status: 400;
25643
+ status: 200;
25368
25644
  };
25369
25645
  };
25370
25646
  } & {
@@ -25394,7 +25670,7 @@ declare function init(config: AuthHeroConfig): {
25394
25670
  };
25395
25671
  output: {};
25396
25672
  outputFormat: string;
25397
- status: 302;
25673
+ status: 400;
25398
25674
  } | {
25399
25675
  input: {
25400
25676
  query: {
@@ -25407,7 +25683,7 @@ declare function init(config: AuthHeroConfig): {
25407
25683
  };
25408
25684
  output: {};
25409
25685
  outputFormat: string;
25410
- status: 400;
25686
+ status: 302;
25411
25687
  };
25412
25688
  };
25413
25689
  }, "/impersonate"> & hono_types.MergeSchemaPath<{
@@ -25749,7 +26025,7 @@ declare function init(config: AuthHeroConfig): {
25749
26025
  };
25750
26026
  output: {};
25751
26027
  outputFormat: string;
25752
- status: 302;
26028
+ status: 400;
25753
26029
  } | {
25754
26030
  input: {
25755
26031
  query: {
@@ -25763,7 +26039,7 @@ declare function init(config: AuthHeroConfig): {
25763
26039
  };
25764
26040
  output: {};
25765
26041
  outputFormat: string;
25766
- status: 400;
26042
+ status: 302;
25767
26043
  };
25768
26044
  };
25769
26045
  }, "/login/identifier"> & hono_types.MergeSchemaPath<{
@@ -26153,7 +26429,7 @@ declare function init(config: AuthHeroConfig): {
26153
26429
  $get: {
26154
26430
  input: {
26155
26431
  param: {
26156
- screen: "login" | "signup" | "consent" | "impersonate" | "reset-password" | "account" | "enter-password" | "invalid-session" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "try-connection-result" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26432
+ screen: "impersonate" | "signup" | "login" | "consent" | "reset-password" | "account" | "enter-password" | "try-connection-result" | "invalid-session" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/magic-link-sent" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "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/change-email" | "account/change-email/verify" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26157
26433
  };
26158
26434
  } & {
26159
26435
  query: {
@@ -26169,7 +26445,7 @@ declare function init(config: AuthHeroConfig): {
26169
26445
  } | {
26170
26446
  input: {
26171
26447
  param: {
26172
- screen: "login" | "signup" | "consent" | "impersonate" | "reset-password" | "account" | "enter-password" | "invalid-session" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "try-connection-result" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26448
+ screen: "impersonate" | "signup" | "login" | "consent" | "reset-password" | "account" | "enter-password" | "try-connection-result" | "invalid-session" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/magic-link-sent" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "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/change-email" | "account/change-email/verify" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26173
26449
  };
26174
26450
  } & {
26175
26451
  query: {
@@ -26181,11 +26457,11 @@ declare function init(config: AuthHeroConfig): {
26181
26457
  };
26182
26458
  output: {};
26183
26459
  outputFormat: string;
26184
- status: 302;
26460
+ status: 400;
26185
26461
  } | {
26186
26462
  input: {
26187
26463
  param: {
26188
- screen: "login" | "signup" | "consent" | "impersonate" | "reset-password" | "account" | "enter-password" | "invalid-session" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "try-connection-result" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26464
+ screen: "impersonate" | "signup" | "login" | "consent" | "reset-password" | "account" | "enter-password" | "try-connection-result" | "invalid-session" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/magic-link-sent" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "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/change-email" | "account/change-email/verify" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26189
26465
  };
26190
26466
  } & {
26191
26467
  query: {
@@ -26197,7 +26473,7 @@ declare function init(config: AuthHeroConfig): {
26197
26473
  };
26198
26474
  output: {};
26199
26475
  outputFormat: string;
26200
- status: 400;
26476
+ status: 302;
26201
26477
  };
26202
26478
  };
26203
26479
  } & {
@@ -26205,7 +26481,7 @@ declare function init(config: AuthHeroConfig): {
26205
26481
  $post: {
26206
26482
  input: {
26207
26483
  param: {
26208
- screen: "login" | "signup" | "consent" | "impersonate" | "reset-password" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "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" | "self-service/app" | "device/code" | "device/confirmation";
26484
+ screen: "impersonate" | "signup" | "login" | "consent" | "reset-password" | "enter-password" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/magic-link-sent" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "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/change-email" | "account/change-email/verify" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant" | "self-service/app" | "device/code" | "device/confirmation";
26209
26485
  };
26210
26486
  } & {
26211
26487
  query: {
@@ -26223,7 +26499,7 @@ declare function init(config: AuthHeroConfig): {
26223
26499
  } | {
26224
26500
  input: {
26225
26501
  param: {
26226
- screen: "login" | "signup" | "consent" | "impersonate" | "reset-password" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "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" | "self-service/app" | "device/code" | "device/confirmation";
26502
+ screen: "impersonate" | "signup" | "login" | "consent" | "reset-password" | "enter-password" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/magic-link-sent" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "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/change-email" | "account/change-email/verify" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant" | "self-service/app" | "device/code" | "device/confirmation";
26227
26503
  };
26228
26504
  } & {
26229
26505
  query: {
@@ -26264,7 +26540,7 @@ declare function init(config: AuthHeroConfig): {
26264
26540
  };
26265
26541
  output: {};
26266
26542
  outputFormat: string;
26267
- status: 302;
26543
+ status: 400;
26268
26544
  } | {
26269
26545
  input: {
26270
26546
  query: {
@@ -26273,7 +26549,7 @@ declare function init(config: AuthHeroConfig): {
26273
26549
  };
26274
26550
  output: {};
26275
26551
  outputFormat: string;
26276
- status: 400;
26552
+ status: 302;
26277
26553
  } | {
26278
26554
  input: {
26279
26555
  query: {