authhero 8.18.0 → 8.20.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 +106 -106
- package/dist/authhero.d.ts +197 -119
- package/dist/authhero.mjs +8376 -8234
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +1 -1
- package/dist/types/helpers/audit-target-types.d.ts +6 -0
- package/dist/types/helpers/default-destinations.d.ts +14 -4
- package/dist/types/helpers/hook-events.d.ts +35 -15
- package/dist/types/helpers/outbox-destinations/code-hooks.d.ts +56 -0
- package/dist/types/helpers/password-connection.d.ts +16 -0
- package/dist/types/helpers/run-outbox-relay.d.ts +8 -1
- package/dist/types/hooks/codehooks.d.ts +78 -9
- package/dist/types/hooks/link-users.d.ts +9 -1
- package/dist/types/hooks/user-registration.d.ts +8 -5
- package/dist/types/index.d.ts +116 -115
- package/dist/types/routes/auth-api/index.d.ts +10 -10
- package/dist/types/routes/management-api/clients.d.ts +2 -2
- package/dist/types/routes/management-api/connections.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +82 -82
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/tenants.d.ts +1 -1
- 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/types/IdToken.d.ts +1 -1
- package/package.json +5 -5
|
@@ -301,7 +301,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
301
301
|
scope?: string | undefined;
|
|
302
302
|
grant_types?: string[] | undefined;
|
|
303
303
|
response_types?: string[] | undefined;
|
|
304
|
-
token_endpoint_auth_method?: "none" | "
|
|
304
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
305
305
|
jwks_uri?: string | undefined;
|
|
306
306
|
jwks?: Record<string, unknown> | undefined;
|
|
307
307
|
software_id?: string | undefined;
|
|
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
390
390
|
scope?: string | undefined;
|
|
391
391
|
grant_types?: string[] | undefined;
|
|
392
392
|
response_types?: string[] | undefined;
|
|
393
|
-
token_endpoint_auth_method?: "none" | "
|
|
393
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
394
394
|
jwks_uri?: string | undefined;
|
|
395
395
|
jwks?: Record<string, unknown> | undefined;
|
|
396
396
|
software_id?: string | undefined;
|
|
@@ -736,16 +736,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
736
736
|
email: string;
|
|
737
737
|
send: "code" | "link";
|
|
738
738
|
authParams: {
|
|
739
|
-
audience?: string | undefined;
|
|
740
|
-
scope?: string | undefined;
|
|
741
739
|
username?: string | undefined;
|
|
742
740
|
state?: string | undefined;
|
|
743
|
-
|
|
741
|
+
audience?: string | undefined;
|
|
744
742
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
745
743
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
746
|
-
|
|
744
|
+
scope?: string | undefined;
|
|
747
745
|
organization?: string | undefined;
|
|
748
746
|
nonce?: string | undefined;
|
|
747
|
+
redirect_uri?: string | undefined;
|
|
748
|
+
act_as?: string | undefined;
|
|
749
749
|
prompt?: string | undefined;
|
|
750
750
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
751
751
|
code_challenge?: string | undefined;
|
|
@@ -772,16 +772,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
772
772
|
phone_number: string;
|
|
773
773
|
send: "code" | "link";
|
|
774
774
|
authParams: {
|
|
775
|
-
audience?: string | undefined;
|
|
776
|
-
scope?: string | undefined;
|
|
777
775
|
username?: string | undefined;
|
|
778
776
|
state?: string | undefined;
|
|
779
|
-
|
|
777
|
+
audience?: string | undefined;
|
|
780
778
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
781
779
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
782
|
-
|
|
780
|
+
scope?: string | undefined;
|
|
783
781
|
organization?: string | undefined;
|
|
784
782
|
nonce?: string | undefined;
|
|
783
|
+
redirect_uri?: string | undefined;
|
|
784
|
+
act_as?: string | undefined;
|
|
785
785
|
prompt?: string | undefined;
|
|
786
786
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
787
787
|
code_challenge?: string | undefined;
|
|
@@ -807,7 +807,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
807
807
|
} | undefined;
|
|
808
808
|
} | undefined;
|
|
809
809
|
passkey_options?: {
|
|
810
|
-
challenge_ui?: "
|
|
810
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
811
811
|
local_enrollment_enabled?: boolean | undefined;
|
|
812
812
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
813
813
|
} | undefined;
|
|
@@ -961,7 +961,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
961
961
|
} | undefined;
|
|
962
962
|
} | undefined;
|
|
963
963
|
passkey_options?: {
|
|
964
|
-
challenge_ui?: "
|
|
964
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
965
965
|
local_enrollment_enabled?: boolean | undefined;
|
|
966
966
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
967
967
|
} | undefined;
|
|
@@ -129,7 +129,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
129
129
|
} | undefined;
|
|
130
130
|
} | undefined;
|
|
131
131
|
passkey_options?: {
|
|
132
|
-
challenge_ui?: "
|
|
132
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
133
133
|
local_enrollment_enabled?: boolean | undefined;
|
|
134
134
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
135
135
|
} | undefined;
|
|
@@ -263,7 +263,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
263
263
|
} | undefined;
|
|
264
264
|
} | undefined;
|
|
265
265
|
passkey_options?: {
|
|
266
|
-
challenge_ui?: "
|
|
266
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
267
267
|
local_enrollment_enabled?: boolean | undefined;
|
|
268
268
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
269
269
|
} | undefined;
|
|
@@ -412,7 +412,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
412
412
|
} | undefined;
|
|
413
413
|
} | undefined;
|
|
414
414
|
passkey_options?: {
|
|
415
|
-
challenge_ui?: "
|
|
415
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
416
416
|
local_enrollment_enabled?: boolean | undefined;
|
|
417
417
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
418
418
|
} | undefined;
|
|
@@ -591,7 +591,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
591
591
|
} | undefined;
|
|
592
592
|
} | undefined;
|
|
593
593
|
passkey_options?: {
|
|
594
|
-
challenge_ui?: "
|
|
594
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
595
595
|
local_enrollment_enabled?: boolean | undefined;
|
|
596
596
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
597
597
|
} | undefined;
|
|
@@ -749,7 +749,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
749
749
|
} | undefined;
|
|
750
750
|
} | undefined;
|
|
751
751
|
passkey_options?: {
|
|
752
|
-
challenge_ui?: "
|
|
752
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
753
753
|
local_enrollment_enabled?: boolean | undefined;
|
|
754
754
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
755
755
|
} | undefined;
|