authhero 9.0.0 → 9.1.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/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/{p-52a70476.entry.js → p-cdfc4555.entry.js} +1 -1
- package/dist/assets/u/widget/{p-f6babd26.entry.js → p-eca60302.entry.js} +1 -1
- package/dist/authhero.cjs +143 -140
- package/dist/authhero.d.ts +88 -59
- package/dist/authhero.mjs +14326 -13074
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +3 -2
- package/dist/types/constants.d.ts +2 -0
- package/dist/types/generated/locale-types.d.ts +2 -0
- package/dist/types/helpers/client.d.ts +2 -2
- package/dist/types/helpers/revoke-user-sessions.d.ts +15 -0
- package/dist/types/helpers/scim/default-mapping.d.ts +10 -0
- package/dist/types/helpers/scim/discovery.d.ts +49 -0
- package/dist/types/helpers/scim/filter.d.ts +58 -0
- package/dist/types/helpers/scim/mint-token.d.ts +11 -0
- package/dist/types/helpers/scim/patch.d.ts +23 -0
- package/dist/types/helpers/scim/responses.d.ts +36 -0
- package/dist/types/helpers/scim/user-mapping.d.ts +76 -0
- package/dist/types/helpers/users.d.ts +73 -1
- package/dist/types/hooks/user-registration.d.ts +1 -0
- package/dist/types/index.d.ts +86 -57
- package/dist/types/middlewares/scim-auth.d.ts +19 -0
- package/dist/types/routes/auth-api/index.d.ts +14 -14
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +1 -1
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/failed-events.d.ts +1 -1
- package/dist/types/routes/management-api/forms.d.ts +14 -0
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +63 -38
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +6 -4
- package/dist/types/routes/management-api/scim.d.ts +187 -0
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/users-by-email.d.ts +1 -0
- package/dist/types/routes/management-api/users.d.ts +10 -2
- package/dist/types/routes/scim/index.d.ts +6 -0
- package/dist/types/routes/universal-login/common.d.ts +1 -0
- package/dist/types/routes/universal-login/screens/types.d.ts +9 -0
- package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/types/AuthError.d.ts +1 -1
- package/dist/types/utils/cookies.d.ts +11 -0
- package/package.json +6 -6
|
@@ -24,7 +24,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
output: {
|
|
27
|
-
type: "
|
|
27
|
+
type: "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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" | "i" | "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" | "sapi" | "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" | "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: "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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" | "i" | "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" | "sapi" | "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" | "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;
|
|
@@ -102,7 +102,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
102
102
|
next?: string | undefined;
|
|
103
103
|
} | {
|
|
104
104
|
logs: {
|
|
105
|
-
type: "
|
|
105
|
+
type: "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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" | "i" | "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" | "sapi" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
106
106
|
date: string;
|
|
107
107
|
isMobile: boolean;
|
|
108
108
|
log_id: string;
|
|
@@ -156,7 +156,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
158
|
output: {
|
|
159
|
-
type: "
|
|
159
|
+
type: "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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" | "i" | "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" | "sapi" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
160
160
|
date: string;
|
|
161
161
|
isMobile: boolean;
|
|
162
162
|
log_id: string;
|
|
@@ -735,10 +735,10 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
735
735
|
inviter: {
|
|
736
736
|
name?: string | undefined;
|
|
737
737
|
};
|
|
738
|
+
connection_id?: string | undefined;
|
|
738
739
|
id?: string | undefined;
|
|
739
740
|
app_metadata?: Record<string, any> | undefined;
|
|
740
741
|
user_metadata?: Record<string, any> | undefined;
|
|
741
|
-
connection_id?: string | undefined;
|
|
742
742
|
roles?: string[] | undefined;
|
|
743
743
|
send_invitation_email?: boolean | undefined;
|
|
744
744
|
ttl_sec?: number | undefined;
|
|
@@ -924,8 +924,8 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
924
924
|
};
|
|
925
925
|
} & {
|
|
926
926
|
json: {
|
|
927
|
-
assign_membership_on_login?: boolean | undefined;
|
|
928
927
|
show_as_button?: boolean | undefined;
|
|
928
|
+
assign_membership_on_login?: boolean | undefined;
|
|
929
929
|
is_signup_enabled?: boolean | undefined;
|
|
930
930
|
};
|
|
931
931
|
};
|
|
@@ -15,6 +15,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
15
15
|
universal_login_experience: "new" | "classic";
|
|
16
16
|
identifier_first: boolean;
|
|
17
17
|
password_first: boolean;
|
|
18
|
+
show_last_used_connection: boolean;
|
|
18
19
|
webauthn_platform_first_factor: boolean;
|
|
19
20
|
};
|
|
20
21
|
outputFormat: "json";
|
|
@@ -33,6 +34,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
33
34
|
universal_login_experience?: "new" | "classic" | undefined;
|
|
34
35
|
identifier_first?: boolean | undefined;
|
|
35
36
|
password_first?: boolean | undefined;
|
|
37
|
+
show_last_used_connection?: boolean | undefined;
|
|
36
38
|
webauthn_platform_first_factor?: boolean | undefined;
|
|
37
39
|
};
|
|
38
40
|
};
|
|
@@ -50,7 +52,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
50
52
|
};
|
|
51
53
|
};
|
|
52
54
|
output: {
|
|
53
|
-
prompt: "mfa" | "organizations" | "signup" | "
|
|
55
|
+
prompt: "login" | "mfa" | "organizations" | "status" | "signup" | "login-id" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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
56
|
language: string;
|
|
55
57
|
}[];
|
|
56
58
|
outputFormat: "json";
|
|
@@ -88,7 +90,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
88
90
|
$get: {
|
|
89
91
|
input: {
|
|
90
92
|
param: {
|
|
91
|
-
prompt: "mfa" | "organizations" | "signup" | "
|
|
93
|
+
prompt: "login" | "mfa" | "organizations" | "status" | "signup" | "login-id" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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
94
|
language: string;
|
|
93
95
|
};
|
|
94
96
|
} & {
|
|
@@ -110,7 +112,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
110
112
|
$put: {
|
|
111
113
|
input: {
|
|
112
114
|
param: {
|
|
113
|
-
prompt: "mfa" | "organizations" | "signup" | "
|
|
115
|
+
prompt: "login" | "mfa" | "organizations" | "status" | "signup" | "login-id" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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
116
|
language: string;
|
|
115
117
|
};
|
|
116
118
|
} & {
|
|
@@ -134,7 +136,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
134
136
|
$delete: {
|
|
135
137
|
input: {
|
|
136
138
|
param: {
|
|
137
|
-
prompt: "mfa" | "organizations" | "signup" | "
|
|
139
|
+
prompt: "login" | "mfa" | "organizations" | "status" | "signup" | "login-id" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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
140
|
language: string;
|
|
139
141
|
};
|
|
140
142
|
} & {
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
+
import { Bindings, Variables } from "../../types";
|
|
3
|
+
export declare const scimConfigurationRoutes: OpenAPIHono<{
|
|
4
|
+
Bindings: Bindings;
|
|
5
|
+
Variables: Variables;
|
|
6
|
+
}, {
|
|
7
|
+
"/": {
|
|
8
|
+
$get: {
|
|
9
|
+
input: {
|
|
10
|
+
header: {
|
|
11
|
+
"tenant-id"?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
output: {
|
|
15
|
+
connection_id: string;
|
|
16
|
+
connection_name: string;
|
|
17
|
+
strategy: string;
|
|
18
|
+
user_id_attribute: string;
|
|
19
|
+
mapping: {
|
|
20
|
+
scim: string;
|
|
21
|
+
auth0: string;
|
|
22
|
+
}[];
|
|
23
|
+
created_at: string;
|
|
24
|
+
updated_at: string;
|
|
25
|
+
};
|
|
26
|
+
outputFormat: "json";
|
|
27
|
+
status: 200;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
} & {
|
|
31
|
+
"/": {
|
|
32
|
+
$post: {
|
|
33
|
+
input: {
|
|
34
|
+
header: {
|
|
35
|
+
"tenant-id"?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
} & {
|
|
38
|
+
json: {
|
|
39
|
+
user_id_attribute?: string | undefined;
|
|
40
|
+
mapping?: {
|
|
41
|
+
scim: string;
|
|
42
|
+
auth0: string;
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
output: {
|
|
47
|
+
connection_id: string;
|
|
48
|
+
connection_name: string;
|
|
49
|
+
strategy: string;
|
|
50
|
+
user_id_attribute: string;
|
|
51
|
+
mapping: {
|
|
52
|
+
scim: string;
|
|
53
|
+
auth0: string;
|
|
54
|
+
}[];
|
|
55
|
+
created_at: string;
|
|
56
|
+
updated_at: string;
|
|
57
|
+
};
|
|
58
|
+
outputFormat: "json";
|
|
59
|
+
status: 201;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
} & {
|
|
63
|
+
"/": {
|
|
64
|
+
$patch: {
|
|
65
|
+
input: {
|
|
66
|
+
header: {
|
|
67
|
+
"tenant-id"?: string | undefined;
|
|
68
|
+
};
|
|
69
|
+
} & {
|
|
70
|
+
json: {
|
|
71
|
+
user_id_attribute?: string | undefined;
|
|
72
|
+
mapping?: {
|
|
73
|
+
scim: string;
|
|
74
|
+
auth0: string;
|
|
75
|
+
}[] | undefined;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
output: {
|
|
79
|
+
connection_id: string;
|
|
80
|
+
connection_name: string;
|
|
81
|
+
strategy: string;
|
|
82
|
+
user_id_attribute: string;
|
|
83
|
+
mapping: {
|
|
84
|
+
scim: string;
|
|
85
|
+
auth0: string;
|
|
86
|
+
}[];
|
|
87
|
+
created_at: string;
|
|
88
|
+
updated_at: string;
|
|
89
|
+
};
|
|
90
|
+
outputFormat: "json";
|
|
91
|
+
status: 200;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
} & {
|
|
95
|
+
"/": {
|
|
96
|
+
$delete: {
|
|
97
|
+
input: {
|
|
98
|
+
header: {
|
|
99
|
+
"tenant-id"?: string | undefined;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
output: {};
|
|
103
|
+
outputFormat: string;
|
|
104
|
+
status: 204;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
} & {
|
|
108
|
+
"/default-mapping": {
|
|
109
|
+
$get: {
|
|
110
|
+
input: {
|
|
111
|
+
header: {
|
|
112
|
+
"tenant-id"?: string | undefined;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
output: {
|
|
116
|
+
user_id_attribute: string;
|
|
117
|
+
mapping: {
|
|
118
|
+
scim: string;
|
|
119
|
+
auth0: string;
|
|
120
|
+
}[];
|
|
121
|
+
};
|
|
122
|
+
outputFormat: "json";
|
|
123
|
+
status: 200;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
} & {
|
|
127
|
+
"/tokens": {
|
|
128
|
+
$get: {
|
|
129
|
+
input: {
|
|
130
|
+
header: {
|
|
131
|
+
"tenant-id"?: string | undefined;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
output: {
|
|
135
|
+
token_id: string;
|
|
136
|
+
scopes: string[];
|
|
137
|
+
created_at: string;
|
|
138
|
+
valid_until?: string | undefined;
|
|
139
|
+
last_used_at?: string | undefined;
|
|
140
|
+
}[];
|
|
141
|
+
outputFormat: "json";
|
|
142
|
+
status: 200;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
} & {
|
|
146
|
+
"/tokens": {
|
|
147
|
+
$post: {
|
|
148
|
+
input: {
|
|
149
|
+
header: {
|
|
150
|
+
"tenant-id"?: string | undefined;
|
|
151
|
+
};
|
|
152
|
+
} & {
|
|
153
|
+
json: {
|
|
154
|
+
scopes?: string[] | undefined;
|
|
155
|
+
valid_until?: string | undefined;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
output: {
|
|
159
|
+
token_id: string;
|
|
160
|
+
scopes: string[];
|
|
161
|
+
created_at: string;
|
|
162
|
+
token: string;
|
|
163
|
+
valid_until?: string | undefined;
|
|
164
|
+
last_used_at?: string | undefined;
|
|
165
|
+
};
|
|
166
|
+
outputFormat: "json";
|
|
167
|
+
status: 201;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
} & {
|
|
171
|
+
"/tokens/:tokenId": {
|
|
172
|
+
$delete: {
|
|
173
|
+
input: {
|
|
174
|
+
header: {
|
|
175
|
+
"tenant-id"?: string | undefined;
|
|
176
|
+
};
|
|
177
|
+
} & {
|
|
178
|
+
param: {
|
|
179
|
+
tokenId: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
output: {};
|
|
183
|
+
outputFormat: string;
|
|
184
|
+
status: 204;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
}, "/">;
|
|
@@ -211,6 +211,12 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
211
211
|
} & {
|
|
212
212
|
json: {
|
|
213
213
|
audience?: string | undefined;
|
|
214
|
+
id?: string | undefined;
|
|
215
|
+
allowed_logout_urls?: string[] | undefined;
|
|
216
|
+
oidc_logout?: {
|
|
217
|
+
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
218
|
+
} | undefined;
|
|
219
|
+
default_organization?: string | undefined;
|
|
214
220
|
friendly_name?: string | undefined;
|
|
215
221
|
picture_url?: string | undefined;
|
|
216
222
|
support_email?: string | undefined;
|
|
@@ -224,7 +230,6 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
224
230
|
session_cookie?: {
|
|
225
231
|
mode?: "persistent" | "non-persistent" | undefined;
|
|
226
232
|
} | undefined;
|
|
227
|
-
allowed_logout_urls?: string[] | undefined;
|
|
228
233
|
default_redirection_uri?: string | undefined;
|
|
229
234
|
default_client_id?: string | undefined;
|
|
230
235
|
enabled_locales?: string[] | undefined;
|
|
@@ -298,13 +303,9 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
298
303
|
} | undefined;
|
|
299
304
|
} | null | undefined;
|
|
300
305
|
default_audience?: string | undefined;
|
|
301
|
-
default_organization?: string | undefined;
|
|
302
306
|
sessions?: {
|
|
303
307
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
304
308
|
} | undefined;
|
|
305
|
-
oidc_logout?: {
|
|
306
|
-
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
307
|
-
} | undefined;
|
|
308
309
|
allow_organization_name_in_authentication_api?: boolean | undefined;
|
|
309
310
|
customize_mfa_in_postlogin_action?: boolean | undefined;
|
|
310
311
|
acr_values_supported?: string[] | undefined;
|
|
@@ -385,7 +386,6 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
385
386
|
message?: string | undefined;
|
|
386
387
|
} | undefined;
|
|
387
388
|
} | undefined;
|
|
388
|
-
id?: string | undefined;
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
391
|
output: {
|
|
@@ -55,6 +55,7 @@ export declare const usersByEmailRoutes: OpenAPIHono<{
|
|
|
55
55
|
verify_email?: boolean | undefined;
|
|
56
56
|
last_ip?: string | undefined;
|
|
57
57
|
last_login?: string | undefined;
|
|
58
|
+
blocked?: boolean | undefined;
|
|
58
59
|
registration_completed_at?: string | undefined;
|
|
59
60
|
email?: string | undefined;
|
|
60
61
|
identities?: {
|
|
@@ -64,6 +64,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
64
64
|
verify_email?: boolean | undefined;
|
|
65
65
|
last_ip?: string | undefined;
|
|
66
66
|
last_login?: string | undefined;
|
|
67
|
+
blocked?: boolean | undefined;
|
|
67
68
|
identities?: {
|
|
68
69
|
connection: string;
|
|
69
70
|
user_id: string;
|
|
@@ -134,6 +135,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
134
135
|
verify_email?: boolean | undefined;
|
|
135
136
|
last_ip?: string | undefined;
|
|
136
137
|
last_login?: string | undefined;
|
|
138
|
+
blocked?: boolean | undefined;
|
|
137
139
|
identities?: {
|
|
138
140
|
connection: string;
|
|
139
141
|
user_id: string;
|
|
@@ -204,6 +206,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
204
206
|
verify_email?: boolean | undefined;
|
|
205
207
|
last_ip?: string | undefined;
|
|
206
208
|
last_login?: string | undefined;
|
|
209
|
+
blocked?: boolean | undefined;
|
|
207
210
|
identities?: {
|
|
208
211
|
connection: string;
|
|
209
212
|
user_id: string;
|
|
@@ -289,6 +292,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
289
292
|
verify_email?: boolean | undefined;
|
|
290
293
|
last_ip?: string | undefined;
|
|
291
294
|
last_login?: string | undefined;
|
|
295
|
+
blocked?: boolean | undefined;
|
|
292
296
|
identities?: {
|
|
293
297
|
connection: string;
|
|
294
298
|
user_id: string;
|
|
@@ -382,6 +386,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
382
386
|
user_id?: string | undefined;
|
|
383
387
|
provider?: string | undefined;
|
|
384
388
|
is_social?: boolean | undefined;
|
|
389
|
+
blocked?: boolean | undefined;
|
|
385
390
|
registration_completed_at?: string | undefined;
|
|
386
391
|
password?: string | undefined;
|
|
387
392
|
};
|
|
@@ -427,6 +432,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
427
432
|
verify_email?: boolean | undefined;
|
|
428
433
|
last_ip?: string | undefined;
|
|
429
434
|
last_login?: string | undefined;
|
|
435
|
+
blocked?: boolean | undefined;
|
|
430
436
|
identities?: {
|
|
431
437
|
connection: string;
|
|
432
438
|
user_id: string;
|
|
@@ -503,6 +509,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
503
509
|
provider?: string | undefined;
|
|
504
510
|
connection?: string | undefined;
|
|
505
511
|
is_social?: boolean | undefined;
|
|
512
|
+
blocked?: boolean | undefined;
|
|
506
513
|
registration_completed_at?: string | undefined;
|
|
507
514
|
verify_email?: boolean | undefined;
|
|
508
515
|
password?: string | undefined;
|
|
@@ -620,6 +627,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
620
627
|
verify_email?: boolean | undefined;
|
|
621
628
|
last_ip?: string | undefined;
|
|
622
629
|
last_login?: string | undefined;
|
|
630
|
+
blocked?: boolean | undefined;
|
|
623
631
|
identities?: {
|
|
624
632
|
connection: string;
|
|
625
633
|
user_id: string;
|
|
@@ -809,7 +817,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
809
817
|
};
|
|
810
818
|
};
|
|
811
819
|
output: {
|
|
812
|
-
type: "
|
|
820
|
+
type: "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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" | "i" | "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" | "sapi" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
813
821
|
date: string;
|
|
814
822
|
isMobile: boolean;
|
|
815
823
|
log_id: string;
|
|
@@ -848,7 +856,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
848
856
|
limit: number;
|
|
849
857
|
length: number;
|
|
850
858
|
logs: {
|
|
851
|
-
type: "
|
|
859
|
+
type: "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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" | "i" | "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" | "sapi" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
852
860
|
date: string;
|
|
853
861
|
isMobile: boolean;
|
|
854
862
|
log_id: string;
|
|
@@ -1253,6 +1253,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1253
1253
|
verify_email?: boolean | undefined;
|
|
1254
1254
|
last_ip?: string | undefined;
|
|
1255
1255
|
last_login?: string | undefined;
|
|
1256
|
+
blocked?: boolean | undefined;
|
|
1256
1257
|
registration_completed_at?: string | undefined;
|
|
1257
1258
|
email?: string | undefined;
|
|
1258
1259
|
identities?: {
|
|
@@ -165,3 +165,12 @@ export interface ScreenDefinition {
|
|
|
165
165
|
* Returns "/u2/login" for password-first or "/u2/login/identifier" for identifier-first.
|
|
166
166
|
*/
|
|
167
167
|
export declare function getLoginPath(context: ScreenContext): Promise<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Resolve the "Last used" connection hint for the identifier/login screens.
|
|
170
|
+
*
|
|
171
|
+
* Returns the connection name from the device cookie, but only when the
|
|
172
|
+
* tenant has opted in via promptSettings.show_last_used_connection and the
|
|
173
|
+
* named connection is still available on this client — a stale cookie for a
|
|
174
|
+
* removed connection must not badge anything.
|
|
175
|
+
*/
|
|
176
|
+
export declare function getLastUsedConnection(context: ScreenContext): Promise<string | undefined>;
|
|
@@ -165,7 +165,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
165
165
|
$get: {
|
|
166
166
|
input: {
|
|
167
167
|
param: {
|
|
168
|
-
screen: "
|
|
168
|
+
screen: "login" | "signup" | "consent" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
169
169
|
};
|
|
170
170
|
} & {
|
|
171
171
|
query: {
|
|
@@ -181,7 +181,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
181
181
|
} | {
|
|
182
182
|
input: {
|
|
183
183
|
param: {
|
|
184
|
-
screen: "
|
|
184
|
+
screen: "login" | "signup" | "consent" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
185
185
|
};
|
|
186
186
|
} & {
|
|
187
187
|
query: {
|
|
@@ -197,7 +197,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
197
197
|
} | {
|
|
198
198
|
input: {
|
|
199
199
|
param: {
|
|
200
|
-
screen: "
|
|
200
|
+
screen: "login" | "signup" | "consent" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
201
201
|
};
|
|
202
202
|
} & {
|
|
203
203
|
query: {
|
|
@@ -217,7 +217,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
217
217
|
$post: {
|
|
218
218
|
input: {
|
|
219
219
|
param: {
|
|
220
|
-
screen: "
|
|
220
|
+
screen: "login" | "signup" | "consent" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
221
221
|
};
|
|
222
222
|
} & {
|
|
223
223
|
query: {
|
|
@@ -235,7 +235,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
235
235
|
} | {
|
|
236
236
|
input: {
|
|
237
237
|
param: {
|
|
238
|
-
screen: "
|
|
238
|
+
screen: "login" | "signup" | "consent" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
239
239
|
};
|
|
240
240
|
} & {
|
|
241
241
|
query: {
|