authhero 8.20.0 → 8.21.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 +136 -136
- package/dist/authhero.d.ts +182 -115
- package/dist/authhero.mjs +14055 -16300
- 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 +182 -115
- package/dist/types/routes/auth-api/index.d.ts +28 -28
- 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/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 +3 -1
- package/dist/types/routes/management-api/branding.d.ts +1 -1
- package/dist/types/routes/management-api/client-grants.d.ts +24 -8
- package/dist/types/routes/management-api/clients.d.ts +14 -13
- package/dist/types/routes/management-api/connections.d.ts +16 -15
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/flows.d.ts +1 -0
- package/dist/types/routes/management-api/forms.d.ts +1 -0
- package/dist/types/routes/management-api/grants.d.ts +1 -0
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/hooks.d.ts +1 -0
- package/dist/types/routes/management-api/index.d.ts +152 -85
- package/dist/types/routes/management-api/logs.d.ts +4 -3
- package/dist/types/routes/management-api/organizations.d.ts +37 -3
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/resource-servers.d.ts +1 -0
- package/dist/types/routes/management-api/roles.d.ts +2 -0
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +1 -1
- package/dist/types/routes/management-api/users.d.ts +7 -2
- package/dist/types/routes/universal-login/common.d.ts +8 -8
- 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 +2 -2
- package/package.json +5 -5
|
@@ -24,7 +24,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
output: {
|
|
27
|
-
type: "
|
|
27
|
+
type: "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" | "f" | "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" | "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";
|
|
28
28
|
date: string;
|
|
29
29
|
isMobile: boolean;
|
|
30
30
|
log_id: string;
|
|
@@ -63,7 +63,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
63
63
|
limit: number;
|
|
64
64
|
length: number;
|
|
65
65
|
logs: {
|
|
66
|
-
type: "
|
|
66
|
+
type: "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" | "f" | "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" | "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";
|
|
67
67
|
date: string;
|
|
68
68
|
isMobile: boolean;
|
|
69
69
|
log_id: string;
|
|
@@ -99,6 +99,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
99
99
|
} | undefined;
|
|
100
100
|
}[];
|
|
101
101
|
total?: number | undefined;
|
|
102
|
+
next?: string | undefined;
|
|
102
103
|
};
|
|
103
104
|
outputFormat: "json";
|
|
104
105
|
status: 200;
|
|
@@ -117,7 +118,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
117
118
|
};
|
|
118
119
|
};
|
|
119
120
|
output: {
|
|
120
|
-
type: "
|
|
121
|
+
type: "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" | "f" | "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" | "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";
|
|
121
122
|
date: string;
|
|
122
123
|
isMobile: boolean;
|
|
123
124
|
log_id: string;
|
|
@@ -87,6 +87,39 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
87
87
|
} | undefined;
|
|
88
88
|
}[];
|
|
89
89
|
total?: number | undefined;
|
|
90
|
+
next?: string | undefined;
|
|
91
|
+
} | {
|
|
92
|
+
organizations: {
|
|
93
|
+
created_at: string;
|
|
94
|
+
updated_at: string;
|
|
95
|
+
id: string;
|
|
96
|
+
name: string;
|
|
97
|
+
display_name?: string | undefined;
|
|
98
|
+
branding?: {
|
|
99
|
+
logo_url?: string | undefined;
|
|
100
|
+
colors?: {
|
|
101
|
+
primary?: string | undefined;
|
|
102
|
+
page_background?: string | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
metadata?: {
|
|
106
|
+
[x: string]: any;
|
|
107
|
+
} | undefined;
|
|
108
|
+
enabled_connections?: {
|
|
109
|
+
connection_id: string;
|
|
110
|
+
assign_membership_on_login: boolean;
|
|
111
|
+
show_as_button: boolean;
|
|
112
|
+
is_signup_enabled: boolean;
|
|
113
|
+
}[] | undefined;
|
|
114
|
+
token_quota?: {
|
|
115
|
+
client_credentials?: {
|
|
116
|
+
enforce: boolean;
|
|
117
|
+
per_day: number;
|
|
118
|
+
per_hour: number;
|
|
119
|
+
} | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
}[];
|
|
122
|
+
next?: string | undefined;
|
|
90
123
|
};
|
|
91
124
|
outputFormat: "json";
|
|
92
125
|
status: 200;
|
|
@@ -703,10 +736,10 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
703
736
|
email?: string | undefined;
|
|
704
737
|
};
|
|
705
738
|
id?: string | undefined;
|
|
706
|
-
app_metadata?: Record<string, any> | undefined;
|
|
707
|
-
user_metadata?: Record<string, any> | undefined;
|
|
708
739
|
connection_id?: string | undefined;
|
|
709
740
|
roles?: string[] | undefined;
|
|
741
|
+
app_metadata?: Record<string, any> | undefined;
|
|
742
|
+
user_metadata?: Record<string, any> | undefined;
|
|
710
743
|
ttl_sec?: number | undefined;
|
|
711
744
|
send_invitation_email?: boolean | undefined;
|
|
712
745
|
};
|
|
@@ -807,6 +840,7 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
807
840
|
updated_at?: string | undefined;
|
|
808
841
|
}[];
|
|
809
842
|
total?: number | undefined;
|
|
843
|
+
next?: string | undefined;
|
|
810
844
|
};
|
|
811
845
|
outputFormat: "json";
|
|
812
846
|
status: 200;
|
|
@@ -890,8 +924,8 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
890
924
|
};
|
|
891
925
|
} & {
|
|
892
926
|
json: {
|
|
893
|
-
show_as_button?: boolean | undefined;
|
|
894
927
|
assign_membership_on_login?: boolean | undefined;
|
|
928
|
+
show_as_button?: boolean | undefined;
|
|
895
929
|
is_signup_enabled?: boolean | undefined;
|
|
896
930
|
};
|
|
897
931
|
};
|
|
@@ -50,7 +50,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
output: {
|
|
53
|
-
prompt: "status" | "
|
|
53
|
+
prompt: "status" | "organizations" | "invitation" | "signup" | "mfa" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
54
54
|
language: string;
|
|
55
55
|
}[];
|
|
56
56
|
outputFormat: "json";
|
|
@@ -88,7 +88,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
88
88
|
$get: {
|
|
89
89
|
input: {
|
|
90
90
|
param: {
|
|
91
|
-
prompt: "status" | "
|
|
91
|
+
prompt: "status" | "organizations" | "invitation" | "signup" | "mfa" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
92
92
|
language: string;
|
|
93
93
|
};
|
|
94
94
|
} & {
|
|
@@ -110,7 +110,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
110
110
|
$put: {
|
|
111
111
|
input: {
|
|
112
112
|
param: {
|
|
113
|
-
prompt: "status" | "
|
|
113
|
+
prompt: "status" | "organizations" | "invitation" | "signup" | "mfa" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
114
114
|
language: string;
|
|
115
115
|
};
|
|
116
116
|
} & {
|
|
@@ -134,7 +134,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
134
134
|
$delete: {
|
|
135
135
|
input: {
|
|
136
136
|
param: {
|
|
137
|
-
prompt: "status" | "
|
|
137
|
+
prompt: "status" | "organizations" | "invitation" | "signup" | "mfa" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
138
138
|
language: string;
|
|
139
139
|
};
|
|
140
140
|
} & {
|
|
@@ -49,6 +49,7 @@ export declare const roleRoutes: OpenAPIHono<{
|
|
|
49
49
|
updated_at?: string | undefined;
|
|
50
50
|
}[];
|
|
51
51
|
total?: number | undefined;
|
|
52
|
+
next?: string | undefined;
|
|
52
53
|
};
|
|
53
54
|
outputFormat: "json";
|
|
54
55
|
status: 200;
|
|
@@ -204,6 +205,7 @@ export declare const roleRoutes: OpenAPIHono<{
|
|
|
204
205
|
created_at: string;
|
|
205
206
|
}[];
|
|
206
207
|
total?: number | undefined;
|
|
208
|
+
next?: string | undefined;
|
|
207
209
|
};
|
|
208
210
|
outputFormat: "json";
|
|
209
211
|
status: 200;
|
|
@@ -8,8 +8,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
8
8
|
$get: {
|
|
9
9
|
input: {
|
|
10
10
|
query: {
|
|
11
|
-
include_password_hashes?: "
|
|
12
|
-
gzip?: "
|
|
11
|
+
include_password_hashes?: "false" | "true" | undefined;
|
|
12
|
+
gzip?: "false" | "true" | undefined;
|
|
13
13
|
};
|
|
14
14
|
} & {
|
|
15
15
|
header: {
|
|
@@ -22,8 +22,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
query: {
|
|
25
|
-
include_password_hashes?: "
|
|
26
|
-
gzip?: "
|
|
25
|
+
include_password_hashes?: "false" | "true" | undefined;
|
|
26
|
+
gzip?: "false" | "true" | undefined;
|
|
27
27
|
};
|
|
28
28
|
} & {
|
|
29
29
|
header: {
|
|
@@ -42,7 +42,7 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
42
42
|
$post: {
|
|
43
43
|
input: {
|
|
44
44
|
query: {
|
|
45
|
-
include_password_hashes?: "
|
|
45
|
+
include_password_hashes?: "false" | "true" | undefined;
|
|
46
46
|
};
|
|
47
47
|
} & {
|
|
48
48
|
header: {
|
|
@@ -210,13 +210,13 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
210
210
|
};
|
|
211
211
|
} & {
|
|
212
212
|
json: {
|
|
213
|
+
audience?: string | undefined;
|
|
213
214
|
id?: string | undefined;
|
|
214
215
|
allowed_logout_urls?: string[] | undefined;
|
|
215
216
|
oidc_logout?: {
|
|
216
217
|
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
217
218
|
} | undefined;
|
|
218
219
|
default_organization?: string | undefined;
|
|
219
|
-
audience?: string | undefined;
|
|
220
220
|
friendly_name?: string | undefined;
|
|
221
221
|
picture_url?: string | undefined;
|
|
222
222
|
support_email?: string | undefined;
|
|
@@ -161,6 +161,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
161
161
|
}[] | undefined;
|
|
162
162
|
}[];
|
|
163
163
|
total?: number | undefined;
|
|
164
|
+
next?: string | undefined;
|
|
164
165
|
};
|
|
165
166
|
outputFormat: "json";
|
|
166
167
|
status: 200;
|
|
@@ -630,6 +631,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
630
631
|
updated_at?: string | undefined;
|
|
631
632
|
}[];
|
|
632
633
|
total?: number | undefined;
|
|
634
|
+
next?: string | undefined;
|
|
633
635
|
};
|
|
634
636
|
outputFormat: "json";
|
|
635
637
|
status: 200;
|
|
@@ -707,6 +709,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
707
709
|
idle_expires_at?: string | undefined;
|
|
708
710
|
}[];
|
|
709
711
|
total?: number | undefined;
|
|
712
|
+
next?: string | undefined;
|
|
710
713
|
};
|
|
711
714
|
outputFormat: "json";
|
|
712
715
|
status: 200;
|
|
@@ -737,7 +740,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
737
740
|
};
|
|
738
741
|
};
|
|
739
742
|
output: {
|
|
740
|
-
type: "
|
|
743
|
+
type: "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" | "f" | "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" | "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";
|
|
741
744
|
date: string;
|
|
742
745
|
isMobile: boolean;
|
|
743
746
|
log_id: string;
|
|
@@ -776,7 +779,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
776
779
|
limit: number;
|
|
777
780
|
length: number;
|
|
778
781
|
logs: {
|
|
779
|
-
type: "
|
|
782
|
+
type: "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" | "f" | "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" | "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";
|
|
780
783
|
date: string;
|
|
781
784
|
isMobile: boolean;
|
|
782
785
|
log_id: string;
|
|
@@ -812,6 +815,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
812
815
|
} | undefined;
|
|
813
816
|
}[];
|
|
814
817
|
total?: number | undefined;
|
|
818
|
+
next?: string | undefined;
|
|
815
819
|
};
|
|
816
820
|
outputFormat: "json";
|
|
817
821
|
status: 200;
|
|
@@ -1061,6 +1065,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1061
1065
|
} | undefined;
|
|
1062
1066
|
}[];
|
|
1063
1067
|
total?: number | undefined;
|
|
1068
|
+
next?: string | undefined;
|
|
1064
1069
|
};
|
|
1065
1070
|
outputFormat: "json";
|
|
1066
1071
|
status: 200;
|
|
@@ -357,7 +357,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
357
357
|
active?: boolean | undefined;
|
|
358
358
|
} | undefined;
|
|
359
359
|
signup?: {
|
|
360
|
-
status?: "
|
|
360
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
361
361
|
verification?: {
|
|
362
362
|
active?: boolean | undefined;
|
|
363
363
|
} | undefined;
|
|
@@ -374,7 +374,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
374
374
|
active?: boolean | undefined;
|
|
375
375
|
} | undefined;
|
|
376
376
|
signup?: {
|
|
377
|
-
status?: "
|
|
377
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
validation?: {
|
|
380
380
|
max_length?: number | undefined;
|
|
@@ -391,7 +391,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
391
391
|
active?: boolean | undefined;
|
|
392
392
|
} | undefined;
|
|
393
393
|
signup?: {
|
|
394
|
-
status?: "
|
|
394
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
395
395
|
} | undefined;
|
|
396
396
|
} | undefined;
|
|
397
397
|
} | undefined;
|
|
@@ -448,7 +448,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
448
448
|
custom_login_page_preview?: string | undefined;
|
|
449
449
|
form_template?: string | undefined;
|
|
450
450
|
addons?: Record<string, any> | undefined;
|
|
451
|
-
token_endpoint_auth_method?: "
|
|
451
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
|
|
452
452
|
client_metadata?: Record<string, string> | undefined;
|
|
453
453
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
454
454
|
mobile?: Record<string, any> | undefined;
|
|
@@ -1078,7 +1078,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1078
1078
|
active?: boolean | undefined;
|
|
1079
1079
|
} | undefined;
|
|
1080
1080
|
signup?: {
|
|
1081
|
-
status?: "
|
|
1081
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
1082
1082
|
verification?: {
|
|
1083
1083
|
active?: boolean | undefined;
|
|
1084
1084
|
} | undefined;
|
|
@@ -1095,7 +1095,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1095
1095
|
active?: boolean | undefined;
|
|
1096
1096
|
} | undefined;
|
|
1097
1097
|
signup?: {
|
|
1098
|
-
status?: "
|
|
1098
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
1099
1099
|
} | undefined;
|
|
1100
1100
|
validation?: {
|
|
1101
1101
|
max_length?: number | undefined;
|
|
@@ -1112,7 +1112,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1112
1112
|
active?: boolean | undefined;
|
|
1113
1113
|
} | undefined;
|
|
1114
1114
|
signup?: {
|
|
1115
|
-
status?: "
|
|
1115
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
1116
1116
|
} | undefined;
|
|
1117
1117
|
} | undefined;
|
|
1118
1118
|
} | undefined;
|
|
@@ -1169,7 +1169,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1169
1169
|
custom_login_page_preview?: string | undefined;
|
|
1170
1170
|
form_template?: string | undefined;
|
|
1171
1171
|
addons?: Record<string, any> | undefined;
|
|
1172
|
-
token_endpoint_auth_method?: "
|
|
1172
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
|
|
1173
1173
|
client_metadata?: Record<string, string> | undefined;
|
|
1174
1174
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
1175
1175
|
mobile?: Record<string, any> | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
27
27
|
output: {
|
|
28
28
|
screen: {
|
|
29
29
|
action: string;
|
|
30
|
-
method: "
|
|
30
|
+
method: "POST" | "GET";
|
|
31
31
|
components: {
|
|
32
32
|
id: string;
|
|
33
33
|
type: string;
|
|
@@ -107,7 +107,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
107
107
|
output: {
|
|
108
108
|
screen: {
|
|
109
109
|
action: string;
|
|
110
|
-
method: "
|
|
110
|
+
method: "POST" | "GET";
|
|
111
111
|
components: {
|
|
112
112
|
id: string;
|
|
113
113
|
type: string;
|
|
@@ -204,7 +204,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
204
204
|
output: {
|
|
205
205
|
screen: {
|
|
206
206
|
action: string;
|
|
207
|
-
method: "
|
|
207
|
+
method: "POST" | "GET";
|
|
208
208
|
components: {
|
|
209
209
|
id: string;
|
|
210
210
|
type: string;
|
|
@@ -319,7 +319,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
319
319
|
output: {
|
|
320
320
|
screen: {
|
|
321
321
|
action: string;
|
|
322
|
-
method: "
|
|
322
|
+
method: "POST" | "GET";
|
|
323
323
|
components: {
|
|
324
324
|
id: string;
|
|
325
325
|
type: string;
|
|
@@ -30,7 +30,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
30
30
|
} & {
|
|
31
31
|
form: {
|
|
32
32
|
username: string;
|
|
33
|
-
login_selection?: "
|
|
33
|
+
login_selection?: "password" | "code" | undefined;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
output: {};
|
|
@@ -44,7 +44,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
44
44
|
} & {
|
|
45
45
|
form: {
|
|
46
46
|
username: string;
|
|
47
|
-
login_selection?: "
|
|
47
|
+
login_selection?: "password" | "code" | undefined;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
output: {};
|
|
@@ -515,7 +515,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
515
515
|
} & {
|
|
516
516
|
form: {
|
|
517
517
|
username: string;
|
|
518
|
-
login_selection?: "
|
|
518
|
+
login_selection?: "password" | "code" | undefined;
|
|
519
519
|
};
|
|
520
520
|
};
|
|
521
521
|
output: {};
|
|
@@ -529,7 +529,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
529
529
|
} & {
|
|
530
530
|
form: {
|
|
531
531
|
username: string;
|
|
532
|
-
login_selection?: "
|
|
532
|
+
login_selection?: "password" | "code" | undefined;
|
|
533
533
|
};
|
|
534
534
|
};
|
|
535
535
|
output: {};
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
13
13
|
},
|
|
14
|
-
"version": "8.
|
|
14
|
+
"version": "8.21.0",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"vite": "^8.0.14",
|
|
64
64
|
"vite-plugin-dts": "^4.5.4",
|
|
65
65
|
"vitest": "^4.1.7",
|
|
66
|
-
"@authhero/kysely-adapter": "11.
|
|
67
|
-
"@authhero/widget": "0.34.
|
|
66
|
+
"@authhero/kysely-adapter": "11.16.0",
|
|
67
|
+
"@authhero/widget": "0.34.10"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@peculiar/x509": "^1.14.0",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"qrcode": "^1.5.4",
|
|
83
83
|
"sanitize-html": "^2.17.4",
|
|
84
84
|
"xstate": "^5.31.1",
|
|
85
|
-
"@authhero/adapter-interfaces": "3.
|
|
86
|
-
"@authhero/proxy": "0.
|
|
85
|
+
"@authhero/adapter-interfaces": "3.10.0",
|
|
86
|
+
"@authhero/proxy": "0.9.0",
|
|
87
87
|
"@authhero/saml": "0.4.2"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|