authhero 5.21.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +105 -105
- package/dist/authhero.d.ts +230 -230
- package/dist/authhero.mjs +9860 -9833
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +3 -3
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/index.d.ts +230 -230
- package/dist/types/routes/auth-api/index.d.ts +34 -34
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/actions.d.ts +2 -2
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/clients.d.ts +7 -7
- package/dist/types/routes/management-api/connections.d.ts +1 -1
- package/dist/types/routes/management-api/email-templates.d.ts +20 -20
- package/dist/types/routes/management-api/emails.d.ts +2 -2
- 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/index.d.ts +184 -184
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- 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/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +16 -16
- package/dist/types/routes/universal-login/form-node.d.ts +4 -4
- package/dist/types/routes/universal-login/index.d.ts +4 -4
- package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/strategies/microsoft-entra.d.ts +23 -0
- package/dist/types/strategies/waad.d.ts +24 -0
- package/dist/types/strategies/windowslive.d.ts +24 -0
- package/package.json +5 -5
|
@@ -457,7 +457,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
457
457
|
custom_login_page_preview?: string | undefined;
|
|
458
458
|
form_template?: string | undefined;
|
|
459
459
|
addons?: Record<string, any> | undefined;
|
|
460
|
-
token_endpoint_auth_method?: "none" | "
|
|
460
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
461
461
|
client_metadata?: Record<string, string> | undefined;
|
|
462
462
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
463
463
|
mobile?: Record<string, any> | undefined;
|
|
@@ -540,8 +540,8 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
540
540
|
} | undefined;
|
|
541
541
|
authenticated_at?: string | undefined;
|
|
542
542
|
};
|
|
543
|
-
connectionType: "username" | "
|
|
544
|
-
authConnection: "username" | "
|
|
543
|
+
connectionType: "username" | "sms" | "email";
|
|
544
|
+
authConnection: "username" | "sms" | "email";
|
|
545
545
|
session_id: string | undefined;
|
|
546
546
|
authParams: {
|
|
547
547
|
client_id: string;
|
|
@@ -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>>;
|