authhero 9.31.0 → 9.33.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 +73 -73
- package/dist/authhero.d.ts +613 -432
- package/dist/authhero.mjs +10990 -10763
- package/dist/mfa-attempts-DNgUKmta.js +275 -0
- package/dist/{mfa-attempts-Dl3I8pop.mjs → mfa-attempts-dhkGMzI5.mjs} +6263 -5839
- package/dist/{passkey-enrollment-2Toeaevy.js → passkey-enrollment-B_o8pQ1z.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/common.d.ts +12 -1
- package/dist/types/authentication-flows/passwordless.d.ts +17 -6
- package/dist/types/authentication-flows/refresh-token.d.ts +1 -0
- package/dist/types/helpers/cimd.d.ts +8 -0
- package/dist/types/helpers/client.d.ts +17 -1
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/login-session-tenant.d.ts +22 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/session-transfer.d.ts +158 -0
- package/dist/types/hooks/lifecycle-codehooks.d.ts +2 -2
- package/dist/types/index.d.ts +552 -422
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/authorize.d.ts +6 -0
- package/dist/types/routes/auth-api/index.d.ts +42 -25
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/token.d.ts +21 -10
- package/dist/types/routes/management-api/action-triggers.d.ts +27 -27
- package/dist/types/routes/management-api/actions.d.ts +13 -13
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +19 -19
- package/dist/types/routes/management-api/clients.d.ts +86 -18
- package/dist/types/routes/management-api/connections.d.ts +9 -9
- 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/emails.d.ts +6 -6
- package/dist/types/routes/management-api/failed-events.d.ts +2 -2
- 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/hooks.d.ts +56 -56
- package/dist/types/routes/management-api/index.d.ts +512 -399
- package/dist/types/routes/management-api/jobs.d.ts +2 -2
- package/dist/types/routes/management-api/keys.d.ts +4 -4
- 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 +1 -1
- package/dist/types/routes/management-api/prompts.d.ts +8 -8
- package/dist/types/routes/management-api/refresh_tokens.d.ts +5 -0
- package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
- 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/sessions.d.ts +5 -0
- package/dist/types/routes/management-api/tenant-members.d.ts +8 -8
- package/dist/types/routes/management-api/tenant-operations.d.ts +9 -9
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/themes.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +45 -15
- 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 +45 -18
- package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
- package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- 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/types/GrantFlowResult.d.ts +13 -0
- package/dist/types/types/Hooks.d.ts +24 -0
- package/dist/types/types/Variables.d.ts +12 -1
- package/dist/types/utils/cookies.d.ts +15 -0
- package/dist/types/utils/session-transfer-token.d.ts +56 -0
- package/package.json +6 -6
- package/dist/mfa-attempts-DXiY4U74.js +0 -275
|
@@ -128,7 +128,7 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
128
128
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
129
129
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
130
130
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
131
|
-
provisioning_state?: "
|
|
131
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
132
132
|
provisioning_error?: string | undefined;
|
|
133
133
|
provisioning_state_changed_at?: string | undefined;
|
|
134
134
|
bundle_configuration?: string | undefined;
|
|
@@ -221,12 +221,11 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
221
221
|
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
222
222
|
} | undefined;
|
|
223
223
|
default_organization?: string | undefined;
|
|
224
|
-
audience?: string | undefined;
|
|
225
|
-
id?: string | undefined;
|
|
226
224
|
parent_tenant_id?: string | null | undefined;
|
|
227
225
|
config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
|
|
228
226
|
config_sync_hash?: string | null | undefined;
|
|
229
227
|
config_synced_at?: string | null | undefined;
|
|
228
|
+
audience?: string | undefined;
|
|
230
229
|
friendly_name?: string | undefined;
|
|
231
230
|
picture_url?: string | undefined;
|
|
232
231
|
support_email?: string | undefined;
|
|
@@ -325,7 +324,7 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
325
324
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
326
325
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
327
326
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
328
|
-
provisioning_state?: "
|
|
327
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
329
328
|
provisioning_error?: string | undefined;
|
|
330
329
|
provisioning_state_changed_at?: string | undefined;
|
|
331
330
|
bundle_configuration?: string | undefined;
|
|
@@ -396,6 +395,7 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
396
395
|
message?: string | undefined;
|
|
397
396
|
} | undefined;
|
|
398
397
|
} | undefined;
|
|
398
|
+
id?: string | undefined;
|
|
399
399
|
};
|
|
400
400
|
};
|
|
401
401
|
output: {
|
|
@@ -514,7 +514,7 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
514
514
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
515
515
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
516
516
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
517
|
-
provisioning_state?: "
|
|
517
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
518
518
|
provisioning_error?: string | undefined;
|
|
519
519
|
provisioning_state_changed_at?: string | undefined;
|
|
520
520
|
bundle_configuration?: string | undefined;
|
|
@@ -721,7 +721,7 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
721
721
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
722
722
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
723
723
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
724
|
-
provisioning_state?: "
|
|
724
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
725
725
|
provisioning_error?: string | undefined;
|
|
726
726
|
provisioning_state_changed_at?: string | undefined;
|
|
727
727
|
bundle_configuration?: string | undefined;
|
|
@@ -77,13 +77,13 @@ export declare const themesRoutes: OpenAPIHono<{
|
|
|
77
77
|
page_background: {
|
|
78
78
|
background_color: string;
|
|
79
79
|
background_image_url: string;
|
|
80
|
-
page_layout: "
|
|
80
|
+
page_layout: "center" | "left" | "right";
|
|
81
81
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
82
82
|
};
|
|
83
83
|
widget: {
|
|
84
|
-
header_text_alignment: "
|
|
84
|
+
header_text_alignment: "center" | "left" | "right";
|
|
85
85
|
logo_height: number;
|
|
86
|
-
logo_position: "none" | "
|
|
86
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
87
87
|
logo_url: string;
|
|
88
88
|
social_buttons_layout: "bottom" | "top";
|
|
89
89
|
};
|
|
@@ -167,13 +167,13 @@ export declare const themesRoutes: OpenAPIHono<{
|
|
|
167
167
|
page_background: {
|
|
168
168
|
background_color: string;
|
|
169
169
|
background_image_url: string;
|
|
170
|
-
page_layout: "
|
|
170
|
+
page_layout: "center" | "left" | "right";
|
|
171
171
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
172
172
|
};
|
|
173
173
|
widget: {
|
|
174
|
-
header_text_alignment: "
|
|
174
|
+
header_text_alignment: "center" | "left" | "right";
|
|
175
175
|
logo_height: number;
|
|
176
|
-
logo_position: "none" | "
|
|
176
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
177
177
|
logo_url: string;
|
|
178
178
|
social_buttons_layout: "bottom" | "top";
|
|
179
179
|
};
|
|
@@ -246,13 +246,13 @@ export declare const themesRoutes: OpenAPIHono<{
|
|
|
246
246
|
page_background: {
|
|
247
247
|
background_color: string;
|
|
248
248
|
background_image_url: string;
|
|
249
|
-
page_layout: "
|
|
249
|
+
page_layout: "center" | "left" | "right";
|
|
250
250
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
251
251
|
};
|
|
252
252
|
widget: {
|
|
253
|
-
header_text_alignment: "
|
|
253
|
+
header_text_alignment: "center" | "left" | "right";
|
|
254
254
|
logo_height: number;
|
|
255
|
-
logo_position: "none" | "
|
|
255
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
256
256
|
logo_url: string;
|
|
257
257
|
social_buttons_layout: "bottom" | "top";
|
|
258
258
|
};
|
|
@@ -779,6 +779,11 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
779
779
|
type?: string | undefined;
|
|
780
780
|
}[];
|
|
781
781
|
} | undefined;
|
|
782
|
+
session_transfer?: {
|
|
783
|
+
client_id: string;
|
|
784
|
+
family_id: string;
|
|
785
|
+
cascade_revocation: boolean;
|
|
786
|
+
} | undefined;
|
|
782
787
|
}[] | {
|
|
783
788
|
start: number;
|
|
784
789
|
limit: number;
|
|
@@ -811,6 +816,11 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
811
816
|
type?: string | undefined;
|
|
812
817
|
}[];
|
|
813
818
|
} | undefined;
|
|
819
|
+
session_transfer?: {
|
|
820
|
+
client_id: string;
|
|
821
|
+
family_id: string;
|
|
822
|
+
cascade_revocation: boolean;
|
|
823
|
+
} | undefined;
|
|
814
824
|
}[];
|
|
815
825
|
total?: number | undefined;
|
|
816
826
|
next?: string | undefined;
|
|
@@ -843,6 +853,11 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
843
853
|
type?: string | undefined;
|
|
844
854
|
}[];
|
|
845
855
|
} | undefined;
|
|
856
|
+
session_transfer?: {
|
|
857
|
+
client_id: string;
|
|
858
|
+
family_id: string;
|
|
859
|
+
cascade_revocation: boolean;
|
|
860
|
+
} | undefined;
|
|
846
861
|
}[];
|
|
847
862
|
next?: string | undefined;
|
|
848
863
|
};
|
|
@@ -875,11 +890,12 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
875
890
|
};
|
|
876
891
|
};
|
|
877
892
|
output: {
|
|
878
|
-
created_at: string;
|
|
879
893
|
client_id: string;
|
|
894
|
+
created_at: string;
|
|
880
895
|
rotating: boolean;
|
|
881
|
-
user_id: string;
|
|
882
896
|
id: string;
|
|
897
|
+
user_id: string;
|
|
898
|
+
login_id: string;
|
|
883
899
|
device: {
|
|
884
900
|
initial_user_agent: string;
|
|
885
901
|
initial_ip: string;
|
|
@@ -888,12 +904,15 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
888
904
|
last_ip: string;
|
|
889
905
|
last_asn: string;
|
|
890
906
|
};
|
|
891
|
-
login_id: string;
|
|
892
907
|
resource_servers: {
|
|
893
908
|
audience: string;
|
|
894
909
|
scopes: string;
|
|
895
910
|
}[];
|
|
896
|
-
|
|
911
|
+
session_transfer?: {
|
|
912
|
+
client_id: string;
|
|
913
|
+
family_id: string;
|
|
914
|
+
cascade_revocation: boolean;
|
|
915
|
+
} | undefined;
|
|
897
916
|
expires_at?: string | undefined;
|
|
898
917
|
session_id?: string | undefined;
|
|
899
918
|
auth_connection?: string | undefined;
|
|
@@ -901,6 +920,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
901
920
|
strategy: string;
|
|
902
921
|
strategy_type: string;
|
|
903
922
|
} | undefined;
|
|
923
|
+
organization?: string | undefined;
|
|
904
924
|
revoked_at?: string | undefined;
|
|
905
925
|
idle_expires_at?: string | undefined;
|
|
906
926
|
last_exchanged_at?: string | undefined;
|
|
@@ -909,11 +929,12 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
909
929
|
limit: number;
|
|
910
930
|
length: number;
|
|
911
931
|
tokens: {
|
|
912
|
-
created_at: string;
|
|
913
932
|
client_id: string;
|
|
933
|
+
created_at: string;
|
|
914
934
|
rotating: boolean;
|
|
915
|
-
user_id: string;
|
|
916
935
|
id: string;
|
|
936
|
+
user_id: string;
|
|
937
|
+
login_id: string;
|
|
917
938
|
device: {
|
|
918
939
|
initial_user_agent: string;
|
|
919
940
|
initial_ip: string;
|
|
@@ -922,12 +943,15 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
922
943
|
last_ip: string;
|
|
923
944
|
last_asn: string;
|
|
924
945
|
};
|
|
925
|
-
login_id: string;
|
|
926
946
|
resource_servers: {
|
|
927
947
|
audience: string;
|
|
928
948
|
scopes: string;
|
|
929
949
|
}[];
|
|
930
|
-
|
|
950
|
+
session_transfer?: {
|
|
951
|
+
client_id: string;
|
|
952
|
+
family_id: string;
|
|
953
|
+
cascade_revocation: boolean;
|
|
954
|
+
} | undefined;
|
|
931
955
|
expires_at?: string | undefined;
|
|
932
956
|
session_id?: string | undefined;
|
|
933
957
|
auth_connection?: string | undefined;
|
|
@@ -935,6 +959,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
935
959
|
strategy: string;
|
|
936
960
|
strategy_type: string;
|
|
937
961
|
} | undefined;
|
|
962
|
+
organization?: string | undefined;
|
|
938
963
|
revoked_at?: string | undefined;
|
|
939
964
|
idle_expires_at?: string | undefined;
|
|
940
965
|
last_exchanged_at?: string | undefined;
|
|
@@ -943,11 +968,12 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
943
968
|
next?: string | undefined;
|
|
944
969
|
} | {
|
|
945
970
|
tokens: {
|
|
946
|
-
created_at: string;
|
|
947
971
|
client_id: string;
|
|
972
|
+
created_at: string;
|
|
948
973
|
rotating: boolean;
|
|
949
|
-
user_id: string;
|
|
950
974
|
id: string;
|
|
975
|
+
user_id: string;
|
|
976
|
+
login_id: string;
|
|
951
977
|
device: {
|
|
952
978
|
initial_user_agent: string;
|
|
953
979
|
initial_ip: string;
|
|
@@ -956,12 +982,15 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
956
982
|
last_ip: string;
|
|
957
983
|
last_asn: string;
|
|
958
984
|
};
|
|
959
|
-
login_id: string;
|
|
960
985
|
resource_servers: {
|
|
961
986
|
audience: string;
|
|
962
987
|
scopes: string;
|
|
963
988
|
}[];
|
|
964
|
-
|
|
989
|
+
session_transfer?: {
|
|
990
|
+
client_id: string;
|
|
991
|
+
family_id: string;
|
|
992
|
+
cascade_revocation: boolean;
|
|
993
|
+
} | undefined;
|
|
965
994
|
expires_at?: string | undefined;
|
|
966
995
|
session_id?: string | undefined;
|
|
967
996
|
auth_connection?: string | undefined;
|
|
@@ -969,6 +998,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
969
998
|
strategy: string;
|
|
970
999
|
strategy_type: string;
|
|
971
1000
|
} | undefined;
|
|
1001
|
+
organization?: string | undefined;
|
|
972
1002
|
revoked_at?: string | undefined;
|
|
973
1003
|
idle_expires_at?: string | undefined;
|
|
974
1004
|
last_exchanged_at?: string | undefined;
|
|
@@ -1021,7 +1051,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1021
1051
|
};
|
|
1022
1052
|
};
|
|
1023
1053
|
output: {
|
|
1024
|
-
type: "fn" | "
|
|
1054
|
+
type: "fn" | "i" | "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" | "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";
|
|
1025
1055
|
date: string;
|
|
1026
1056
|
isMobile: boolean;
|
|
1027
1057
|
log_id: string;
|
|
@@ -1057,7 +1087,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1057
1087
|
} | undefined;
|
|
1058
1088
|
}[] | {
|
|
1059
1089
|
logs: {
|
|
1060
|
-
type: "fn" | "
|
|
1090
|
+
type: "fn" | "i" | "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" | "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";
|
|
1061
1091
|
date: string;
|
|
1062
1092
|
isMobile: boolean;
|
|
1063
1093
|
log_id: string;
|
|
@@ -1098,7 +1128,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1098
1128
|
limit: number;
|
|
1099
1129
|
length: number;
|
|
1100
1130
|
logs: {
|
|
1101
|
-
type: "fn" | "
|
|
1131
|
+
type: "fn" | "i" | "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" | "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";
|
|
1102
1132
|
date: string;
|
|
1103
1133
|
isMobile: boolean;
|
|
1104
1134
|
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
|
};
|
|
@@ -100,7 +100,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
100
100
|
url: string;
|
|
101
101
|
} | undefined;
|
|
102
102
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
103
|
-
scope?: "
|
|
103
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
104
104
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
105
105
|
enforce?: boolean | undefined;
|
|
106
106
|
} | null;
|
|
@@ -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?: "
|
|
234
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
235
235
|
provisioning_error?: string | undefined;
|
|
236
236
|
provisioning_state_changed_at?: string | undefined;
|
|
237
237
|
bundle_configuration?: string | undefined;
|
|
@@ -429,7 +429,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
429
429
|
} | undefined;
|
|
430
430
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
431
431
|
};
|
|
432
|
-
scope?: "
|
|
432
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
433
433
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
434
434
|
enforce?: boolean | undefined;
|
|
435
435
|
id?: string | undefined;
|
|
@@ -452,7 +452,17 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
452
452
|
client_aliases?: string[] | undefined;
|
|
453
453
|
allowed_clients?: string[] | undefined;
|
|
454
454
|
allowed_logout_urls?: string[] | undefined;
|
|
455
|
-
session_transfer?:
|
|
455
|
+
session_transfer?: {
|
|
456
|
+
[x: string]: unknown;
|
|
457
|
+
can_create_session_transfer_token?: boolean | undefined;
|
|
458
|
+
enforce_cascade_revocation?: boolean | undefined;
|
|
459
|
+
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
460
|
+
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
461
|
+
allow_refresh_token?: boolean | undefined;
|
|
462
|
+
enforce_online_refresh_tokens?: boolean | undefined;
|
|
463
|
+
allow_onward_transfer?: boolean | undefined;
|
|
464
|
+
trust_forwarded_ip?: boolean | undefined;
|
|
465
|
+
} | undefined;
|
|
456
466
|
oidc_logout?: {
|
|
457
467
|
[x: string]: unknown;
|
|
458
468
|
backchannel_logout_urls?: string[] | undefined;
|
|
@@ -471,7 +481,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
471
481
|
custom_login_page_preview?: string | undefined;
|
|
472
482
|
form_template?: string | undefined;
|
|
473
483
|
addons?: Record<string, any> | undefined;
|
|
474
|
-
token_endpoint_auth_method?: "none" | "
|
|
484
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
475
485
|
client_metadata?: Record<string, string> | undefined;
|
|
476
486
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
477
487
|
mobile?: Record<string, any> | undefined;
|
|
@@ -614,7 +624,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
614
624
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
615
625
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
616
626
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
617
|
-
provisioning_state?: "
|
|
627
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
618
628
|
provisioning_error?: string | undefined;
|
|
619
629
|
provisioning_state_changed_at?: string | undefined;
|
|
620
630
|
bundle_configuration?: string | undefined;
|
|
@@ -743,6 +753,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
743
753
|
strategy_type: string;
|
|
744
754
|
} | undefined;
|
|
745
755
|
authenticated_at?: string | undefined;
|
|
756
|
+
tenant_id?: string | undefined;
|
|
746
757
|
};
|
|
747
758
|
}>;
|
|
748
759
|
export interface InitJSXRouteWithSessionOptions {
|
|
@@ -823,13 +834,13 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
823
834
|
page_background: {
|
|
824
835
|
background_color: string;
|
|
825
836
|
background_image_url: string;
|
|
826
|
-
page_layout: "
|
|
837
|
+
page_layout: "center" | "left" | "right";
|
|
827
838
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
828
839
|
};
|
|
829
840
|
widget: {
|
|
830
|
-
header_text_alignment: "
|
|
841
|
+
header_text_alignment: "center" | "left" | "right";
|
|
831
842
|
logo_height: number;
|
|
832
|
-
logo_position: "none" | "
|
|
843
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
833
844
|
logo_url: string;
|
|
834
845
|
social_buttons_layout: "bottom" | "top";
|
|
835
846
|
};
|
|
@@ -852,7 +863,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
852
863
|
url: string;
|
|
853
864
|
} | undefined;
|
|
854
865
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
855
|
-
scope?: "
|
|
866
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
856
867
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
857
868
|
enforce?: boolean | undefined;
|
|
858
869
|
} | null;
|
|
@@ -983,7 +994,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
983
994
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
984
995
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
985
996
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
986
|
-
provisioning_state?: "
|
|
997
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
987
998
|
provisioning_error?: string | undefined;
|
|
988
999
|
provisioning_state_changed_at?: string | undefined;
|
|
989
1000
|
bundle_configuration?: string | undefined;
|
|
@@ -1181,7 +1192,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1181
1192
|
} | undefined;
|
|
1182
1193
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
1183
1194
|
};
|
|
1184
|
-
scope?: "
|
|
1195
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
1185
1196
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
1186
1197
|
enforce?: boolean | undefined;
|
|
1187
1198
|
id?: string | undefined;
|
|
@@ -1204,7 +1215,17 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1204
1215
|
client_aliases?: string[] | undefined;
|
|
1205
1216
|
allowed_clients?: string[] | undefined;
|
|
1206
1217
|
allowed_logout_urls?: string[] | undefined;
|
|
1207
|
-
session_transfer?:
|
|
1218
|
+
session_transfer?: {
|
|
1219
|
+
[x: string]: unknown;
|
|
1220
|
+
can_create_session_transfer_token?: boolean | undefined;
|
|
1221
|
+
enforce_cascade_revocation?: boolean | undefined;
|
|
1222
|
+
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
1223
|
+
enforce_device_binding?: "none" | "ip" | "asn" | undefined;
|
|
1224
|
+
allow_refresh_token?: boolean | undefined;
|
|
1225
|
+
enforce_online_refresh_tokens?: boolean | undefined;
|
|
1226
|
+
allow_onward_transfer?: boolean | undefined;
|
|
1227
|
+
trust_forwarded_ip?: boolean | undefined;
|
|
1228
|
+
} | undefined;
|
|
1208
1229
|
oidc_logout?: {
|
|
1209
1230
|
[x: string]: unknown;
|
|
1210
1231
|
backchannel_logout_urls?: string[] | undefined;
|
|
@@ -1223,7 +1244,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1223
1244
|
custom_login_page_preview?: string | undefined;
|
|
1224
1245
|
form_template?: string | undefined;
|
|
1225
1246
|
addons?: Record<string, any> | undefined;
|
|
1226
|
-
token_endpoint_auth_method?: "none" | "
|
|
1247
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
1227
1248
|
client_metadata?: Record<string, string> | undefined;
|
|
1228
1249
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
1229
1250
|
mobile?: Record<string, any> | undefined;
|
|
@@ -1435,7 +1456,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1435
1456
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
1436
1457
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
1437
1458
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
1438
|
-
provisioning_state?: "
|
|
1459
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
1439
1460
|
provisioning_error?: string | undefined;
|
|
1440
1461
|
provisioning_state_changed_at?: string | undefined;
|
|
1441
1462
|
bundle_configuration?: string | undefined;
|
|
@@ -1564,6 +1585,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1564
1585
|
strategy_type: string;
|
|
1565
1586
|
} | undefined;
|
|
1566
1587
|
authenticated_at?: string | undefined;
|
|
1588
|
+
tenant_id?: string | undefined;
|
|
1567
1589
|
};
|
|
1568
1590
|
session: {
|
|
1569
1591
|
created_at: string;
|
|
@@ -1593,6 +1615,11 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1593
1615
|
type?: string | undefined;
|
|
1594
1616
|
}[];
|
|
1595
1617
|
} | undefined;
|
|
1618
|
+
session_transfer?: {
|
|
1619
|
+
client_id: string;
|
|
1620
|
+
family_id: string;
|
|
1621
|
+
cascade_revocation: boolean;
|
|
1622
|
+
} | undefined;
|
|
1596
1623
|
} | null;
|
|
1597
1624
|
isContinuation: boolean;
|
|
1598
1625
|
}>;
|