authhero 9.5.0 → 9.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +138 -138
- package/dist/authhero.d.ts +100 -100
- package/dist/authhero.mjs +9172 -9053
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/password.d.ts +1 -1
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/hooks/addDataHooks.d.ts +6 -0
- package/dist/types/index.d.ts +100 -100
- package/dist/types/routes/auth-api/authorize.d.ts +3 -3
- package/dist/types/routes/auth-api/index.d.ts +19 -19
- package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/management-api/branding.d.ts +3 -3
- package/dist/types/routes/management-api/clients.d.ts +16 -16
- package/dist/types/routes/management-api/email-templates.d.ts +20 -20
- package/dist/types/routes/management-api/failed-events.d.ts +1 -1
- package/dist/types/routes/management-api/forms.d.ts +126 -126
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/index.d.ts +68 -68
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +3 -3
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/tenants.d.ts +28 -28
- package/dist/types/routes/management-api/themes.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +6 -6
- package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/utils/email.d.ts +14 -0
- package/package.json +6 -6
|
@@ -37,4 +37,4 @@ export declare function changePassword(ctx: Context<{
|
|
|
37
37
|
export declare function requestPasswordReset(ctx: Context<{
|
|
38
38
|
Bindings: Bindings;
|
|
39
39
|
Variables: Variables;
|
|
40
|
-
}>, client: EnrichedClient,
|
|
40
|
+
}>, client: EnrichedClient, emailInput: string, state: string, verification_method?: "link" | "code", routePrefix?: string): Promise<void>;
|
|
@@ -24,10 +24,10 @@ export declare const dcrRequestSchema: z.ZodObject<{
|
|
|
24
24
|
response_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25
25
|
token_endpoint_auth_method: z.ZodOptional<z.ZodEnum<{
|
|
26
26
|
none: "none";
|
|
27
|
+
private_key_jwt: "private_key_jwt";
|
|
27
28
|
client_secret_post: "client_secret_post";
|
|
28
29
|
client_secret_basic: "client_secret_basic";
|
|
29
30
|
client_secret_jwt: "client_secret_jwt";
|
|
30
|
-
private_key_jwt: "private_key_jwt";
|
|
31
31
|
}>>;
|
|
32
32
|
jwks_uri: z.ZodOptional<z.ZodString>;
|
|
33
33
|
jwks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -9,6 +9,12 @@ import { Bindings, Variables } from "../types";
|
|
|
9
9
|
* that run pre/post hooks, apply the narrow transactional commits, and
|
|
10
10
|
* dispatch post-event outbox messages. `users.rawCreate` is NOT decorated —
|
|
11
11
|
* commit paths call it directly to bypass the hook layer by design.
|
|
12
|
+
*
|
|
13
|
+
* `email` is lowercased on the way in so the pre-commit hooks and lookups
|
|
14
|
+
* (`preUserSignupHook`, the email→primary linking query) see the same
|
|
15
|
+
* normalized value that will be stored. Hooks can assign `email` themselves
|
|
16
|
+
* after this point, so the decorators normalize again just before their
|
|
17
|
+
* commit — see `createUserHooks` / `createUserUpdateHooks`.
|
|
12
18
|
*/
|
|
13
19
|
export declare function addDataHooks(ctx: Context<{
|
|
14
20
|
Bindings: Bindings;
|