authhero 9.2.0 → 9.3.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 +143 -143
- package/dist/authhero.d.ts +305 -231
- package/dist/authhero.mjs +13637 -14012
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +6 -6
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +2 -2
- package/dist/types/index.d.ts +305 -231
- package/dist/types/oauth2-client/client.d.ts +50 -0
- package/dist/types/oauth2-client/index.d.ts +3 -0
- package/dist/types/oauth2-client/providers.d.ts +49 -0
- package/dist/types/routes/auth-api/index.d.ts +29 -29
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +3 -3
- package/dist/types/routes/management-api/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +14 -14
- package/dist/types/routes/management-api/connections.d.ts +16 -16
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- 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/hooks.d.ts +74 -0
- package/dist/types/routes/management-api/index.d.ts +261 -187
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/tenants.d.ts +28 -28
- package/dist/types/routes/universal-login/common.d.ts +8 -8
- package/dist/types/routes/universal-login/continue.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/identifier.d.ts +4 -4
- package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
- package/dist/types/strategies/internal-oauth2.d.ts +5 -5
- package/package.json +6 -7
|
@@ -368,7 +368,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
368
368
|
active?: boolean | undefined;
|
|
369
369
|
} | undefined;
|
|
370
370
|
signup?: {
|
|
371
|
-
status?: "
|
|
371
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
372
372
|
verification?: {
|
|
373
373
|
active?: boolean | undefined;
|
|
374
374
|
} | undefined;
|
|
@@ -385,7 +385,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
385
385
|
active?: boolean | undefined;
|
|
386
386
|
} | undefined;
|
|
387
387
|
signup?: {
|
|
388
|
-
status?: "
|
|
388
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
389
389
|
} | undefined;
|
|
390
390
|
validation?: {
|
|
391
391
|
max_length?: number | undefined;
|
|
@@ -402,7 +402,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
402
402
|
active?: boolean | undefined;
|
|
403
403
|
} | undefined;
|
|
404
404
|
signup?: {
|
|
405
|
-
status?: "
|
|
405
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
406
406
|
} | undefined;
|
|
407
407
|
} | undefined;
|
|
408
408
|
} | undefined;
|
|
@@ -467,7 +467,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
467
467
|
custom_login_page_preview?: string | undefined;
|
|
468
468
|
form_template?: string | undefined;
|
|
469
469
|
addons?: Record<string, any> | undefined;
|
|
470
|
-
token_endpoint_auth_method?: "
|
|
470
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
471
471
|
client_metadata?: Record<string, string> | undefined;
|
|
472
472
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
473
473
|
mobile?: Record<string, any> | undefined;
|
|
@@ -550,8 +550,8 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
550
550
|
} | undefined;
|
|
551
551
|
authenticated_at?: string | undefined;
|
|
552
552
|
};
|
|
553
|
-
connectionType: "
|
|
554
|
-
authConnection: "
|
|
553
|
+
connectionType: "username" | "sms" | "email";
|
|
554
|
+
authConnection: "username" | "sms" | "email";
|
|
555
555
|
session_id: string | undefined;
|
|
556
556
|
authParams: {
|
|
557
557
|
client_id: string;
|
|
@@ -23,11 +23,11 @@ export declare const dcrRequestSchema: z.ZodObject<{
|
|
|
23
23
|
grant_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
24
|
response_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25
25
|
token_endpoint_auth_method: z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
none: "none";
|
|
27
|
+
private_key_jwt: "private_key_jwt";
|
|
26
28
|
client_secret_post: "client_secret_post";
|
|
27
29
|
client_secret_basic: "client_secret_basic";
|
|
28
|
-
none: "none";
|
|
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>>;
|