authhero 9.35.0 → 9.37.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 +144 -141
- package/dist/authhero.d.ts +562 -369
- package/dist/authhero.mjs +13530 -11568
- package/dist/{mfa-fD5vp7ql.mjs → mfa-BpHxTir1.mjs} +25 -25
- package/dist/{mfa-XAWdFO9R.js → mfa-DuNbh_YF.js} +1 -1
- package/dist/mfa-attempts-D5U1FCSY.js +275 -0
- package/dist/{mfa-attempts-CpIqAsQd.mjs → mfa-attempts-DDgCBTDW.mjs} +6022 -5686
- package/dist/{passkey-enrollment-BB99mHdQ.js → passkey-enrollment-D6ZZmelw.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/email-verification.d.ts +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +5 -2
- package/dist/types/errors/management-api-error.d.ts +3 -0
- package/dist/types/generated/locale-types.d.ts +87 -0
- package/dist/types/helpers/anchor-client.d.ts +16 -0
- package/dist/types/helpers/database-connection-scope.d.ts +97 -0
- package/dist/types/helpers/dcr/audience-policy.d.ts +13 -0
- package/dist/types/helpers/dcr/client-registration.d.ts +81 -0
- package/dist/types/helpers/dcr/constraint-enforcement.d.ts +1 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +17 -0
- package/dist/types/helpers/dcr/mint-iat.d.ts +4 -1
- package/dist/types/helpers/dcr/mint-token.d.ts +4 -0
- package/dist/types/helpers/dcr/presets.d.ts +34 -0
- package/dist/types/helpers/dcr/uri-policy.d.ts +34 -0
- package/dist/types/helpers/password-connection.d.ts +3 -1
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/self-service-tickets.d.ts +34 -0
- package/dist/types/helpers/sso-access-tickets.d.ts +18 -0
- package/dist/types/helpers/users.d.ts +29 -4
- package/dist/types/index.d.ts +502 -310
- package/dist/types/routes/auth-api/authenticate.d.ts +1 -1
- package/dist/types/routes/auth-api/dbconnections.d.ts +2 -2
- package/dist/types/routes/auth-api/device.d.ts +8 -8
- package/dist/types/routes/auth-api/index.d.ts +54 -37
- package/dist/types/routes/auth-api/passwordless.d.ts +18 -16
- package/dist/types/routes/auth-api/register/index.d.ts +15 -0
- 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/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +13 -13
- package/dist/types/routes/management-api/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/client-registration-tokens.d.ts +149 -0
- package/dist/types/routes/management-api/connections.d.ts +1 -1
- 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/failed-events.d.ts +2 -2
- package/dist/types/routes/management-api/forms.d.ts +144 -144
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/index.d.ts +411 -266
- package/dist/types/routes/management-api/keys.d.ts +16 -16
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- 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 +6 -6
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/self-service-profiles.d.ts +345 -0
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +10 -10
- package/dist/types/routes/management-api/tenants.d.ts +17 -17
- package/dist/types/routes/management-api/themes.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +17 -17
- package/dist/types/routes/universal-login/common.d.ts +10 -8
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- 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/screens/connect-authz.d.ts +9 -0
- package/dist/types/routes/universal-login/screens/self-service-app.d.ts +46 -0
- package/dist/types/routes/universal-login/u2-index.d.ts +35 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +35 -5
- package/dist/types/state-machines/login-session.d.ts +19 -1
- package/dist/types/types/Bindings.d.ts +2 -0
- package/dist/types/utils/username-password-provider.d.ts +14 -3
- package/package.json +6 -6
- package/dist/mfa-attempts-C7toCIRn.js +0 -275
|
@@ -893,9 +893,8 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
893
893
|
client_id: string;
|
|
894
894
|
user_id: string;
|
|
895
895
|
created_at: string;
|
|
896
|
-
id: string;
|
|
897
896
|
rotating: boolean;
|
|
898
|
-
|
|
897
|
+
id: string;
|
|
899
898
|
device: {
|
|
900
899
|
initial_user_agent: string;
|
|
901
900
|
initial_ip: string;
|
|
@@ -904,6 +903,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
904
903
|
last_ip: string;
|
|
905
904
|
last_asn: string;
|
|
906
905
|
};
|
|
906
|
+
login_id: string;
|
|
907
907
|
resource_servers: {
|
|
908
908
|
audience: string;
|
|
909
909
|
scopes: string;
|
|
@@ -925,16 +925,12 @@ 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;
|
|
931
928
|
tokens: {
|
|
932
929
|
client_id: string;
|
|
933
930
|
user_id: string;
|
|
934
931
|
created_at: string;
|
|
935
|
-
id: string;
|
|
936
932
|
rotating: boolean;
|
|
937
|
-
|
|
933
|
+
id: string;
|
|
938
934
|
device: {
|
|
939
935
|
initial_user_agent: string;
|
|
940
936
|
initial_ip: string;
|
|
@@ -943,6 +939,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
943
939
|
last_ip: string;
|
|
944
940
|
last_asn: string;
|
|
945
941
|
};
|
|
942
|
+
login_id: string;
|
|
946
943
|
resource_servers: {
|
|
947
944
|
audience: string;
|
|
948
945
|
scopes: string;
|
|
@@ -964,16 +961,17 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
964
961
|
idle_expires_at?: string | undefined;
|
|
965
962
|
last_exchanged_at?: string | undefined;
|
|
966
963
|
}[];
|
|
967
|
-
total?: number | undefined;
|
|
968
964
|
next?: string | undefined;
|
|
969
965
|
} | {
|
|
966
|
+
start: number;
|
|
967
|
+
limit: number;
|
|
968
|
+
length: number;
|
|
970
969
|
tokens: {
|
|
971
970
|
client_id: string;
|
|
972
971
|
user_id: string;
|
|
973
972
|
created_at: string;
|
|
974
|
-
id: string;
|
|
975
973
|
rotating: boolean;
|
|
976
|
-
|
|
974
|
+
id: string;
|
|
977
975
|
device: {
|
|
978
976
|
initial_user_agent: string;
|
|
979
977
|
initial_ip: string;
|
|
@@ -982,6 +980,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
982
980
|
last_ip: string;
|
|
983
981
|
last_asn: string;
|
|
984
982
|
};
|
|
983
|
+
login_id: string;
|
|
985
984
|
resource_servers: {
|
|
986
985
|
audience: string;
|
|
987
986
|
scopes: string;
|
|
@@ -1003,6 +1002,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1003
1002
|
idle_expires_at?: string | undefined;
|
|
1004
1003
|
last_exchanged_at?: string | undefined;
|
|
1005
1004
|
}[];
|
|
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: "
|
|
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" | "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" | "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,8 +1116,11 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1116
1116
|
continent_code: string;
|
|
1117
1117
|
} | undefined;
|
|
1118
1118
|
}[] | {
|
|
1119
|
+
start: number;
|
|
1120
|
+
limit: number;
|
|
1121
|
+
length: number;
|
|
1119
1122
|
logs: {
|
|
1120
|
-
type: "
|
|
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" | "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" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
1121
1124
|
date: string;
|
|
1122
1125
|
isMobile: boolean;
|
|
1123
1126
|
log_id: string;
|
|
@@ -1152,13 +1155,11 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1152
1155
|
continent_code: string;
|
|
1153
1156
|
} | undefined;
|
|
1154
1157
|
}[];
|
|
1158
|
+
total?: number | undefined;
|
|
1155
1159
|
next?: string | undefined;
|
|
1156
1160
|
} | {
|
|
1157
|
-
start: number;
|
|
1158
|
-
limit: number;
|
|
1159
|
-
length: number;
|
|
1160
1161
|
logs: {
|
|
1161
|
-
type: "
|
|
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" | "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" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
1162
1163
|
date: string;
|
|
1163
1164
|
isMobile: boolean;
|
|
1164
1165
|
log_id: string;
|
|
@@ -1193,7 +1194,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1193
1194
|
continent_code: string;
|
|
1194
1195
|
} | undefined;
|
|
1195
1196
|
}[];
|
|
1196
|
-
total?: number | undefined;
|
|
1197
1197
|
next?: string | undefined;
|
|
1198
1198
|
};
|
|
1199
1199
|
outputFormat: "json";
|
|
@@ -71,13 +71,13 @@ 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: "center" | "left" | "right";
|
|
75
75
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
76
76
|
};
|
|
77
77
|
widget: {
|
|
78
|
-
header_text_alignment: "
|
|
78
|
+
header_text_alignment: "center" | "left" | "right";
|
|
79
79
|
logo_height: number;
|
|
80
|
-
logo_position: "none" | "
|
|
80
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
81
81
|
logo_url: string;
|
|
82
82
|
social_buttons_layout: "bottom" | "top";
|
|
83
83
|
};
|
|
@@ -217,7 +217,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
217
217
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
218
218
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
219
219
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
220
|
-
provisioning_state?: "pending" | "
|
|
220
|
+
provisioning_state?: "pending" | "failed" | "ready" | undefined;
|
|
221
221
|
provisioning_error?: string | undefined;
|
|
222
222
|
provisioning_state_changed_at?: string | undefined;
|
|
223
223
|
bundle_configuration?: string | undefined;
|
|
@@ -326,6 +326,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
326
326
|
values?: unknown[] | undefined;
|
|
327
327
|
} | null> | undefined;
|
|
328
328
|
} | undefined;
|
|
329
|
+
connection?: string | undefined;
|
|
329
330
|
vendor_id?: string | undefined;
|
|
330
331
|
};
|
|
331
332
|
expires_at: string;
|
|
@@ -429,13 +430,13 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
429
430
|
page_background: {
|
|
430
431
|
background_color: string;
|
|
431
432
|
background_image_url: string;
|
|
432
|
-
page_layout: "
|
|
433
|
+
page_layout: "center" | "left" | "right";
|
|
433
434
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
434
435
|
};
|
|
435
436
|
widget: {
|
|
436
|
-
header_text_alignment: "
|
|
437
|
+
header_text_alignment: "center" | "left" | "right";
|
|
437
438
|
logo_height: number;
|
|
438
|
-
logo_position: "none" | "
|
|
439
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
439
440
|
logo_url: string;
|
|
440
441
|
social_buttons_layout: "bottom" | "top";
|
|
441
442
|
};
|
|
@@ -644,7 +645,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
644
645
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
645
646
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
646
647
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
647
|
-
provisioning_state?: "pending" | "
|
|
648
|
+
provisioning_state?: "pending" | "failed" | "ready" | undefined;
|
|
648
649
|
provisioning_error?: string | undefined;
|
|
649
650
|
provisioning_state_changed_at?: string | undefined;
|
|
650
651
|
bundle_configuration?: string | undefined;
|
|
@@ -753,6 +754,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
753
754
|
values?: unknown[] | undefined;
|
|
754
755
|
} | null> | undefined;
|
|
755
756
|
} | undefined;
|
|
757
|
+
connection?: string | undefined;
|
|
756
758
|
vendor_id?: string | undefined;
|
|
757
759
|
};
|
|
758
760
|
expires_at: string;
|
|
@@ -43,7 +43,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
43
43
|
hint?: string | undefined;
|
|
44
44
|
messages?: {
|
|
45
45
|
text: string;
|
|
46
|
-
type: "
|
|
46
|
+
type: "success" | "error" | "info" | "warning";
|
|
47
47
|
id?: number | undefined;
|
|
48
48
|
}[] | undefined;
|
|
49
49
|
}[];
|
|
@@ -51,7 +51,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
51
51
|
description?: string | undefined;
|
|
52
52
|
messages?: {
|
|
53
53
|
text: string;
|
|
54
|
-
type: "
|
|
54
|
+
type: "success" | "error" | "info" | "warning";
|
|
55
55
|
id?: number | undefined;
|
|
56
56
|
}[] | undefined;
|
|
57
57
|
links?: {
|
|
@@ -123,7 +123,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
123
123
|
hint?: string | undefined;
|
|
124
124
|
messages?: {
|
|
125
125
|
text: string;
|
|
126
|
-
type: "
|
|
126
|
+
type: "success" | "error" | "info" | "warning";
|
|
127
127
|
id?: number | undefined;
|
|
128
128
|
}[] | undefined;
|
|
129
129
|
}[];
|
|
@@ -131,7 +131,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
131
131
|
description?: string | undefined;
|
|
132
132
|
messages?: {
|
|
133
133
|
text: string;
|
|
134
|
-
type: "
|
|
134
|
+
type: "success" | "error" | "info" | "warning";
|
|
135
135
|
id?: number | undefined;
|
|
136
136
|
}[] | undefined;
|
|
137
137
|
links?: {
|
|
@@ -220,7 +220,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
220
220
|
hint?: string | undefined;
|
|
221
221
|
messages?: {
|
|
222
222
|
text: string;
|
|
223
|
-
type: "
|
|
223
|
+
type: "success" | "error" | "info" | "warning";
|
|
224
224
|
id?: number | undefined;
|
|
225
225
|
}[] | undefined;
|
|
226
226
|
}[];
|
|
@@ -228,7 +228,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
228
228
|
description?: string | undefined;
|
|
229
229
|
messages?: {
|
|
230
230
|
text: string;
|
|
231
|
-
type: "
|
|
231
|
+
type: "success" | "error" | "info" | "warning";
|
|
232
232
|
id?: number | undefined;
|
|
233
233
|
}[] | undefined;
|
|
234
234
|
links?: {
|
|
@@ -335,7 +335,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
335
335
|
hint?: string | undefined;
|
|
336
336
|
messages?: {
|
|
337
337
|
text: string;
|
|
338
|
-
type: "
|
|
338
|
+
type: "success" | "error" | "info" | "warning";
|
|
339
339
|
id?: number | undefined;
|
|
340
340
|
}[] | undefined;
|
|
341
341
|
}[];
|
|
@@ -343,7 +343,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
343
343
|
description?: string | undefined;
|
|
344
344
|
messages?: {
|
|
345
345
|
text: string;
|
|
346
|
-
type: "
|
|
346
|
+
type: "success" | "error" | "info" | "warning";
|
|
347
347
|
id?: number | undefined;
|
|
348
348
|
}[] | undefined;
|
|
349
349
|
links?: {
|
|
@@ -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: {};
|
|
@@ -35,6 +35,15 @@ export declare function userHasAccessAllOrganizations(context: ScreenContext, us
|
|
|
35
35
|
* register on any child tenant without an org-scoped role.
|
|
36
36
|
*/
|
|
37
37
|
export declare function userCanRegisterGlobally(context: ScreenContext, userId: string): Promise<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* True when the user may register a client on the tenant the request itself
|
|
40
|
+
* resolved to (direct mode, no control-plane workspace pick). Holding a
|
|
41
|
+
* session on the tenant is not enough: end users of the tenant must not be
|
|
42
|
+
* able to register clients. The user needs `create:clients` on the Management
|
|
43
|
+
* API at tenant level (directly or through a global role), the permission
|
|
44
|
+
* the control-plane path checks per organization.
|
|
45
|
+
*/
|
|
46
|
+
export declare function userCanRegisterOnRequestTenant(context: ScreenContext, userId: string): Promise<boolean>;
|
|
38
47
|
/**
|
|
39
48
|
* True when the user holds the DCR register permission on the given
|
|
40
49
|
* control-plane organization (scoped to the Management API audience).
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Developer app setup page (#1776), served at /u2/self-service/app.
|
|
3
|
+
*
|
|
4
|
+
* An outside developer opens an invite link (an Initial Access Token minted
|
|
5
|
+
* from an app-type preset) to register an app, or an edit link (a
|
|
6
|
+
* Registration Access Token for one client) to update it. The landing route
|
|
7
|
+
* in u2-routes.tsx verifies the link and starts a login session carrying
|
|
8
|
+
* `state_data.self_service`; this screen re-checks the token on every request,
|
|
9
|
+
* so revoking a link also stops an open page.
|
|
10
|
+
*
|
|
11
|
+
* Registration and updates go through the same code as RFC 7591/7592
|
|
12
|
+
* (helpers/dcr/client-registration.ts), so the page enforces exactly what the
|
|
13
|
+
* API enforces.
|
|
14
|
+
*/
|
|
15
|
+
import { type ClientRegistrationToken } from "@authhero/adapter-interfaces";
|
|
16
|
+
import type { ScreenContext, ScreenDefinition, ScreenResult } from "./types";
|
|
17
|
+
export declare const SELF_SERVICE_APP_SCREEN = "self-service-app";
|
|
18
|
+
type Kind = "app_create" | "app_edit";
|
|
19
|
+
export interface SelfServiceState {
|
|
20
|
+
kind: Kind;
|
|
21
|
+
token_id: string;
|
|
22
|
+
/** Set once a create link has registered its app. */
|
|
23
|
+
completed_client_id?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function readSelfServiceState(stateDataJson: string | undefined): SelfServiceState | null;
|
|
26
|
+
/** Which link a token is, or null when it can't open the setup page. */
|
|
27
|
+
export declare function ticketKind(token: ClientRegistrationToken): Kind | null;
|
|
28
|
+
/** Whether the link is still usable: not revoked, expired or used up. */
|
|
29
|
+
export declare function isTicketActive(token: ClientRegistrationToken): boolean;
|
|
30
|
+
/** The page shown for an unknown, expired, revoked or used link. */
|
|
31
|
+
export declare function invalidTicketScreen(context: ScreenContext): ScreenResult;
|
|
32
|
+
export interface FormValues {
|
|
33
|
+
client_name: string;
|
|
34
|
+
redirect_uris: string[];
|
|
35
|
+
post_logout_redirect_uris: string[];
|
|
36
|
+
web_origins: string[];
|
|
37
|
+
logo_uri: string;
|
|
38
|
+
client_uri: string;
|
|
39
|
+
policy_uri: string;
|
|
40
|
+
tos_uri: string;
|
|
41
|
+
contact: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function valuesFromForm(data: Record<string, unknown>): FormValues;
|
|
44
|
+
export declare function selfServiceAppScreen(context: ScreenContext): Promise<ScreenResult>;
|
|
45
|
+
export declare const selfServiceAppScreenDefinition: ScreenDefinition;
|
|
46
|
+
export {};
|
|
@@ -160,12 +160,42 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
160
160
|
status: 302;
|
|
161
161
|
};
|
|
162
162
|
};
|
|
163
|
+
} & {
|
|
164
|
+
"/self-service/app": {
|
|
165
|
+
$get: {
|
|
166
|
+
input: {
|
|
167
|
+
query: {
|
|
168
|
+
ticket?: string | undefined;
|
|
169
|
+
state?: string | undefined;
|
|
170
|
+
error?: string | undefined;
|
|
171
|
+
error_description?: string | undefined;
|
|
172
|
+
ui_locales?: string | undefined;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
output: Response;
|
|
176
|
+
outputFormat: "json";
|
|
177
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
178
|
+
} | {
|
|
179
|
+
input: {
|
|
180
|
+
query: {
|
|
181
|
+
ticket?: string | undefined;
|
|
182
|
+
state?: string | undefined;
|
|
183
|
+
error?: string | undefined;
|
|
184
|
+
error_description?: string | undefined;
|
|
185
|
+
ui_locales?: string | undefined;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
output: {};
|
|
189
|
+
outputFormat: string;
|
|
190
|
+
status: 302;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
163
193
|
} & {
|
|
164
194
|
"/:screen{.+}": {
|
|
165
195
|
$get: {
|
|
166
196
|
input: {
|
|
167
197
|
param: {
|
|
168
|
-
screen: "signup" | "
|
|
198
|
+
screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "account" | "enter-password" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "reset-password/code" | "reset-password/request" | "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";
|
|
169
199
|
};
|
|
170
200
|
} & {
|
|
171
201
|
query: {
|
|
@@ -181,7 +211,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
181
211
|
} | {
|
|
182
212
|
input: {
|
|
183
213
|
param: {
|
|
184
|
-
screen: "signup" | "
|
|
214
|
+
screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "account" | "enter-password" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "reset-password/code" | "reset-password/request" | "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";
|
|
185
215
|
};
|
|
186
216
|
} & {
|
|
187
217
|
query: {
|
|
@@ -197,7 +227,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
197
227
|
} | {
|
|
198
228
|
input: {
|
|
199
229
|
param: {
|
|
200
|
-
screen: "signup" | "
|
|
230
|
+
screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "account" | "enter-password" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "reset-password/code" | "reset-password/request" | "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";
|
|
201
231
|
};
|
|
202
232
|
} & {
|
|
203
233
|
query: {
|
|
@@ -217,7 +247,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
217
247
|
$post: {
|
|
218
248
|
input: {
|
|
219
249
|
param: {
|
|
220
|
-
screen: "signup" | "
|
|
250
|
+
screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "enter-password" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "reset-password/code" | "reset-password/request" | "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";
|
|
221
251
|
};
|
|
222
252
|
} & {
|
|
223
253
|
query: {
|
|
@@ -235,7 +265,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
235
265
|
} | {
|
|
236
266
|
input: {
|
|
237
267
|
param: {
|
|
238
|
-
screen: "signup" | "
|
|
268
|
+
screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "enter-password" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "reset-password/code" | "reset-password/request" | "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";
|
|
239
269
|
};
|
|
240
270
|
} & {
|
|
241
271
|
query: {
|
|
@@ -165,12 +165,42 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
165
165
|
status: 302;
|
|
166
166
|
};
|
|
167
167
|
};
|
|
168
|
+
} & {
|
|
169
|
+
"/self-service/app": {
|
|
170
|
+
$get: {
|
|
171
|
+
input: {
|
|
172
|
+
query: {
|
|
173
|
+
ticket?: string | undefined;
|
|
174
|
+
state?: string | undefined;
|
|
175
|
+
error?: string | undefined;
|
|
176
|
+
error_description?: string | undefined;
|
|
177
|
+
ui_locales?: string | undefined;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
output: Response;
|
|
181
|
+
outputFormat: "json";
|
|
182
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
183
|
+
} | {
|
|
184
|
+
input: {
|
|
185
|
+
query: {
|
|
186
|
+
ticket?: string | undefined;
|
|
187
|
+
state?: string | undefined;
|
|
188
|
+
error?: string | undefined;
|
|
189
|
+
error_description?: string | undefined;
|
|
190
|
+
ui_locales?: string | undefined;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
output: {};
|
|
194
|
+
outputFormat: string;
|
|
195
|
+
status: 302;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
168
198
|
} & {
|
|
169
199
|
"/:screen{.+}": {
|
|
170
200
|
$get: {
|
|
171
201
|
input: {
|
|
172
202
|
param: {
|
|
173
|
-
screen: "signup" | "
|
|
203
|
+
screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "account" | "enter-password" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "reset-password/code" | "reset-password/request" | "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";
|
|
174
204
|
};
|
|
175
205
|
} & {
|
|
176
206
|
query: {
|
|
@@ -186,7 +216,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
186
216
|
} | {
|
|
187
217
|
input: {
|
|
188
218
|
param: {
|
|
189
|
-
screen: "signup" | "
|
|
219
|
+
screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "account" | "enter-password" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "reset-password/code" | "reset-password/request" | "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";
|
|
190
220
|
};
|
|
191
221
|
} & {
|
|
192
222
|
query: {
|
|
@@ -202,7 +232,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
202
232
|
} | {
|
|
203
233
|
input: {
|
|
204
234
|
param: {
|
|
205
|
-
screen: "signup" | "
|
|
235
|
+
screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "account" | "enter-password" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "reset-password/code" | "reset-password/request" | "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";
|
|
206
236
|
};
|
|
207
237
|
} & {
|
|
208
238
|
query: {
|
|
@@ -222,7 +252,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
222
252
|
$post: {
|
|
223
253
|
input: {
|
|
224
254
|
param: {
|
|
225
|
-
screen: "signup" | "
|
|
255
|
+
screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "enter-password" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "reset-password/code" | "reset-password/request" | "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";
|
|
226
256
|
};
|
|
227
257
|
} & {
|
|
228
258
|
query: {
|
|
@@ -240,7 +270,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
240
270
|
} | {
|
|
241
271
|
input: {
|
|
242
272
|
param: {
|
|
243
|
-
screen: "signup" | "
|
|
273
|
+
screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "enter-password" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "reset-password/code" | "reset-password/request" | "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";
|
|
244
274
|
};
|
|
245
275
|
} & {
|
|
246
276
|
query: {
|