authhero 9.43.0 → 9.44.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/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +205 -164
- package/dist/authhero.d.ts +220 -216
- package/dist/authhero.mjs +10760 -10688
- package/dist/{mfa-C8qBEQeH.js → mfa-B0J_xOxl.js} +1 -1
- package/dist/{mfa-CVF4Wbdz.mjs → mfa-CX1JyNyV.mjs} +1 -1
- package/dist/{mfa-attempts-sV0Xs59R.mjs → mfa-attempts-BNf9KSrR.mjs} +3 -1
- package/dist/{mfa-attempts-CzGjIGzD.js → mfa-attempts-suDM5Cv-.js} +3 -3
- package/dist/{passkey-enrollment-CAb2zWEF.js → passkey-enrollment-D180Gog3.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +2 -2
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/login-migration.d.ts +23 -2
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +220 -216
- package/dist/types/routes/auth-api/authorize.d.ts +13 -13
- package/dist/types/routes/auth-api/device.d.ts +21 -21
- package/dist/types/routes/auth-api/index.d.ts +81 -81
- package/dist/types/routes/auth-api/logout.d.ts +2 -2
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/token.d.ts +12 -12
- 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 +7 -3
- package/dist/types/routes/management-api/client-registration-tokens.d.ts +8 -8
- package/dist/types/routes/management-api/clients.d.ts +16 -16
- 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 +8 -8
- 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 +112 -108
- 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/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +4 -4
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/self-service-profiles.d.ts +8 -8
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +20 -20
- package/dist/types/routes/saml/index.d.ts +10 -10
- package/dist/types/routes/saml/samlp.d.ts +10 -10
- package/dist/types/routes/universal-login/common.d.ts +2 -0
- package/dist/types/routes/universal-login/continue.d.ts +4 -4
- package/dist/types/routes/universal-login/dark-theme.d.ts +14 -2
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
- package/dist/types/routes/universal-login/index.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +9 -9
- package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-widget-page.d.ts +20 -2
- package/dist/types/routes/universal-login/universal-login-template.d.ts +8 -0
- package/dist/types/state-machines/login-session.d.ts +1 -1
- package/dist/types/strategies/apple.d.ts +1 -1
- package/package.json +7 -7
|
@@ -890,10 +890,10 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
890
890
|
};
|
|
891
891
|
};
|
|
892
892
|
output: {
|
|
893
|
-
created_at: string;
|
|
894
|
-
id: string;
|
|
895
893
|
client_id: string;
|
|
896
894
|
user_id: string;
|
|
895
|
+
id: string;
|
|
896
|
+
created_at: string;
|
|
897
897
|
rotating: boolean;
|
|
898
898
|
login_id: string;
|
|
899
899
|
device: {
|
|
@@ -908,7 +908,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
908
908
|
audience: string;
|
|
909
909
|
scopes: string;
|
|
910
910
|
}[];
|
|
911
|
-
revoked_at?: string | undefined;
|
|
912
911
|
session_transfer?: {
|
|
913
912
|
client_id: string;
|
|
914
913
|
family_id: string;
|
|
@@ -922,14 +921,18 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
922
921
|
strategy_type: string;
|
|
923
922
|
} | undefined;
|
|
924
923
|
organization?: string | undefined;
|
|
924
|
+
revoked_at?: string | undefined;
|
|
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: {
|
|
929
|
-
created_at: string;
|
|
930
|
-
id: string;
|
|
931
932
|
client_id: string;
|
|
932
933
|
user_id: string;
|
|
934
|
+
id: string;
|
|
935
|
+
created_at: string;
|
|
933
936
|
rotating: boolean;
|
|
934
937
|
login_id: string;
|
|
935
938
|
device: {
|
|
@@ -944,7 +947,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
944
947
|
audience: string;
|
|
945
948
|
scopes: string;
|
|
946
949
|
}[];
|
|
947
|
-
revoked_at?: string | undefined;
|
|
948
950
|
session_transfer?: {
|
|
949
951
|
client_id: string;
|
|
950
952
|
family_id: string;
|
|
@@ -958,19 +960,18 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
958
960
|
strategy_type: string;
|
|
959
961
|
} | undefined;
|
|
960
962
|
organization?: string | undefined;
|
|
963
|
+
revoked_at?: string | undefined;
|
|
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: {
|
|
970
|
-
created_at: string;
|
|
971
|
-
id: string;
|
|
972
971
|
client_id: string;
|
|
973
972
|
user_id: string;
|
|
973
|
+
id: string;
|
|
974
|
+
created_at: string;
|
|
974
975
|
rotating: boolean;
|
|
975
976
|
login_id: string;
|
|
976
977
|
device: {
|
|
@@ -985,7 +986,6 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
985
986
|
audience: string;
|
|
986
987
|
scopes: string;
|
|
987
988
|
}[];
|
|
988
|
-
revoked_at?: string | undefined;
|
|
989
989
|
session_transfer?: {
|
|
990
990
|
client_id: string;
|
|
991
991
|
family_id: string;
|
|
@@ -999,10 +999,10 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
999
999
|
strategy_type: string;
|
|
1000
1000
|
} | undefined;
|
|
1001
1001
|
organization?: string | undefined;
|
|
1002
|
+
revoked_at?: string | undefined;
|
|
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: "
|
|
1084
|
+
type: "i" | "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" | "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: "
|
|
1120
|
+
type: "i" | "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" | "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: "
|
|
1161
|
+
type: "i" | "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" | "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";
|
|
@@ -73,7 +73,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
73
73
|
};
|
|
74
74
|
output: {};
|
|
75
75
|
outputFormat: string;
|
|
76
|
-
status:
|
|
76
|
+
status: 302;
|
|
77
77
|
} | {
|
|
78
78
|
input: {
|
|
79
79
|
param: {
|
|
@@ -89,7 +89,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
89
89
|
};
|
|
90
90
|
output: {};
|
|
91
91
|
outputFormat: string;
|
|
92
|
-
status:
|
|
92
|
+
status: 400;
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
} & {
|
|
@@ -107,7 +107,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
107
107
|
};
|
|
108
108
|
output: {};
|
|
109
109
|
outputFormat: string;
|
|
110
|
-
status:
|
|
110
|
+
status: 302;
|
|
111
111
|
} | {
|
|
112
112
|
input: {
|
|
113
113
|
param: {
|
|
@@ -121,7 +121,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
121
121
|
};
|
|
122
122
|
output: {};
|
|
123
123
|
outputFormat: string;
|
|
124
|
-
status:
|
|
124
|
+
status: 400;
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
127
|
} & {
|
|
@@ -141,7 +141,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
141
141
|
};
|
|
142
142
|
output: {};
|
|
143
143
|
outputFormat: string;
|
|
144
|
-
status:
|
|
144
|
+
status: 200;
|
|
145
145
|
} | {
|
|
146
146
|
input: {
|
|
147
147
|
param: {
|
|
@@ -157,7 +157,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
157
157
|
};
|
|
158
158
|
output: {};
|
|
159
159
|
outputFormat: string;
|
|
160
|
-
status:
|
|
160
|
+
status: 302;
|
|
161
161
|
} | {
|
|
162
162
|
input: {
|
|
163
163
|
param: {
|
|
@@ -173,7 +173,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
173
173
|
};
|
|
174
174
|
output: {};
|
|
175
175
|
outputFormat: string;
|
|
176
|
-
status:
|
|
176
|
+
status: 400;
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
179
|
} & {
|
|
@@ -191,7 +191,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
191
191
|
};
|
|
192
192
|
output: {};
|
|
193
193
|
outputFormat: string;
|
|
194
|
-
status:
|
|
194
|
+
status: 200;
|
|
195
195
|
} | {
|
|
196
196
|
input: {
|
|
197
197
|
param: {
|
|
@@ -205,7 +205,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
205
205
|
};
|
|
206
206
|
output: {};
|
|
207
207
|
outputFormat: string;
|
|
208
|
-
status:
|
|
208
|
+
status: 302;
|
|
209
209
|
} | {
|
|
210
210
|
input: {
|
|
211
211
|
param: {
|
|
@@ -219,7 +219,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
219
219
|
};
|
|
220
220
|
output: {};
|
|
221
221
|
outputFormat: string;
|
|
222
|
-
status:
|
|
222
|
+
status: 400;
|
|
223
223
|
};
|
|
224
224
|
};
|
|
225
225
|
}, "/">, "/">;
|
|
@@ -73,7 +73,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
73
73
|
};
|
|
74
74
|
output: {};
|
|
75
75
|
outputFormat: string;
|
|
76
|
-
status:
|
|
76
|
+
status: 302;
|
|
77
77
|
} | {
|
|
78
78
|
input: {
|
|
79
79
|
param: {
|
|
@@ -89,7 +89,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
89
89
|
};
|
|
90
90
|
output: {};
|
|
91
91
|
outputFormat: string;
|
|
92
|
-
status:
|
|
92
|
+
status: 400;
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
} & {
|
|
@@ -107,7 +107,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
107
107
|
};
|
|
108
108
|
output: {};
|
|
109
109
|
outputFormat: string;
|
|
110
|
-
status:
|
|
110
|
+
status: 302;
|
|
111
111
|
} | {
|
|
112
112
|
input: {
|
|
113
113
|
param: {
|
|
@@ -121,7 +121,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
121
121
|
};
|
|
122
122
|
output: {};
|
|
123
123
|
outputFormat: string;
|
|
124
|
-
status:
|
|
124
|
+
status: 400;
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
127
|
} & {
|
|
@@ -141,7 +141,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
141
141
|
};
|
|
142
142
|
output: {};
|
|
143
143
|
outputFormat: string;
|
|
144
|
-
status:
|
|
144
|
+
status: 200;
|
|
145
145
|
} | {
|
|
146
146
|
input: {
|
|
147
147
|
param: {
|
|
@@ -157,7 +157,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
157
157
|
};
|
|
158
158
|
output: {};
|
|
159
159
|
outputFormat: string;
|
|
160
|
-
status:
|
|
160
|
+
status: 302;
|
|
161
161
|
} | {
|
|
162
162
|
input: {
|
|
163
163
|
param: {
|
|
@@ -173,7 +173,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
173
173
|
};
|
|
174
174
|
output: {};
|
|
175
175
|
outputFormat: string;
|
|
176
|
-
status:
|
|
176
|
+
status: 400;
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
179
|
} & {
|
|
@@ -191,7 +191,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
191
191
|
};
|
|
192
192
|
output: {};
|
|
193
193
|
outputFormat: string;
|
|
194
|
-
status:
|
|
194
|
+
status: 200;
|
|
195
195
|
} | {
|
|
196
196
|
input: {
|
|
197
197
|
param: {
|
|
@@ -205,7 +205,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
205
205
|
};
|
|
206
206
|
output: {};
|
|
207
207
|
outputFormat: string;
|
|
208
|
-
status:
|
|
208
|
+
status: 302;
|
|
209
209
|
} | {
|
|
210
210
|
input: {
|
|
211
211
|
param: {
|
|
@@ -219,7 +219,7 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
219
219
|
};
|
|
220
220
|
output: {};
|
|
221
221
|
outputFormat: string;
|
|
222
|
-
status:
|
|
222
|
+
status: 400;
|
|
223
223
|
};
|
|
224
224
|
};
|
|
225
225
|
}, "/">;
|
|
@@ -124,6 +124,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
124
124
|
url: string;
|
|
125
125
|
} | undefined;
|
|
126
126
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
127
|
+
dark_mode_toggle?: boolean | undefined;
|
|
127
128
|
terms_url?: string | undefined;
|
|
128
129
|
privacy_url?: string | undefined;
|
|
129
130
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -510,6 +511,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
510
511
|
url: string;
|
|
511
512
|
} | undefined;
|
|
512
513
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
514
|
+
dark_mode_toggle?: boolean | undefined;
|
|
513
515
|
terms_url?: string | undefined;
|
|
514
516
|
privacy_url?: string | undefined;
|
|
515
517
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const continueRoutes: OpenAPIHono<{
|
|
|
13
13
|
};
|
|
14
14
|
output: {};
|
|
15
15
|
outputFormat: string;
|
|
16
|
-
status:
|
|
16
|
+
status: 302;
|
|
17
17
|
} | {
|
|
18
18
|
input: {
|
|
19
19
|
query: {
|
|
@@ -22,7 +22,7 @@ export declare const continueRoutes: OpenAPIHono<{
|
|
|
22
22
|
};
|
|
23
23
|
output: {};
|
|
24
24
|
outputFormat: string;
|
|
25
|
-
status:
|
|
25
|
+
status: 400;
|
|
26
26
|
} | {
|
|
27
27
|
input: {
|
|
28
28
|
query: {
|
|
@@ -48,7 +48,7 @@ export declare const u2ContinueRoutes: OpenAPIHono<{
|
|
|
48
48
|
};
|
|
49
49
|
output: {};
|
|
50
50
|
outputFormat: string;
|
|
51
|
-
status:
|
|
51
|
+
status: 302;
|
|
52
52
|
} | {
|
|
53
53
|
input: {
|
|
54
54
|
query: {
|
|
@@ -57,7 +57,7 @@ export declare const u2ContinueRoutes: OpenAPIHono<{
|
|
|
57
57
|
};
|
|
58
58
|
output: {};
|
|
59
59
|
outputFormat: string;
|
|
60
|
-
status:
|
|
60
|
+
status: 400;
|
|
61
61
|
} | {
|
|
62
62
|
input: {
|
|
63
63
|
query: {
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import type { ColorsDark } from "@authhero/widget/page-chrome";
|
|
1
|
+
import type { BrandingPageBackground, ColorsDark } from "@authhero/widget/page-chrome";
|
|
2
|
+
/**
|
|
3
|
+
* Page background for the dark scheme when the tenant configured none and the
|
|
4
|
+
* light page is light. Matches the error page.
|
|
5
|
+
*/
|
|
6
|
+
export declare const DEFAULT_DARK_PAGE_BACKGROUND = "#111827";
|
|
2
7
|
export declare function sanitizeColorsDark(colorsDark: any): ColorsDark | undefined;
|
|
3
8
|
export type DarkPageInputs = {
|
|
4
9
|
/** Sanitized explicit dark colour overrides. */
|
|
5
10
|
colorsDark?: ColorsDark;
|
|
6
11
|
/** Light brand link colour, so derived dark keeps it. */
|
|
7
12
|
linkColor?: string;
|
|
8
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* CSS `background` for the dark scheme: the tenant's dark colour/image, or
|
|
15
|
+
* a default dark colour when the light page is a plain light colour.
|
|
16
|
+
* Undefined = same as light.
|
|
17
|
+
*/
|
|
9
18
|
darkBackground?: string;
|
|
10
19
|
/** Logo for the light scheme (theme wins over branding). */
|
|
11
20
|
logoUrl: string | null;
|
|
@@ -17,6 +26,9 @@ export type DarkPageInputs = {
|
|
|
17
26
|
};
|
|
18
27
|
export declare function resolveDarkPageInputs(theme: any, branding: {
|
|
19
28
|
logo_url?: string;
|
|
29
|
+
colors?: {
|
|
30
|
+
page_background?: BrandingPageBackground;
|
|
31
|
+
};
|
|
20
32
|
} | null | undefined, themePageBackground?: {
|
|
21
33
|
background_color?: string;
|
|
22
34
|
background_image_url?: string;
|
|
@@ -35,7 +35,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
35
35
|
};
|
|
36
36
|
output: {};
|
|
37
37
|
outputFormat: string;
|
|
38
|
-
status:
|
|
38
|
+
status: 302;
|
|
39
39
|
} | {
|
|
40
40
|
input: {
|
|
41
41
|
query: {
|
|
@@ -49,7 +49,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
49
49
|
};
|
|
50
50
|
output: {};
|
|
51
51
|
outputFormat: string;
|
|
52
|
-
status:
|
|
52
|
+
status: 400;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
}, "/">;
|
|
@@ -13,7 +13,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
13
13
|
};
|
|
14
14
|
output: {};
|
|
15
15
|
outputFormat: string;
|
|
16
|
-
status:
|
|
16
|
+
status: 200;
|
|
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: 400;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
} & {
|
|
@@ -52,7 +52,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
52
52
|
};
|
|
53
53
|
output: {};
|
|
54
54
|
outputFormat: string;
|
|
55
|
-
status:
|
|
55
|
+
status: 302;
|
|
56
56
|
} | {
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
@@ -65,7 +65,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
65
65
|
};
|
|
66
66
|
output: {};
|
|
67
67
|
outputFormat: string;
|
|
68
|
-
status:
|
|
68
|
+
status: 400;
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
}, "/">;
|
|
@@ -27,7 +27,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
27
27
|
};
|
|
28
28
|
output: {};
|
|
29
29
|
outputFormat: string;
|
|
30
|
-
status:
|
|
30
|
+
status: 302;
|
|
31
31
|
} | {
|
|
32
32
|
input: {
|
|
33
33
|
query: {
|
|
@@ -36,7 +36,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
36
36
|
};
|
|
37
37
|
output: {};
|
|
38
38
|
outputFormat: string;
|
|
39
|
-
status:
|
|
39
|
+
status: 400;
|
|
40
40
|
} | {
|
|
41
41
|
input: {
|
|
42
42
|
query: {
|
|
@@ -126,7 +126,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
126
126
|
};
|
|
127
127
|
output: {};
|
|
128
128
|
outputFormat: string;
|
|
129
|
-
status:
|
|
129
|
+
status: 200;
|
|
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: 400;
|
|
139
139
|
};
|
|
140
140
|
};
|
|
141
141
|
} & {
|
|
@@ -165,7 +165,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
165
165
|
};
|
|
166
166
|
output: {};
|
|
167
167
|
outputFormat: string;
|
|
168
|
-
status:
|
|
168
|
+
status: 302;
|
|
169
169
|
} | {
|
|
170
170
|
input: {
|
|
171
171
|
query: {
|
|
@@ -178,7 +178,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
178
178
|
};
|
|
179
179
|
output: {};
|
|
180
180
|
outputFormat: string;
|
|
181
|
-
status:
|
|
181
|
+
status: 400;
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
184
|
}, "/impersonate"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -520,7 +520,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
520
520
|
};
|
|
521
521
|
output: {};
|
|
522
522
|
outputFormat: string;
|
|
523
|
-
status:
|
|
523
|
+
status: 302;
|
|
524
524
|
} | {
|
|
525
525
|
input: {
|
|
526
526
|
query: {
|
|
@@ -534,7 +534,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
534
534
|
};
|
|
535
535
|
output: {};
|
|
536
536
|
outputFormat: string;
|
|
537
|
-
status:
|
|
537
|
+
status: 400;
|
|
538
538
|
};
|
|
539
539
|
};
|
|
540
540
|
}, "/login/identifier"> & import("hono/types").MergeSchemaPath<{
|