authhero 9.23.1 → 9.24.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/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/{p-91459994.entry.js → p-210f06bf.entry.js} +1 -1
- package/dist/authhero.cjs +116 -116
- package/dist/authhero.d.ts +1433 -278
- package/dist/authhero.mjs +36511 -35845
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/password.d.ts +6 -0
- package/dist/types/authentication-flows/passwordless.d.ts +5 -5
- package/dist/types/generated/locale-types.d.ts +1 -0
- package/dist/types/helpers/logging.d.ts +7 -0
- package/dist/types/helpers/outbox-destinations/log-streams.d.ts +2 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/session-notice.d.ts +17 -0
- package/dist/types/helpers/users.d.ts +5 -0
- package/dist/types/index.d.ts +1433 -278
- package/dist/types/routes/auth-api/index.d.ts +26 -26
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +29 -3
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +5 -5
- package/dist/types/routes/management-api/clients.d.ts +8 -8
- package/dist/types/routes/management-api/connections.d.ts +7 -7
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/email-templates.d.ts +20 -20
- package/dist/types/routes/management-api/emails.d.ts +2 -2
- package/dist/types/routes/management-api/failed-events.d.ts +97 -3
- package/dist/types/routes/management-api/flows.d.ts +52 -0
- package/dist/types/routes/management-api/forms.d.ts +735 -126
- package/dist/types/routes/management-api/grants.d.ts +11 -0
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +34 -4
- package/dist/types/routes/management-api/hooks.d.ts +68 -4
- package/dist/types/routes/management-api/index.d.ts +1326 -269
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +66 -8
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +166 -23
- package/dist/types/routes/saml/index.d.ts +98 -0
- package/dist/types/routes/saml/samlp.d.ts +98 -0
- package/dist/types/routes/universal-login/common.d.ts +10 -10
- package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
- package/dist/types/routes/universal-login/form-node.d.ts +4 -4
- package/dist/types/routes/universal-login/screens/account-mfa-phone-enrollment.d.ts +0 -5
- package/dist/types/routes/universal-login/screens/account-mfa-totp-enrollment.d.ts +0 -5
- package/dist/types/routes/universal-login/screens/account-passkeys.d.ts +0 -5
- package/dist/types/routes/universal-login/screens/connect-tenant-select.d.ts +0 -10
- package/dist/types/routes/universal-login/screens/identifier.d.ts +0 -5
- package/dist/types/routes/universal-login/screens/login.d.ts +0 -8
- package/dist/types/routes/universal-login/screens/mfa-login-options.d.ts +0 -5
- package/dist/types/routes/universal-login/screens/mfa-phone-challenge.d.ts +0 -5
- package/dist/types/routes/universal-login/screens/mfa-phone-enrollment.d.ts +0 -5
- package/dist/types/routes/universal-login/screens/mfa-totp-challenge.d.ts +0 -5
- package/dist/types/routes/universal-login/screens/mfa-totp-enrollment.d.ts +0 -5
- package/dist/types/routes/universal-login/screens/passkey-challenge.d.ts +0 -14
- package/dist/types/routes/universal-login/screens/passkey-enrollment-nudge.d.ts +0 -15
- package/dist/types/routes/universal-login/screens/passkey-enrollment.d.ts +0 -9
- package/dist/types/routes/universal-login/screens/reset-password-code.d.ts +0 -9
- package/dist/types/routes/universal-login/screens/reset-password.d.ts +2 -6
- 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/index.d.ts +3 -1
- package/dist/types/state-machines/login-session-data.d.ts +19 -0
- package/dist/types/state-machines/login-session.d.ts +67 -3
- package/dist/types/state-machines/password-reset.d.ts +46 -0
- package/dist/types/strategies/saml.d.ts +1 -1
- package/package.json +6 -6
|
@@ -709,6 +709,19 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
709
709
|
}[];
|
|
710
710
|
total?: number | undefined;
|
|
711
711
|
next?: string | undefined;
|
|
712
|
+
} | {
|
|
713
|
+
connected_clients: {
|
|
714
|
+
client_id: string;
|
|
715
|
+
name: string;
|
|
716
|
+
logo_uri?: string | undefined;
|
|
717
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
718
|
+
registration_metadata?: {
|
|
719
|
+
[x: string]: any;
|
|
720
|
+
} | undefined;
|
|
721
|
+
created_at?: string | undefined;
|
|
722
|
+
updated_at?: string | undefined;
|
|
723
|
+
}[];
|
|
724
|
+
next?: string | undefined;
|
|
712
725
|
};
|
|
713
726
|
outputFormat: "json";
|
|
714
727
|
status: 200;
|
|
@@ -787,6 +800,30 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
787
800
|
}[];
|
|
788
801
|
total?: number | undefined;
|
|
789
802
|
next?: string | undefined;
|
|
803
|
+
} | {
|
|
804
|
+
sessions: {
|
|
805
|
+
created_at: string;
|
|
806
|
+
updated_at: string;
|
|
807
|
+
authenticated_at: string;
|
|
808
|
+
last_interaction_at: string;
|
|
809
|
+
id: string;
|
|
810
|
+
user_id: string;
|
|
811
|
+
login_session_id: string;
|
|
812
|
+
device: {
|
|
813
|
+
initial_user_agent: string;
|
|
814
|
+
initial_ip: string;
|
|
815
|
+
initial_asn: string;
|
|
816
|
+
last_user_agent: string;
|
|
817
|
+
last_ip: string;
|
|
818
|
+
last_asn: string;
|
|
819
|
+
};
|
|
820
|
+
clients: string[];
|
|
821
|
+
revoked_at?: string | undefined;
|
|
822
|
+
used_at?: string | undefined;
|
|
823
|
+
expires_at?: string | undefined;
|
|
824
|
+
idle_expires_at?: string | undefined;
|
|
825
|
+
}[];
|
|
826
|
+
next?: string | undefined;
|
|
790
827
|
};
|
|
791
828
|
outputFormat: "json";
|
|
792
829
|
status: 200;
|
|
@@ -817,11 +854,11 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
817
854
|
};
|
|
818
855
|
};
|
|
819
856
|
output: {
|
|
820
|
-
created_at: string;
|
|
821
857
|
id: string;
|
|
858
|
+
created_at: string;
|
|
859
|
+
user_id: string;
|
|
822
860
|
client_id: string;
|
|
823
861
|
rotating: boolean;
|
|
824
|
-
user_id: string;
|
|
825
862
|
device: {
|
|
826
863
|
initial_user_agent: string;
|
|
827
864
|
initial_ip: string;
|
|
@@ -835,27 +872,24 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
835
872
|
audience: string;
|
|
836
873
|
scopes: string;
|
|
837
874
|
}[];
|
|
875
|
+
revoked_at?: string | undefined;
|
|
838
876
|
expires_at?: string | undefined;
|
|
877
|
+
idle_expires_at?: string | undefined;
|
|
839
878
|
session_id?: string | undefined;
|
|
879
|
+
organization?: string | undefined;
|
|
840
880
|
auth_connection?: string | undefined;
|
|
841
881
|
auth_strategy?: {
|
|
842
882
|
strategy: string;
|
|
843
883
|
strategy_type: string;
|
|
844
884
|
} | undefined;
|
|
845
|
-
organization?: string | undefined;
|
|
846
|
-
revoked_at?: string | undefined;
|
|
847
|
-
idle_expires_at?: string | undefined;
|
|
848
885
|
last_exchanged_at?: string | undefined;
|
|
849
886
|
}[] | {
|
|
850
|
-
start: number;
|
|
851
|
-
limit: number;
|
|
852
|
-
length: number;
|
|
853
887
|
tokens: {
|
|
854
|
-
created_at: string;
|
|
855
888
|
id: string;
|
|
889
|
+
created_at: string;
|
|
890
|
+
user_id: string;
|
|
856
891
|
client_id: string;
|
|
857
892
|
rotating: boolean;
|
|
858
|
-
user_id: string;
|
|
859
893
|
device: {
|
|
860
894
|
initial_user_agent: string;
|
|
861
895
|
initial_ip: string;
|
|
@@ -869,27 +903,29 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
869
903
|
audience: string;
|
|
870
904
|
scopes: string;
|
|
871
905
|
}[];
|
|
906
|
+
revoked_at?: string | undefined;
|
|
872
907
|
expires_at?: string | undefined;
|
|
908
|
+
idle_expires_at?: string | undefined;
|
|
873
909
|
session_id?: string | undefined;
|
|
910
|
+
organization?: string | undefined;
|
|
874
911
|
auth_connection?: string | undefined;
|
|
875
912
|
auth_strategy?: {
|
|
876
913
|
strategy: string;
|
|
877
914
|
strategy_type: string;
|
|
878
915
|
} | undefined;
|
|
879
|
-
organization?: string | undefined;
|
|
880
|
-
revoked_at?: string | undefined;
|
|
881
|
-
idle_expires_at?: string | undefined;
|
|
882
916
|
last_exchanged_at?: string | undefined;
|
|
883
917
|
}[];
|
|
884
|
-
total?: number | undefined;
|
|
885
918
|
next?: string | undefined;
|
|
886
919
|
} | {
|
|
920
|
+
start: number;
|
|
921
|
+
limit: number;
|
|
922
|
+
length: number;
|
|
887
923
|
tokens: {
|
|
888
|
-
created_at: string;
|
|
889
924
|
id: string;
|
|
925
|
+
created_at: string;
|
|
926
|
+
user_id: string;
|
|
890
927
|
client_id: string;
|
|
891
928
|
rotating: boolean;
|
|
892
|
-
user_id: string;
|
|
893
929
|
device: {
|
|
894
930
|
initial_user_agent: string;
|
|
895
931
|
initial_ip: string;
|
|
@@ -903,18 +939,19 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
903
939
|
audience: string;
|
|
904
940
|
scopes: string;
|
|
905
941
|
}[];
|
|
942
|
+
revoked_at?: string | undefined;
|
|
906
943
|
expires_at?: string | undefined;
|
|
944
|
+
idle_expires_at?: string | undefined;
|
|
907
945
|
session_id?: string | undefined;
|
|
946
|
+
organization?: string | undefined;
|
|
908
947
|
auth_connection?: string | undefined;
|
|
909
948
|
auth_strategy?: {
|
|
910
949
|
strategy: string;
|
|
911
950
|
strategy_type: string;
|
|
912
951
|
} | undefined;
|
|
913
|
-
organization?: string | undefined;
|
|
914
|
-
revoked_at?: string | undefined;
|
|
915
|
-
idle_expires_at?: string | undefined;
|
|
916
952
|
last_exchanged_at?: string | undefined;
|
|
917
953
|
}[];
|
|
954
|
+
total?: number | undefined;
|
|
918
955
|
next?: string | undefined;
|
|
919
956
|
};
|
|
920
957
|
outputFormat: "json";
|
|
@@ -963,7 +1000,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
963
1000
|
};
|
|
964
1001
|
};
|
|
965
1002
|
output: {
|
|
966
|
-
type: "
|
|
1003
|
+
type: "fn" | "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" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "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";
|
|
967
1004
|
date: string;
|
|
968
1005
|
isMobile: boolean;
|
|
969
1006
|
log_id: string;
|
|
@@ -1002,7 +1039,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1002
1039
|
limit: number;
|
|
1003
1040
|
length: number;
|
|
1004
1041
|
logs: {
|
|
1005
|
-
type: "
|
|
1042
|
+
type: "fn" | "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" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "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";
|
|
1006
1043
|
date: string;
|
|
1007
1044
|
isMobile: boolean;
|
|
1008
1045
|
log_id: string;
|
|
@@ -1039,6 +1076,44 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1039
1076
|
}[];
|
|
1040
1077
|
total?: number | undefined;
|
|
1041
1078
|
next?: string | undefined;
|
|
1079
|
+
} | {
|
|
1080
|
+
logs: {
|
|
1081
|
+
type: "fn" | "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" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "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";
|
|
1082
|
+
date: string;
|
|
1083
|
+
isMobile: boolean;
|
|
1084
|
+
log_id: string;
|
|
1085
|
+
description?: string | undefined;
|
|
1086
|
+
ip?: string | undefined;
|
|
1087
|
+
user_agent?: string | undefined;
|
|
1088
|
+
details?: any;
|
|
1089
|
+
user_id?: string | undefined;
|
|
1090
|
+
user_name?: string | undefined;
|
|
1091
|
+
connection?: string | undefined;
|
|
1092
|
+
connection_id?: string | undefined;
|
|
1093
|
+
client_id?: string | undefined;
|
|
1094
|
+
client_name?: string | undefined;
|
|
1095
|
+
audience?: string | undefined;
|
|
1096
|
+
scope?: string | undefined;
|
|
1097
|
+
strategy?: string | undefined;
|
|
1098
|
+
strategy_type?: string | undefined;
|
|
1099
|
+
hostname?: string | undefined;
|
|
1100
|
+
auth0_client?: {
|
|
1101
|
+
name: string;
|
|
1102
|
+
version: string;
|
|
1103
|
+
env?: {
|
|
1104
|
+
node?: string | undefined;
|
|
1105
|
+
} | undefined;
|
|
1106
|
+
} | undefined;
|
|
1107
|
+
location_info?: {
|
|
1108
|
+
country_code: string;
|
|
1109
|
+
city_name: string;
|
|
1110
|
+
latitude: string;
|
|
1111
|
+
longitude: string;
|
|
1112
|
+
time_zone: string;
|
|
1113
|
+
continent_code: string;
|
|
1114
|
+
} | undefined;
|
|
1115
|
+
}[];
|
|
1116
|
+
next?: string | undefined;
|
|
1042
1117
|
};
|
|
1043
1118
|
outputFormat: "json";
|
|
1044
1119
|
status: 200;
|
|
@@ -1076,7 +1151,18 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1076
1151
|
description?: string | null | undefined;
|
|
1077
1152
|
created_at?: string | undefined;
|
|
1078
1153
|
organization_id?: string | undefined;
|
|
1079
|
-
}[]
|
|
1154
|
+
}[] | {
|
|
1155
|
+
permissions: {
|
|
1156
|
+
user_id: string;
|
|
1157
|
+
resource_server_identifier: string;
|
|
1158
|
+
resource_server_name: string;
|
|
1159
|
+
permission_name: string;
|
|
1160
|
+
description?: string | null | undefined;
|
|
1161
|
+
created_at?: string | undefined;
|
|
1162
|
+
organization_id?: string | undefined;
|
|
1163
|
+
}[];
|
|
1164
|
+
next?: string | undefined;
|
|
1165
|
+
};
|
|
1080
1166
|
outputFormat: "json";
|
|
1081
1167
|
status: 200;
|
|
1082
1168
|
};
|
|
@@ -1138,6 +1224,18 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1138
1224
|
param: {
|
|
1139
1225
|
user_id: string;
|
|
1140
1226
|
};
|
|
1227
|
+
} & {
|
|
1228
|
+
query: {
|
|
1229
|
+
page?: string | undefined;
|
|
1230
|
+
per_page?: string | undefined;
|
|
1231
|
+
include_totals?: string | undefined;
|
|
1232
|
+
from?: string | undefined;
|
|
1233
|
+
take?: string | undefined;
|
|
1234
|
+
sort?: string | undefined;
|
|
1235
|
+
q?: string | undefined;
|
|
1236
|
+
from_date?: unknown;
|
|
1237
|
+
to_date?: unknown;
|
|
1238
|
+
};
|
|
1141
1239
|
} & {
|
|
1142
1240
|
header: {
|
|
1143
1241
|
"tenant-id": string;
|
|
@@ -1153,7 +1251,20 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1153
1251
|
} | undefined;
|
|
1154
1252
|
created_at?: string | undefined;
|
|
1155
1253
|
updated_at?: string | undefined;
|
|
1156
|
-
}[]
|
|
1254
|
+
}[] | {
|
|
1255
|
+
roles: {
|
|
1256
|
+
name: string;
|
|
1257
|
+
id: string;
|
|
1258
|
+
description?: string | undefined;
|
|
1259
|
+
is_system?: boolean | undefined;
|
|
1260
|
+
metadata?: {
|
|
1261
|
+
[x: string]: any;
|
|
1262
|
+
} | undefined;
|
|
1263
|
+
created_at?: string | undefined;
|
|
1264
|
+
updated_at?: string | undefined;
|
|
1265
|
+
}[];
|
|
1266
|
+
next?: string | undefined;
|
|
1267
|
+
};
|
|
1157
1268
|
outputFormat: "json";
|
|
1158
1269
|
status: 200;
|
|
1159
1270
|
};
|
|
@@ -1289,6 +1400,38 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1289
1400
|
}[];
|
|
1290
1401
|
total?: number | undefined;
|
|
1291
1402
|
next?: string | undefined;
|
|
1403
|
+
} | {
|
|
1404
|
+
organizations: {
|
|
1405
|
+
created_at: string;
|
|
1406
|
+
updated_at: string;
|
|
1407
|
+
id: string;
|
|
1408
|
+
name: string;
|
|
1409
|
+
display_name?: string | undefined;
|
|
1410
|
+
branding?: {
|
|
1411
|
+
logo_url?: string | undefined;
|
|
1412
|
+
colors?: {
|
|
1413
|
+
primary?: string | undefined;
|
|
1414
|
+
page_background?: string | undefined;
|
|
1415
|
+
} | undefined;
|
|
1416
|
+
} | undefined;
|
|
1417
|
+
metadata?: {
|
|
1418
|
+
[x: string]: any;
|
|
1419
|
+
} | undefined;
|
|
1420
|
+
enabled_connections?: {
|
|
1421
|
+
connection_id: string;
|
|
1422
|
+
assign_membership_on_login: boolean;
|
|
1423
|
+
show_as_button: boolean;
|
|
1424
|
+
is_signup_enabled: boolean;
|
|
1425
|
+
}[] | undefined;
|
|
1426
|
+
token_quota?: {
|
|
1427
|
+
client_credentials?: {
|
|
1428
|
+
enforce: boolean;
|
|
1429
|
+
per_day: number;
|
|
1430
|
+
per_hour: number;
|
|
1431
|
+
} | undefined;
|
|
1432
|
+
} | undefined;
|
|
1433
|
+
}[];
|
|
1434
|
+
next?: string | undefined;
|
|
1292
1435
|
};
|
|
1293
1436
|
outputFormat: "json";
|
|
1294
1437
|
status: 200;
|
|
@@ -61,4 +61,102 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
61
61
|
status: 400;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
} & {
|
|
65
|
+
"/:client_id/logout": {
|
|
66
|
+
$get: {
|
|
67
|
+
input: {
|
|
68
|
+
param: {
|
|
69
|
+
client_id: string;
|
|
70
|
+
};
|
|
71
|
+
} & {
|
|
72
|
+
query: {
|
|
73
|
+
SAMLRequest: string;
|
|
74
|
+
RelayState?: string | undefined;
|
|
75
|
+
SigAlg?: string | undefined;
|
|
76
|
+
Signature?: string | undefined;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
output: {};
|
|
80
|
+
outputFormat: string;
|
|
81
|
+
status: 200;
|
|
82
|
+
} | {
|
|
83
|
+
input: {
|
|
84
|
+
param: {
|
|
85
|
+
client_id: string;
|
|
86
|
+
};
|
|
87
|
+
} & {
|
|
88
|
+
query: {
|
|
89
|
+
SAMLRequest: string;
|
|
90
|
+
RelayState?: string | undefined;
|
|
91
|
+
SigAlg?: string | undefined;
|
|
92
|
+
Signature?: string | undefined;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
output: {};
|
|
96
|
+
outputFormat: string;
|
|
97
|
+
status: 302;
|
|
98
|
+
} | {
|
|
99
|
+
input: {
|
|
100
|
+
param: {
|
|
101
|
+
client_id: string;
|
|
102
|
+
};
|
|
103
|
+
} & {
|
|
104
|
+
query: {
|
|
105
|
+
SAMLRequest: string;
|
|
106
|
+
RelayState?: string | undefined;
|
|
107
|
+
SigAlg?: string | undefined;
|
|
108
|
+
Signature?: string | undefined;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
output: {};
|
|
112
|
+
outputFormat: string;
|
|
113
|
+
status: 400;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
} & {
|
|
117
|
+
"/:client_id/logout": {
|
|
118
|
+
$post: {
|
|
119
|
+
input: {
|
|
120
|
+
param: {
|
|
121
|
+
client_id: string;
|
|
122
|
+
};
|
|
123
|
+
} & {
|
|
124
|
+
form: {
|
|
125
|
+
SAMLRequest: string;
|
|
126
|
+
RelayState?: string | undefined;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
output: {};
|
|
130
|
+
outputFormat: string;
|
|
131
|
+
status: 200;
|
|
132
|
+
} | {
|
|
133
|
+
input: {
|
|
134
|
+
param: {
|
|
135
|
+
client_id: string;
|
|
136
|
+
};
|
|
137
|
+
} & {
|
|
138
|
+
form: {
|
|
139
|
+
SAMLRequest: string;
|
|
140
|
+
RelayState?: string | undefined;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
output: {};
|
|
144
|
+
outputFormat: string;
|
|
145
|
+
status: 302;
|
|
146
|
+
} | {
|
|
147
|
+
input: {
|
|
148
|
+
param: {
|
|
149
|
+
client_id: string;
|
|
150
|
+
};
|
|
151
|
+
} & {
|
|
152
|
+
form: {
|
|
153
|
+
SAMLRequest: string;
|
|
154
|
+
RelayState?: string | undefined;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
output: {};
|
|
158
|
+
outputFormat: string;
|
|
159
|
+
status: 400;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
64
162
|
}, "/">, "/">;
|
|
@@ -61,4 +61,102 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
61
61
|
status: 400;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
} & {
|
|
65
|
+
"/:client_id/logout": {
|
|
66
|
+
$get: {
|
|
67
|
+
input: {
|
|
68
|
+
param: {
|
|
69
|
+
client_id: string;
|
|
70
|
+
};
|
|
71
|
+
} & {
|
|
72
|
+
query: {
|
|
73
|
+
SAMLRequest: string;
|
|
74
|
+
RelayState?: string | undefined;
|
|
75
|
+
SigAlg?: string | undefined;
|
|
76
|
+
Signature?: string | undefined;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
output: {};
|
|
80
|
+
outputFormat: string;
|
|
81
|
+
status: 200;
|
|
82
|
+
} | {
|
|
83
|
+
input: {
|
|
84
|
+
param: {
|
|
85
|
+
client_id: string;
|
|
86
|
+
};
|
|
87
|
+
} & {
|
|
88
|
+
query: {
|
|
89
|
+
SAMLRequest: string;
|
|
90
|
+
RelayState?: string | undefined;
|
|
91
|
+
SigAlg?: string | undefined;
|
|
92
|
+
Signature?: string | undefined;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
output: {};
|
|
96
|
+
outputFormat: string;
|
|
97
|
+
status: 302;
|
|
98
|
+
} | {
|
|
99
|
+
input: {
|
|
100
|
+
param: {
|
|
101
|
+
client_id: string;
|
|
102
|
+
};
|
|
103
|
+
} & {
|
|
104
|
+
query: {
|
|
105
|
+
SAMLRequest: string;
|
|
106
|
+
RelayState?: string | undefined;
|
|
107
|
+
SigAlg?: string | undefined;
|
|
108
|
+
Signature?: string | undefined;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
output: {};
|
|
112
|
+
outputFormat: string;
|
|
113
|
+
status: 400;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
} & {
|
|
117
|
+
"/:client_id/logout": {
|
|
118
|
+
$post: {
|
|
119
|
+
input: {
|
|
120
|
+
param: {
|
|
121
|
+
client_id: string;
|
|
122
|
+
};
|
|
123
|
+
} & {
|
|
124
|
+
form: {
|
|
125
|
+
SAMLRequest: string;
|
|
126
|
+
RelayState?: string | undefined;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
output: {};
|
|
130
|
+
outputFormat: string;
|
|
131
|
+
status: 200;
|
|
132
|
+
} | {
|
|
133
|
+
input: {
|
|
134
|
+
param: {
|
|
135
|
+
client_id: string;
|
|
136
|
+
};
|
|
137
|
+
} & {
|
|
138
|
+
form: {
|
|
139
|
+
SAMLRequest: string;
|
|
140
|
+
RelayState?: string | undefined;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
output: {};
|
|
144
|
+
outputFormat: string;
|
|
145
|
+
status: 302;
|
|
146
|
+
} | {
|
|
147
|
+
input: {
|
|
148
|
+
param: {
|
|
149
|
+
client_id: string;
|
|
150
|
+
};
|
|
151
|
+
} & {
|
|
152
|
+
form: {
|
|
153
|
+
SAMLRequest: string;
|
|
154
|
+
RelayState?: string | undefined;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
output: {};
|
|
158
|
+
outputFormat: string;
|
|
159
|
+
status: 400;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
64
162
|
}, "/">;
|
|
@@ -224,7 +224,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
224
224
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
225
225
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
226
226
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
227
|
-
provisioning_state?: "pending" | "
|
|
227
|
+
provisioning_state?: "pending" | "failed" | "ready" | undefined;
|
|
228
228
|
provisioning_error?: string | undefined;
|
|
229
229
|
provisioning_state_changed_at?: string | undefined;
|
|
230
230
|
bundle_configuration?: string | undefined;
|
|
@@ -272,7 +272,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
272
272
|
} | undefined;
|
|
273
273
|
} | undefined;
|
|
274
274
|
mfa?: {
|
|
275
|
-
policy?: "
|
|
275
|
+
policy?: "always" | "never" | undefined;
|
|
276
276
|
factors?: {
|
|
277
277
|
sms: boolean;
|
|
278
278
|
otp: boolean;
|
|
@@ -371,7 +371,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
371
371
|
} | undefined;
|
|
372
372
|
unique?: boolean | undefined;
|
|
373
373
|
profile_required?: boolean | undefined;
|
|
374
|
-
verification_method?: "
|
|
374
|
+
verification_method?: "link" | "code" | undefined;
|
|
375
375
|
} | undefined;
|
|
376
376
|
username?: {
|
|
377
377
|
identifier?: {
|
|
@@ -599,7 +599,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
599
599
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
600
600
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
601
601
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
602
|
-
provisioning_state?: "pending" | "
|
|
602
|
+
provisioning_state?: "pending" | "failed" | "ready" | undefined;
|
|
603
603
|
provisioning_error?: string | undefined;
|
|
604
604
|
provisioning_state_changed_at?: string | undefined;
|
|
605
605
|
bundle_configuration?: string | undefined;
|
|
@@ -647,7 +647,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
647
647
|
} | undefined;
|
|
648
648
|
} | undefined;
|
|
649
649
|
mfa?: {
|
|
650
|
-
policy?: "
|
|
650
|
+
policy?: "always" | "never" | undefined;
|
|
651
651
|
factors?: {
|
|
652
652
|
sms: boolean;
|
|
653
653
|
otp: boolean;
|
|
@@ -960,7 +960,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
960
960
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
961
961
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
962
962
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
963
|
-
provisioning_state?: "pending" | "
|
|
963
|
+
provisioning_state?: "pending" | "failed" | "ready" | undefined;
|
|
964
964
|
provisioning_error?: string | undefined;
|
|
965
965
|
provisioning_state_changed_at?: string | undefined;
|
|
966
966
|
bundle_configuration?: string | undefined;
|
|
@@ -1008,7 +1008,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1008
1008
|
} | undefined;
|
|
1009
1009
|
} | undefined;
|
|
1010
1010
|
mfa?: {
|
|
1011
|
-
policy?: "
|
|
1011
|
+
policy?: "always" | "never" | undefined;
|
|
1012
1012
|
factors?: {
|
|
1013
1013
|
sms: boolean;
|
|
1014
1014
|
otp: boolean;
|
|
@@ -1107,7 +1107,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1107
1107
|
} | undefined;
|
|
1108
1108
|
unique?: boolean | undefined;
|
|
1109
1109
|
profile_required?: boolean | undefined;
|
|
1110
|
-
verification_method?: "
|
|
1110
|
+
verification_method?: "link" | "code" | undefined;
|
|
1111
1111
|
} | undefined;
|
|
1112
1112
|
username?: {
|
|
1113
1113
|
identifier?: {
|
|
@@ -1404,7 +1404,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1404
1404
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
1405
1405
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
1406
1406
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
1407
|
-
provisioning_state?: "pending" | "
|
|
1407
|
+
provisioning_state?: "pending" | "failed" | "ready" | undefined;
|
|
1408
1408
|
provisioning_error?: string | undefined;
|
|
1409
1409
|
provisioning_state_changed_at?: string | undefined;
|
|
1410
1410
|
bundle_configuration?: string | undefined;
|
|
@@ -1452,7 +1452,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1452
1452
|
} | undefined;
|
|
1453
1453
|
} | undefined;
|
|
1454
1454
|
mfa?: {
|
|
1455
|
-
policy?: "
|
|
1455
|
+
policy?: "always" | "never" | undefined;
|
|
1456
1456
|
factors?: {
|
|
1457
1457
|
sms: boolean;
|
|
1458
1458
|
otp: boolean;
|