authhero 9.37.0 → 9.39.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/README.md +13 -3
- 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-ce8560f6.entry.js → p-32247347.entry.js} +1 -1
- package/dist/assets/u/widget/p-3f908508.entry.js +1 -0
- package/dist/assets/u/widget/p-Wx4M-olY.js +2 -0
- package/dist/authhero.cjs +116 -95
- package/dist/authhero.d.ts +469 -306
- package/dist/authhero.mjs +17889 -16773
- package/dist/mfa-DMThiuUR.mjs +406 -0
- package/dist/mfa-Dh6nNiRX.js +4 -0
- package/dist/mfa-attempts-BaKbuGvZ.js +321 -0
- package/dist/{mfa-attempts-DDgCBTDW.mjs → mfa-attempts-O0x4jJzl.mjs} +6234 -6126
- package/dist/{passkey-enrollment-D6ZZmelw.js → passkey-enrollment-CSeOQWv1.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/mfa.d.ts +3 -1
- package/dist/types/emails/index.d.ts +33 -1
- package/dist/types/helpers/default-destinations.d.ts +14 -0
- package/dist/types/helpers/firehose-client.d.ts +29 -0
- package/dist/types/helpers/outbox-destinations/log-streams.d.ts +21 -1
- package/dist/types/helpers/prompt-partials.d.ts +1 -1
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/response-type-grants.d.ts +8 -0
- package/dist/types/helpers/run-outbox-relay.d.ts +9 -2
- package/dist/types/hooks/custom-notification-provider.d.ts +174 -0
- package/dist/types/hooks/lifecycle-codehooks.d.ts +2 -2
- package/dist/types/index.d.ts +431 -295
- package/dist/types/routes/auth-api/device.d.ts +8 -8
- package/dist/types/routes/auth-api/index.d.ts +30 -30
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/action-triggers.d.ts +27 -27
- package/dist/types/routes/management-api/actions.d.ts +14 -14
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding-preview.d.ts +9 -1
- package/dist/types/routes/management-api/branding-uploads.d.ts +4 -4
- package/dist/types/routes/management-api/branding.d.ts +125 -21
- package/dist/types/routes/management-api/client-registration-tokens.d.ts +3 -3
- package/dist/types/routes/management-api/clients.d.ts +18 -18
- package/dist/types/routes/management-api/connections.d.ts +8 -8
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/emails.d.ts +6 -6
- package/dist/types/routes/management-api/failed-events.d.ts +2 -2
- package/dist/types/routes/management-api/guardian.d.ts +6 -6
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/hooks.d.ts +56 -56
- package/dist/types/routes/management-api/index.d.ts +362 -258
- package/dist/types/routes/management-api/jobs.d.ts +2 -2
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- package/dist/types/routes/management-api/log-streams.d.ts +12 -12
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +5 -5
- package/dist/types/routes/management-api/prompts.d.ts +8 -8
- package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/self-service-profiles.d.ts +9 -9
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-members.d.ts +8 -8
- package/dist/types/routes/management-api/tenant-operations.d.ts +10 -10
- package/dist/types/routes/management-api/tenants.d.ts +13 -13
- package/dist/types/routes/management-api/themes.d.ts +78 -9
- package/dist/types/routes/management-api/users.d.ts +20 -20
- package/dist/types/routes/universal-login/common.d.ts +62 -10
- package/dist/types/routes/universal-login/continue.d.ts +35 -0
- package/dist/types/routes/universal-login/dark-theme.d.ts +25 -0
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- package/dist/types/routes/universal-login/legal-links.d.ts +18 -0
- package/dist/types/routes/universal-login/screen-prompt-map.d.ts +31 -0
- package/dist/types/routes/universal-login/screens/connect-authz.d.ts +13 -1
- package/dist/types/routes/universal-login/screens/login-partials.d.ts +9 -1
- package/dist/types/routes/universal-login/u2-index.d.ts +36 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-widget-page.d.ts +6 -1
- package/dist/types/routes/universal-login/universal-login-template.d.ts +1 -0
- package/dist/types/routes/universal-login/widget-assets.d.ts +20 -0
- package/dist/types/state-machines/login-session.d.ts +1 -1
- package/dist/types/types/AuthHeroConfig.d.ts +9 -1
- package/package.json +7 -6
- package/dist/assets/u/widget/p-FUW5zvoZ.js +0 -2
- package/dist/assets/u/widget/p-c6ec4c36.entry.js +0 -1
- package/dist/mfa-BpHxTir1.mjs +0 -128
- package/dist/mfa-DuNbh_YF.js +0 -1
- package/dist/mfa-attempts-D5U1FCSY.js +0 -275
|
@@ -890,11 +890,12 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
890
890
|
};
|
|
891
891
|
};
|
|
892
892
|
output: {
|
|
893
|
+
id: string;
|
|
894
|
+
created_at: string;
|
|
893
895
|
client_id: string;
|
|
894
896
|
user_id: string;
|
|
895
|
-
created_at: string;
|
|
896
897
|
rotating: boolean;
|
|
897
|
-
|
|
898
|
+
login_id: string;
|
|
898
899
|
device: {
|
|
899
900
|
initial_user_agent: string;
|
|
900
901
|
initial_ip: string;
|
|
@@ -903,7 +904,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
903
904
|
last_ip: string;
|
|
904
905
|
last_asn: string;
|
|
905
906
|
};
|
|
906
|
-
login_id: string;
|
|
907
907
|
resource_servers: {
|
|
908
908
|
audience: string;
|
|
909
909
|
scopes: string;
|
|
@@ -925,12 +925,16 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
925
925
|
idle_expires_at?: string | undefined;
|
|
926
926
|
last_exchanged_at?: string | undefined;
|
|
927
927
|
}[] | {
|
|
928
|
+
start: number;
|
|
929
|
+
limit: number;
|
|
930
|
+
length: number;
|
|
928
931
|
tokens: {
|
|
932
|
+
id: string;
|
|
933
|
+
created_at: string;
|
|
929
934
|
client_id: string;
|
|
930
935
|
user_id: string;
|
|
931
|
-
created_at: string;
|
|
932
936
|
rotating: boolean;
|
|
933
|
-
|
|
937
|
+
login_id: string;
|
|
934
938
|
device: {
|
|
935
939
|
initial_user_agent: string;
|
|
936
940
|
initial_ip: string;
|
|
@@ -939,7 +943,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
939
943
|
last_ip: string;
|
|
940
944
|
last_asn: string;
|
|
941
945
|
};
|
|
942
|
-
login_id: string;
|
|
943
946
|
resource_servers: {
|
|
944
947
|
audience: string;
|
|
945
948
|
scopes: string;
|
|
@@ -961,17 +964,16 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
961
964
|
idle_expires_at?: string | undefined;
|
|
962
965
|
last_exchanged_at?: string | undefined;
|
|
963
966
|
}[];
|
|
967
|
+
total?: number | undefined;
|
|
964
968
|
next?: string | undefined;
|
|
965
969
|
} | {
|
|
966
|
-
start: number;
|
|
967
|
-
limit: number;
|
|
968
|
-
length: number;
|
|
969
970
|
tokens: {
|
|
971
|
+
id: string;
|
|
972
|
+
created_at: string;
|
|
970
973
|
client_id: string;
|
|
971
974
|
user_id: string;
|
|
972
|
-
created_at: string;
|
|
973
975
|
rotating: boolean;
|
|
974
|
-
|
|
976
|
+
login_id: string;
|
|
975
977
|
device: {
|
|
976
978
|
initial_user_agent: string;
|
|
977
979
|
initial_ip: string;
|
|
@@ -980,7 +982,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
980
982
|
last_ip: string;
|
|
981
983
|
last_asn: string;
|
|
982
984
|
};
|
|
983
|
-
login_id: string;
|
|
984
985
|
resource_servers: {
|
|
985
986
|
audience: string;
|
|
986
987
|
scopes: string;
|
|
@@ -1002,7 +1003,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1002
1003
|
idle_expires_at?: string | undefined;
|
|
1003
1004
|
last_exchanged_at?: string | undefined;
|
|
1004
1005
|
}[];
|
|
1005
|
-
total?: number | undefined;
|
|
1006
1006
|
next?: string | undefined;
|
|
1007
1007
|
};
|
|
1008
1008
|
outputFormat: "json";
|
|
@@ -1081,7 +1081,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1081
1081
|
};
|
|
1082
1082
|
};
|
|
1083
1083
|
output: {
|
|
1084
|
-
type: "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" | "cfgdiff" | "cfgdrift" | "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" | "
|
|
1084
|
+
type: "fn" | "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" | "cfgdiff" | "cfgdrift" | "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" | "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" | "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";
|
|
1085
1085
|
date: string;
|
|
1086
1086
|
isMobile: boolean;
|
|
1087
1087
|
log_id: string;
|
|
@@ -1116,11 +1116,8 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1116
1116
|
continent_code: string;
|
|
1117
1117
|
} | undefined;
|
|
1118
1118
|
}[] | {
|
|
1119
|
-
start: number;
|
|
1120
|
-
limit: number;
|
|
1121
|
-
length: number;
|
|
1122
1119
|
logs: {
|
|
1123
|
-
type: "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" | "cfgdiff" | "cfgdrift" | "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" | "
|
|
1120
|
+
type: "fn" | "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" | "cfgdiff" | "cfgdrift" | "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" | "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" | "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";
|
|
1124
1121
|
date: string;
|
|
1125
1122
|
isMobile: boolean;
|
|
1126
1123
|
log_id: string;
|
|
@@ -1155,11 +1152,13 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1155
1152
|
continent_code: string;
|
|
1156
1153
|
} | undefined;
|
|
1157
1154
|
}[];
|
|
1158
|
-
total?: number | undefined;
|
|
1159
1155
|
next?: string | undefined;
|
|
1160
1156
|
} | {
|
|
1157
|
+
start: number;
|
|
1158
|
+
limit: number;
|
|
1159
|
+
length: number;
|
|
1161
1160
|
logs: {
|
|
1162
|
-
type: "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" | "cfgdiff" | "cfgdrift" | "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" | "
|
|
1161
|
+
type: "fn" | "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" | "cfgdiff" | "cfgdrift" | "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" | "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" | "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";
|
|
1163
1162
|
date: string;
|
|
1164
1163
|
isMobile: boolean;
|
|
1165
1164
|
log_id: string;
|
|
@@ -1194,6 +1193,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1194
1193
|
continent_code: string;
|
|
1195
1194
|
} | undefined;
|
|
1196
1195
|
}[];
|
|
1196
|
+
total?: number | undefined;
|
|
1197
1197
|
next?: string | undefined;
|
|
1198
1198
|
};
|
|
1199
1199
|
outputFormat: "json";
|
|
@@ -71,17 +71,40 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
71
71
|
page_background: {
|
|
72
72
|
background_color: string;
|
|
73
73
|
background_image_url: string;
|
|
74
|
-
page_layout: "
|
|
74
|
+
page_layout: "left" | "right" | "center";
|
|
75
|
+
background_color_dark?: string | undefined;
|
|
76
|
+
background_image_url_dark?: string | undefined;
|
|
75
77
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
76
78
|
};
|
|
77
79
|
widget: {
|
|
78
|
-
header_text_alignment: "
|
|
80
|
+
header_text_alignment: "left" | "right" | "center";
|
|
79
81
|
logo_height: number;
|
|
80
|
-
logo_position: "none" | "
|
|
82
|
+
logo_position: "none" | "left" | "right" | "center";
|
|
81
83
|
logo_url: string;
|
|
82
84
|
social_buttons_layout: "bottom" | "top";
|
|
85
|
+
logo_url_dark?: string | undefined;
|
|
83
86
|
};
|
|
84
87
|
themeId: string;
|
|
88
|
+
colors_dark?: {
|
|
89
|
+
error?: string | undefined;
|
|
90
|
+
success?: string | undefined;
|
|
91
|
+
header?: string | undefined;
|
|
92
|
+
base_focus_color?: string | undefined;
|
|
93
|
+
base_hover_color?: string | undefined;
|
|
94
|
+
body_text?: string | undefined;
|
|
95
|
+
icons?: string | undefined;
|
|
96
|
+
input_background?: string | undefined;
|
|
97
|
+
input_border?: string | undefined;
|
|
98
|
+
input_filled_text?: string | undefined;
|
|
99
|
+
input_labels_placeholders?: string | undefined;
|
|
100
|
+
links_focused_components?: string | undefined;
|
|
101
|
+
primary_button?: string | undefined;
|
|
102
|
+
primary_button_label?: string | undefined;
|
|
103
|
+
secondary_button_border?: string | undefined;
|
|
104
|
+
secondary_button_label?: string | undefined;
|
|
105
|
+
widget_background?: string | undefined;
|
|
106
|
+
widget_border?: string | undefined;
|
|
107
|
+
} | undefined;
|
|
85
108
|
};
|
|
86
109
|
branding: {
|
|
87
110
|
favicon_url: string | undefined;
|
|
@@ -95,13 +118,16 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
95
118
|
} | undefined;
|
|
96
119
|
} | undefined;
|
|
97
120
|
logo_url?: string | undefined;
|
|
121
|
+
favicon_url_dark?: string | undefined;
|
|
98
122
|
powered_by_logo_url?: string | undefined;
|
|
99
123
|
font?: {
|
|
100
124
|
url: string;
|
|
101
125
|
} | undefined;
|
|
102
126
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
127
|
+
terms_url?: string | undefined;
|
|
128
|
+
privacy_url?: string | undefined;
|
|
103
129
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
104
|
-
override?: "
|
|
130
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
105
131
|
enforce?: boolean | undefined;
|
|
106
132
|
} | null;
|
|
107
133
|
client: EnrichedClient;
|
|
@@ -217,7 +243,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
217
243
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
218
244
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
219
245
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
220
|
-
provisioning_state?: "
|
|
246
|
+
provisioning_state?: "failed" | "pending" | "ready" | undefined;
|
|
221
247
|
provisioning_error?: string | undefined;
|
|
222
248
|
provisioning_state_changed_at?: string | undefined;
|
|
223
249
|
bundle_configuration?: string | undefined;
|
|
@@ -430,17 +456,40 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
430
456
|
page_background: {
|
|
431
457
|
background_color: string;
|
|
432
458
|
background_image_url: string;
|
|
433
|
-
page_layout: "
|
|
459
|
+
page_layout: "left" | "right" | "center";
|
|
460
|
+
background_color_dark?: string | undefined;
|
|
461
|
+
background_image_url_dark?: string | undefined;
|
|
434
462
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
435
463
|
};
|
|
436
464
|
widget: {
|
|
437
|
-
header_text_alignment: "
|
|
465
|
+
header_text_alignment: "left" | "right" | "center";
|
|
438
466
|
logo_height: number;
|
|
439
|
-
logo_position: "none" | "
|
|
467
|
+
logo_position: "none" | "left" | "right" | "center";
|
|
440
468
|
logo_url: string;
|
|
441
469
|
social_buttons_layout: "bottom" | "top";
|
|
470
|
+
logo_url_dark?: string | undefined;
|
|
442
471
|
};
|
|
443
472
|
themeId: string;
|
|
473
|
+
colors_dark?: {
|
|
474
|
+
error?: string | undefined;
|
|
475
|
+
success?: string | undefined;
|
|
476
|
+
header?: string | undefined;
|
|
477
|
+
base_focus_color?: string | undefined;
|
|
478
|
+
base_hover_color?: string | undefined;
|
|
479
|
+
body_text?: string | undefined;
|
|
480
|
+
icons?: string | undefined;
|
|
481
|
+
input_background?: string | undefined;
|
|
482
|
+
input_border?: string | undefined;
|
|
483
|
+
input_filled_text?: string | undefined;
|
|
484
|
+
input_labels_placeholders?: string | undefined;
|
|
485
|
+
links_focused_components?: string | undefined;
|
|
486
|
+
primary_button?: string | undefined;
|
|
487
|
+
primary_button_label?: string | undefined;
|
|
488
|
+
secondary_button_border?: string | undefined;
|
|
489
|
+
secondary_button_label?: string | undefined;
|
|
490
|
+
widget_background?: string | undefined;
|
|
491
|
+
widget_border?: string | undefined;
|
|
492
|
+
} | undefined;
|
|
444
493
|
};
|
|
445
494
|
branding: {
|
|
446
495
|
favicon_url: string | undefined;
|
|
@@ -454,13 +503,16 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
454
503
|
} | undefined;
|
|
455
504
|
} | undefined;
|
|
456
505
|
logo_url?: string | undefined;
|
|
506
|
+
favicon_url_dark?: string | undefined;
|
|
457
507
|
powered_by_logo_url?: string | undefined;
|
|
458
508
|
font?: {
|
|
459
509
|
url: string;
|
|
460
510
|
} | undefined;
|
|
461
511
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
512
|
+
terms_url?: string | undefined;
|
|
513
|
+
privacy_url?: string | undefined;
|
|
462
514
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
463
|
-
override?: "
|
|
515
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
464
516
|
enforce?: boolean | undefined;
|
|
465
517
|
} | null;
|
|
466
518
|
client: EnrichedClient;
|
|
@@ -645,7 +697,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
645
697
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
646
698
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
647
699
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
648
|
-
provisioning_state?: "
|
|
700
|
+
provisioning_state?: "failed" | "pending" | "ready" | undefined;
|
|
649
701
|
provisioning_error?: string | undefined;
|
|
650
702
|
provisioning_state_changed_at?: string | undefined;
|
|
651
703
|
bundle_configuration?: string | undefined;
|
|
@@ -35,3 +35,38 @@ export declare const continueRoutes: OpenAPIHono<{
|
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
}, "/">;
|
|
38
|
+
export declare const u2ContinueRoutes: OpenAPIHono<{
|
|
39
|
+
Bindings: Bindings;
|
|
40
|
+
Variables: Variables;
|
|
41
|
+
}, {
|
|
42
|
+
"/": {
|
|
43
|
+
$get: {
|
|
44
|
+
input: {
|
|
45
|
+
query: {
|
|
46
|
+
state: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
output: {};
|
|
50
|
+
outputFormat: string;
|
|
51
|
+
status: 302;
|
|
52
|
+
} | {
|
|
53
|
+
input: {
|
|
54
|
+
query: {
|
|
55
|
+
state: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
output: {};
|
|
59
|
+
outputFormat: string;
|
|
60
|
+
status: 400;
|
|
61
|
+
} | {
|
|
62
|
+
input: {
|
|
63
|
+
query: {
|
|
64
|
+
state: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
output: {};
|
|
68
|
+
outputFormat: string;
|
|
69
|
+
status: 500;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
}, "/">;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ColorsDark } from "@authhero/widget/page-chrome";
|
|
2
|
+
export declare function sanitizeColorsDark(colorsDark: any): ColorsDark | undefined;
|
|
3
|
+
export type DarkPageInputs = {
|
|
4
|
+
/** Sanitized explicit dark colour overrides. */
|
|
5
|
+
colorsDark?: ColorsDark;
|
|
6
|
+
/** Light brand link colour, so derived dark keeps it. */
|
|
7
|
+
linkColor?: string;
|
|
8
|
+
/** CSS `background` for the dark scheme; undefined = same as light. */
|
|
9
|
+
darkBackground?: string;
|
|
10
|
+
/** Logo for the light scheme (theme wins over branding). */
|
|
11
|
+
logoUrl: string | null;
|
|
12
|
+
/** Logo for the dark scheme, only when the theme defines one. */
|
|
13
|
+
logoUrlDark: string | null;
|
|
14
|
+
hasDarkLogo: boolean;
|
|
15
|
+
/** Any page background image, light or dark (drives the chip surface). */
|
|
16
|
+
hasBgImage: boolean;
|
|
17
|
+
};
|
|
18
|
+
export declare function resolveDarkPageInputs(theme: any, branding: {
|
|
19
|
+
logo_url?: string;
|
|
20
|
+
} | null | undefined, themePageBackground?: {
|
|
21
|
+
background_color?: string;
|
|
22
|
+
background_image_url?: string;
|
|
23
|
+
background_color_dark?: string;
|
|
24
|
+
background_image_url_dark?: string;
|
|
25
|
+
}): DarkPageInputs;
|
|
@@ -30,7 +30,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
30
30
|
} & {
|
|
31
31
|
form: {
|
|
32
32
|
username: string;
|
|
33
|
-
login_selection?: "
|
|
33
|
+
login_selection?: "code" | "password" | 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?: "code" | "password" | 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?: "code" | "password" | 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?: "code" | "password" | undefined;
|
|
533
533
|
};
|
|
534
534
|
};
|
|
535
535
|
output: {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Branding } from "@authhero/adapter-interfaces";
|
|
2
|
+
export interface LegalUrls {
|
|
3
|
+
/** Terms-of-service link (or the legacy combined "terms" link). */
|
|
4
|
+
termsAndConditionsUrl?: string;
|
|
5
|
+
privacyUrl?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The terms and privacy URLs for a client, from its `client_metadata`:
|
|
9
|
+
* `tos_uri` / `policy_uri` (the DCR names), with the older single
|
|
10
|
+
* `termsAndConditionsUrl` kept as the terms fallback so existing clients
|
|
11
|
+
* render as before. Unusable values are omitted.
|
|
12
|
+
*/
|
|
13
|
+
export declare function clientLegalUrls(metadata: Record<string, string | undefined> | undefined): LegalUrls;
|
|
14
|
+
/**
|
|
15
|
+
* Fill whatever the client left unset from the tenant's branding defaults
|
|
16
|
+
* (`terms_url`, `privacy_url`). A client value always wins.
|
|
17
|
+
*/
|
|
18
|
+
export declare function withTenantLegalDefaults(legal: LegalUrls, branding: Pick<Branding, "terms_url" | "privacy_url"> | null | undefined): LegalUrls;
|
|
@@ -1,2 +1,33 @@
|
|
|
1
1
|
import type { PromptScreen } from "@authhero/adapter-interfaces";
|
|
2
|
+
/**
|
|
3
|
+
* Screens that render tenant prompt partials (Auth0-style HTML injected at the
|
|
4
|
+
* form insertion points), and where to find them. Partials are stored per
|
|
5
|
+
* prompt and keyed by screen name; the prompt is usually the one the screen
|
|
6
|
+
* uses for custom text (`SCREEN_TO_PROMPT_MAP`), except where Auth0 stores
|
|
7
|
+
* partials elsewhere, and `key` is the screen name under it.
|
|
8
|
+
* `key` follows Auth0's screen names where there is an equivalent and is the
|
|
9
|
+
* u2 screen id otherwise.
|
|
10
|
+
*
|
|
11
|
+
* `identifier`, `enter-password`, `login` and `signup` read their partials
|
|
12
|
+
* themselves (they validate and prefill them); the rest are attached by
|
|
13
|
+
* `withPromptPartials` in the screen registry.
|
|
14
|
+
*
|
|
15
|
+
* Not listed on purpose: the account/self-service screens, the connect and
|
|
16
|
+
* device-flow screens, consent, invitations and passkeys. They either have no
|
|
17
|
+
* Auth0 prompt-partials equivalent or are not part of the sign-in form flow.
|
|
18
|
+
*/
|
|
19
|
+
export interface PromptPartialsTarget {
|
|
20
|
+
prompt: string;
|
|
21
|
+
key: string;
|
|
22
|
+
/**
|
|
23
|
+
* Prompts read when `prompt` has nothing for `key`. The partials API also
|
|
24
|
+
* accepts Auth0's screen names as prompt names, so a tenant may have stored
|
|
25
|
+
* the same partials under e.g. `login-passwordless-email-code`.
|
|
26
|
+
*/
|
|
27
|
+
fallbackPrompts?: string[];
|
|
28
|
+
}
|
|
29
|
+
/** Where `withPromptPartials` finds the partials for a screen, if it has any. */
|
|
30
|
+
export declare function getPartialsTargetForScreen(screenId: string): PromptPartialsTarget | undefined;
|
|
31
|
+
/** Screen ids attached by `withPromptPartials`. */
|
|
32
|
+
export declare function listPartialsScreenIds(): string[];
|
|
2
33
|
export declare function getPromptScreenForScreen(screenId: string): PromptScreen | undefined;
|
|
@@ -14,6 +14,17 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import type { ScreenContext } from "./types";
|
|
16
16
|
export declare const DCR_REGISTER_PERMISSION = "create:clients";
|
|
17
|
+
/**
|
|
18
|
+
* True when `tenantId` is the multi-tenancy control plane. Only there does
|
|
19
|
+
* the connect flow offer a workspace pick: the roles and organizations it
|
|
20
|
+
* checks for a pick are the control plane's, so on any other tenant they
|
|
21
|
+
* would be data that tenant's own admins control.
|
|
22
|
+
*/
|
|
23
|
+
export declare function isControlPlaneTenant(data: {
|
|
24
|
+
multiTenancyConfig?: {
|
|
25
|
+
controlPlaneTenantId?: string;
|
|
26
|
+
};
|
|
27
|
+
}, tenantId: string): boolean;
|
|
17
28
|
/**
|
|
18
29
|
* Mirrors @authhero/multi-tenancy's escape hatch: a user holding
|
|
19
30
|
* `admin:organizations` on a global (non-org-scoped) role can act on any
|
|
@@ -61,6 +72,7 @@ export declare function userCanRegisterOnOrg(context: ScreenContext, userId: str
|
|
|
61
72
|
* - the user is a member of the control-plane org whose `name` equals the
|
|
62
73
|
* target tenant id AND holds `create:clients` on their role for that org.
|
|
63
74
|
*
|
|
64
|
-
*
|
|
75
|
+
* Only the control plane may pick a target, and the control plane itself is
|
|
76
|
+
* never a valid DCR target.
|
|
65
77
|
*/
|
|
66
78
|
export declare function userCanRegisterOnTenant(context: ScreenContext, userId: string, targetTenantId: string): Promise<boolean>;
|
|
@@ -4,5 +4,13 @@
|
|
|
4
4
|
* (`login-id`, `login-password`, `login`), like the signup screen does.
|
|
5
5
|
*/
|
|
6
6
|
import type { UiScreen } from "@authhero/adapter-interfaces";
|
|
7
|
-
import type { ScreenContext } from "./types";
|
|
7
|
+
import type { ScreenContext, ScreenDefinition, ScreenResult } from "./types";
|
|
8
8
|
export declare function getLoginPartials(context: ScreenContext, prompt: "login-id" | "login-password" | "login"): Promise<UiScreen["partials"]>;
|
|
9
|
+
/**
|
|
10
|
+
* Attach the tenant's prompt partials to a screen that doesn't read them
|
|
11
|
+
* itself. A screen that already set `partials` is left alone, and a screen
|
|
12
|
+
* without stored partials is returned untouched, so tenants that have not
|
|
13
|
+
* configured partials see exactly what they saw before.
|
|
14
|
+
*/
|
|
15
|
+
export declare function attachPromptPartials(context: ScreenContext, screenId: string, result: ScreenResult): Promise<ScreenResult>;
|
|
16
|
+
export declare function withPromptPartials(screenId: string, definition: ScreenDefinition): ScreenDefinition;
|
|
@@ -195,7 +195,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
195
195
|
$get: {
|
|
196
196
|
input: {
|
|
197
197
|
param: {
|
|
198
|
-
screen: "
|
|
198
|
+
screen: "impersonate" | "signup" | "reset-password" | "account" | "consent" | "login" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
|
|
199
199
|
};
|
|
200
200
|
} & {
|
|
201
201
|
query: {
|
|
@@ -211,7 +211,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
211
211
|
} | {
|
|
212
212
|
input: {
|
|
213
213
|
param: {
|
|
214
|
-
screen: "
|
|
214
|
+
screen: "impersonate" | "signup" | "reset-password" | "account" | "consent" | "login" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
|
|
215
215
|
};
|
|
216
216
|
} & {
|
|
217
217
|
query: {
|
|
@@ -227,7 +227,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
227
227
|
} | {
|
|
228
228
|
input: {
|
|
229
229
|
param: {
|
|
230
|
-
screen: "
|
|
230
|
+
screen: "impersonate" | "signup" | "reset-password" | "account" | "consent" | "login" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
|
|
231
231
|
};
|
|
232
232
|
} & {
|
|
233
233
|
query: {
|
|
@@ -247,7 +247,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
247
247
|
$post: {
|
|
248
248
|
input: {
|
|
249
249
|
param: {
|
|
250
|
-
screen: "
|
|
250
|
+
screen: "impersonate" | "signup" | "reset-password" | "consent" | "login" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "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" | "self-service/app" | "device/code" | "device/confirmation";
|
|
251
251
|
};
|
|
252
252
|
} & {
|
|
253
253
|
query: {
|
|
@@ -265,7 +265,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
265
265
|
} | {
|
|
266
266
|
input: {
|
|
267
267
|
param: {
|
|
268
|
-
screen: "
|
|
268
|
+
screen: "impersonate" | "signup" | "reset-password" | "consent" | "login" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "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" | "self-service/app" | "device/code" | "device/confirmation";
|
|
269
269
|
};
|
|
270
270
|
} & {
|
|
271
271
|
query: {
|
|
@@ -283,6 +283,37 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
283
283
|
};
|
|
284
284
|
};
|
|
285
285
|
}, "/"> & import("hono/types").MergeSchemaPath<{
|
|
286
|
+
"/": {
|
|
287
|
+
$get: {
|
|
288
|
+
input: {
|
|
289
|
+
query: {
|
|
290
|
+
state: string;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
output: {};
|
|
294
|
+
outputFormat: string;
|
|
295
|
+
status: 302;
|
|
296
|
+
} | {
|
|
297
|
+
input: {
|
|
298
|
+
query: {
|
|
299
|
+
state: string;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
output: {};
|
|
303
|
+
outputFormat: string;
|
|
304
|
+
status: 400;
|
|
305
|
+
} | {
|
|
306
|
+
input: {
|
|
307
|
+
query: {
|
|
308
|
+
state: string;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
output: {};
|
|
312
|
+
outputFormat: string;
|
|
313
|
+
status: 500;
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
}, "/continue"> & import("hono/types").MergeSchemaPath<{
|
|
286
317
|
"/:formId/nodes/:nodeId": {
|
|
287
318
|
$get: {
|
|
288
319
|
input: {
|