authhero 9.28.0 → 9.28.1
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/js/client.js +1 -1
- package/dist/authhero.cjs +106 -106
- package/dist/authhero.d.ts +316 -316
- package/dist/authhero.mjs +13970 -13945
- package/dist/client.js +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/connection.d.ts +2 -1
- package/dist/types/authentication-flows/passwordless.d.ts +4 -4
- package/dist/types/authentication-flows/universal.d.ts +4 -1
- package/dist/types/client/client-bundle.d.ts +1 -1
- package/dist/types/helpers/logging.d.ts +7 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +316 -316
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/index.d.ts +25 -25
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/management-api/action-triggers.d.ts +2 -2
- package/dist/types/routes/management-api/actions.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 +15 -15
- package/dist/types/routes/management-api/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +8 -8
- 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/flows.d.ts +8 -8
- 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/index.d.ts +276 -276
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +6 -6
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- package/dist/types/routes/management-api/roles.d.ts +6 -6
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/tenant-operations.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +16 -16
- package/dist/types/routes/management-api/themes.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +12 -12
- package/dist/types/routes/saml/index.d.ts +6 -6
- package/dist/types/routes/saml/samlp.d.ts +6 -6
- package/dist/types/routes/universal-login/common.d.ts +12 -12
- 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/impersonate.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +4 -4
- 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/state-machines/login-session.d.ts +3 -1
- package/dist/types/utils/cookies.d.ts +50 -9
- package/package.json +1 -1
|
@@ -854,11 +854,12 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
854
854
|
};
|
|
855
855
|
};
|
|
856
856
|
output: {
|
|
857
|
-
created_at: string;
|
|
858
|
-
id: string;
|
|
859
857
|
client_id: string;
|
|
860
858
|
user_id: string;
|
|
859
|
+
created_at: string;
|
|
861
860
|
rotating: boolean;
|
|
861
|
+
id: string;
|
|
862
|
+
login_id: string;
|
|
862
863
|
device: {
|
|
863
864
|
initial_user_agent: string;
|
|
864
865
|
initial_ip: string;
|
|
@@ -867,7 +868,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
867
868
|
last_ip: string;
|
|
868
869
|
last_asn: string;
|
|
869
870
|
};
|
|
870
|
-
login_id: string;
|
|
871
871
|
resource_servers: {
|
|
872
872
|
audience: string;
|
|
873
873
|
scopes: string;
|
|
@@ -888,11 +888,12 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
888
888
|
limit: number;
|
|
889
889
|
length: number;
|
|
890
890
|
tokens: {
|
|
891
|
-
created_at: string;
|
|
892
|
-
id: string;
|
|
893
891
|
client_id: string;
|
|
894
892
|
user_id: string;
|
|
893
|
+
created_at: string;
|
|
895
894
|
rotating: boolean;
|
|
895
|
+
id: string;
|
|
896
|
+
login_id: string;
|
|
896
897
|
device: {
|
|
897
898
|
initial_user_agent: string;
|
|
898
899
|
initial_ip: string;
|
|
@@ -901,7 +902,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
901
902
|
last_ip: string;
|
|
902
903
|
last_asn: string;
|
|
903
904
|
};
|
|
904
|
-
login_id: string;
|
|
905
905
|
resource_servers: {
|
|
906
906
|
audience: string;
|
|
907
907
|
scopes: string;
|
|
@@ -922,11 +922,12 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
922
922
|
next?: string | undefined;
|
|
923
923
|
} | {
|
|
924
924
|
tokens: {
|
|
925
|
-
created_at: string;
|
|
926
|
-
id: string;
|
|
927
925
|
client_id: string;
|
|
928
926
|
user_id: string;
|
|
927
|
+
created_at: string;
|
|
929
928
|
rotating: boolean;
|
|
929
|
+
id: string;
|
|
930
|
+
login_id: string;
|
|
930
931
|
device: {
|
|
931
932
|
initial_user_agent: string;
|
|
932
933
|
initial_ip: string;
|
|
@@ -935,7 +936,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
935
936
|
last_ip: string;
|
|
936
937
|
last_asn: string;
|
|
937
938
|
};
|
|
938
|
-
login_id: string;
|
|
939
939
|
resource_servers: {
|
|
940
940
|
audience: string;
|
|
941
941
|
scopes: string;
|
|
@@ -1000,7 +1000,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1000
1000
|
};
|
|
1001
1001
|
};
|
|
1002
1002
|
output: {
|
|
1003
|
-
type: "
|
|
1003
|
+
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";
|
|
1004
1004
|
date: string;
|
|
1005
1005
|
isMobile: boolean;
|
|
1006
1006
|
log_id: string;
|
|
@@ -1036,7 +1036,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1036
1036
|
} | undefined;
|
|
1037
1037
|
}[] | {
|
|
1038
1038
|
logs: {
|
|
1039
|
-
type: "
|
|
1039
|
+
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";
|
|
1040
1040
|
date: string;
|
|
1041
1041
|
isMobile: boolean;
|
|
1042
1042
|
log_id: string;
|
|
@@ -1077,7 +1077,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1077
1077
|
limit: number;
|
|
1078
1078
|
length: number;
|
|
1079
1079
|
logs: {
|
|
1080
|
-
type: "
|
|
1080
|
+
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";
|
|
1081
1081
|
date: string;
|
|
1082
1082
|
isMobile: boolean;
|
|
1083
1083
|
log_id: string;
|
|
@@ -78,7 +78,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
78
78
|
};
|
|
79
79
|
output: {};
|
|
80
80
|
outputFormat: string;
|
|
81
|
-
status:
|
|
81
|
+
status: 302;
|
|
82
82
|
} | {
|
|
83
83
|
input: {
|
|
84
84
|
param: {
|
|
@@ -94,7 +94,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
94
94
|
};
|
|
95
95
|
output: {};
|
|
96
96
|
outputFormat: string;
|
|
97
|
-
status:
|
|
97
|
+
status: 400;
|
|
98
98
|
} | {
|
|
99
99
|
input: {
|
|
100
100
|
param: {
|
|
@@ -110,7 +110,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
110
110
|
};
|
|
111
111
|
output: {};
|
|
112
112
|
outputFormat: string;
|
|
113
|
-
status:
|
|
113
|
+
status: 200;
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
116
|
} & {
|
|
@@ -128,7 +128,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
128
128
|
};
|
|
129
129
|
output: {};
|
|
130
130
|
outputFormat: string;
|
|
131
|
-
status:
|
|
131
|
+
status: 302;
|
|
132
132
|
} | {
|
|
133
133
|
input: {
|
|
134
134
|
param: {
|
|
@@ -142,7 +142,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
142
142
|
};
|
|
143
143
|
output: {};
|
|
144
144
|
outputFormat: string;
|
|
145
|
-
status:
|
|
145
|
+
status: 400;
|
|
146
146
|
} | {
|
|
147
147
|
input: {
|
|
148
148
|
param: {
|
|
@@ -156,7 +156,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
156
156
|
};
|
|
157
157
|
output: {};
|
|
158
158
|
outputFormat: string;
|
|
159
|
-
status:
|
|
159
|
+
status: 200;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
162
|
}, "/">, "/">;
|
|
@@ -78,7 +78,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
78
78
|
};
|
|
79
79
|
output: {};
|
|
80
80
|
outputFormat: string;
|
|
81
|
-
status:
|
|
81
|
+
status: 302;
|
|
82
82
|
} | {
|
|
83
83
|
input: {
|
|
84
84
|
param: {
|
|
@@ -94,7 +94,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
94
94
|
};
|
|
95
95
|
output: {};
|
|
96
96
|
outputFormat: string;
|
|
97
|
-
status:
|
|
97
|
+
status: 400;
|
|
98
98
|
} | {
|
|
99
99
|
input: {
|
|
100
100
|
param: {
|
|
@@ -110,7 +110,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
110
110
|
};
|
|
111
111
|
output: {};
|
|
112
112
|
outputFormat: string;
|
|
113
|
-
status:
|
|
113
|
+
status: 200;
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
116
|
} & {
|
|
@@ -128,7 +128,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
128
128
|
};
|
|
129
129
|
output: {};
|
|
130
130
|
outputFormat: string;
|
|
131
|
-
status:
|
|
131
|
+
status: 302;
|
|
132
132
|
} | {
|
|
133
133
|
input: {
|
|
134
134
|
param: {
|
|
@@ -142,7 +142,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
142
142
|
};
|
|
143
143
|
output: {};
|
|
144
144
|
outputFormat: string;
|
|
145
|
-
status:
|
|
145
|
+
status: 400;
|
|
146
146
|
} | {
|
|
147
147
|
input: {
|
|
148
148
|
param: {
|
|
@@ -156,7 +156,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
156
156
|
};
|
|
157
157
|
output: {};
|
|
158
158
|
outputFormat: string;
|
|
159
|
-
status:
|
|
159
|
+
status: 200;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
162
|
}, "/">;
|
|
@@ -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
|
};
|
|
@@ -231,7 +231,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
231
231
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
232
232
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
233
233
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
234
|
-
provisioning_state?: "pending" | "
|
|
234
|
+
provisioning_state?: "pending" | "failed" | "ready" | undefined;
|
|
235
235
|
provisioning_error?: string | undefined;
|
|
236
236
|
provisioning_state_changed_at?: string | undefined;
|
|
237
237
|
bundle_configuration?: string | undefined;
|
|
@@ -471,7 +471,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
471
471
|
custom_login_page_preview?: string | undefined;
|
|
472
472
|
form_template?: string | undefined;
|
|
473
473
|
addons?: Record<string, any> | undefined;
|
|
474
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "
|
|
474
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
475
475
|
client_metadata?: Record<string, string> | undefined;
|
|
476
476
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
477
477
|
mobile?: Record<string, any> | undefined;
|
|
@@ -614,7 +614,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
614
614
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
615
615
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
616
616
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
617
|
-
provisioning_state?: "pending" | "
|
|
617
|
+
provisioning_state?: "pending" | "failed" | "ready" | undefined;
|
|
618
618
|
provisioning_error?: string | undefined;
|
|
619
619
|
provisioning_state_changed_at?: string | undefined;
|
|
620
620
|
bundle_configuration?: string | undefined;
|
|
@@ -823,13 +823,13 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
823
823
|
page_background: {
|
|
824
824
|
background_color: string;
|
|
825
825
|
background_image_url: string;
|
|
826
|
-
page_layout: "
|
|
826
|
+
page_layout: "center" | "left" | "right";
|
|
827
827
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
828
828
|
};
|
|
829
829
|
widget: {
|
|
830
|
-
header_text_alignment: "
|
|
830
|
+
header_text_alignment: "center" | "left" | "right";
|
|
831
831
|
logo_height: number;
|
|
832
|
-
logo_position: "none" | "
|
|
832
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
833
833
|
logo_url: string;
|
|
834
834
|
social_buttons_layout: "bottom" | "top";
|
|
835
835
|
};
|
|
@@ -983,7 +983,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
983
983
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
984
984
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
985
985
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
986
|
-
provisioning_state?: "pending" | "
|
|
986
|
+
provisioning_state?: "pending" | "failed" | "ready" | undefined;
|
|
987
987
|
provisioning_error?: string | undefined;
|
|
988
988
|
provisioning_state_changed_at?: string | undefined;
|
|
989
989
|
bundle_configuration?: string | undefined;
|
|
@@ -1223,7 +1223,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1223
1223
|
custom_login_page_preview?: string | undefined;
|
|
1224
1224
|
form_template?: string | undefined;
|
|
1225
1225
|
addons?: Record<string, any> | undefined;
|
|
1226
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "
|
|
1226
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
1227
1227
|
client_metadata?: Record<string, string> | undefined;
|
|
1228
1228
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
1229
1229
|
mobile?: Record<string, any> | undefined;
|
|
@@ -1435,7 +1435,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1435
1435
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
1436
1436
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
1437
1437
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
1438
|
-
provisioning_state?: "pending" | "
|
|
1438
|
+
provisioning_state?: "pending" | "failed" | "ready" | undefined;
|
|
1439
1439
|
provisioning_error?: string | undefined;
|
|
1440
1440
|
provisioning_state_changed_at?: string | undefined;
|
|
1441
1441
|
bundle_configuration?: string | undefined;
|
|
@@ -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: {};
|
|
@@ -13,7 +13,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
13
13
|
};
|
|
14
14
|
output: {};
|
|
15
15
|
outputFormat: string;
|
|
16
|
-
status:
|
|
16
|
+
status: 400;
|
|
17
17
|
} | {
|
|
18
18
|
input: {
|
|
19
19
|
query: {
|
|
@@ -22,7 +22,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
22
22
|
};
|
|
23
23
|
output: {};
|
|
24
24
|
outputFormat: string;
|
|
25
|
-
status:
|
|
25
|
+
status: 200;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
} & {
|
|
@@ -126,7 +126,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
126
126
|
};
|
|
127
127
|
output: {};
|
|
128
128
|
outputFormat: string;
|
|
129
|
-
status:
|
|
129
|
+
status: 400;
|
|
130
130
|
} | {
|
|
131
131
|
input: {
|
|
132
132
|
query: {
|
|
@@ -135,7 +135,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
135
135
|
};
|
|
136
136
|
output: {};
|
|
137
137
|
outputFormat: string;
|
|
138
|
-
status:
|
|
138
|
+
status: 200;
|
|
139
139
|
};
|
|
140
140
|
};
|
|
141
141
|
} & {
|
|
@@ -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: {};
|
|
@@ -165,7 +165,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
165
165
|
$get: {
|
|
166
166
|
input: {
|
|
167
167
|
param: {
|
|
168
|
-
screen: "impersonate" | "signup" | "
|
|
168
|
+
screen: "impersonate" | "signup" | "login" | "account" | "reset-password" | "consent" | "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" | "device/code" | "device/confirmation" | "device/complete";
|
|
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: "impersonate" | "signup" | "
|
|
184
|
+
screen: "impersonate" | "signup" | "login" | "account" | "reset-password" | "consent" | "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" | "device/code" | "device/confirmation" | "device/complete";
|
|
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: "impersonate" | "signup" | "
|
|
200
|
+
screen: "impersonate" | "signup" | "login" | "account" | "reset-password" | "consent" | "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" | "device/code" | "device/confirmation" | "device/complete";
|
|
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: "impersonate" | "signup" | "
|
|
220
|
+
screen: "impersonate" | "signup" | "login" | "reset-password" | "consent" | "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" | "device/code" | "device/confirmation";
|
|
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: "impersonate" | "signup" | "
|
|
238
|
+
screen: "impersonate" | "signup" | "login" | "reset-password" | "consent" | "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" | "device/code" | "device/confirmation";
|
|
239
239
|
};
|
|
240
240
|
} & {
|
|
241
241
|
query: {
|
|
@@ -170,7 +170,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
170
170
|
$get: {
|
|
171
171
|
input: {
|
|
172
172
|
param: {
|
|
173
|
-
screen: "impersonate" | "signup" | "
|
|
173
|
+
screen: "impersonate" | "signup" | "login" | "account" | "reset-password" | "consent" | "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" | "device/code" | "device/confirmation" | "device/complete";
|
|
174
174
|
};
|
|
175
175
|
} & {
|
|
176
176
|
query: {
|
|
@@ -186,7 +186,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
186
186
|
} | {
|
|
187
187
|
input: {
|
|
188
188
|
param: {
|
|
189
|
-
screen: "impersonate" | "signup" | "
|
|
189
|
+
screen: "impersonate" | "signup" | "login" | "account" | "reset-password" | "consent" | "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" | "device/code" | "device/confirmation" | "device/complete";
|
|
190
190
|
};
|
|
191
191
|
} & {
|
|
192
192
|
query: {
|
|
@@ -202,7 +202,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
202
202
|
} | {
|
|
203
203
|
input: {
|
|
204
204
|
param: {
|
|
205
|
-
screen: "impersonate" | "signup" | "
|
|
205
|
+
screen: "impersonate" | "signup" | "login" | "account" | "reset-password" | "consent" | "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" | "device/code" | "device/confirmation" | "device/complete";
|
|
206
206
|
};
|
|
207
207
|
} & {
|
|
208
208
|
query: {
|
|
@@ -222,7 +222,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
222
222
|
$post: {
|
|
223
223
|
input: {
|
|
224
224
|
param: {
|
|
225
|
-
screen: "impersonate" | "signup" | "
|
|
225
|
+
screen: "impersonate" | "signup" | "login" | "reset-password" | "consent" | "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" | "device/code" | "device/confirmation";
|
|
226
226
|
};
|
|
227
227
|
} & {
|
|
228
228
|
query: {
|
|
@@ -240,7 +240,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
240
240
|
} | {
|
|
241
241
|
input: {
|
|
242
242
|
param: {
|
|
243
|
-
screen: "impersonate" | "signup" | "
|
|
243
|
+
screen: "impersonate" | "signup" | "login" | "reset-password" | "consent" | "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" | "device/code" | "device/confirmation";
|
|
244
244
|
};
|
|
245
245
|
} & {
|
|
246
246
|
query: {
|